error message multi...
 
Notifications
Clear all

error message multiple libraries found esp32 cam

45 Posts
5 Users
16 Likes
7,032 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@davee AI is gone for good from the esp32-cam-webserver. The issue is officially closed. I have my suspicions why but no proof so can't say.

Yes, they have a new chip family, the S3 and C3 and I think a few others. I don't know, but I will wager a medium amount the previous generation either already are out of production or very soon will be. It's normal in the electronics, computer hardware and software industries, science finds new ways to make junctions smaller so they do. 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
DaveE reacted
ReplyQuote
(@davee)
Member
Joined: 3 years ago
Posts: 1695
 

Hi Ron @zander,

  Interesting findings ... out of curiosity, I am wondering which ways this story is going.

I am not clear about the details ... the ESP32 CAM obviously used a large number of EP32s I/Os to connect to the camera sensor ... but the video interface chosen appears to be limited in terms of available sensors, compared to that used by R-Pi and others. Have you noticed any options for connecting the newer chips to image sensors? e.g. Could the cam webserver be 'recreated', possibly using different sensors, using the S3 (or other) chips?

Reading the quote you showed above, it sounds like the S3 is 'better suited' to the AI library, and that AI library is only 'removed' from the older ESP32, and S2, leaving the S3 as the "arm-twistied pragmatic" way forward?

The S3 variant is less commonly available in 'dev board' form than the 'original' ESP32, but the prices of the couple of examples I spotted on Aliexpress were roughly the same, so I also suspect the 'original' ESP32 is soon to be, or already, out of production. The 'bare' S3 modules seem to be more readily available, and relatively cheap, so I would expect more dev boards to appear, assuming psrams, etc needed are available.

Best wishes, Dave

(And apologies to all, if I have encouraged this thread to deviate too far from its original question.)


   
frogandtoad reacted
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander

Posted by: @zander

@davee @ev-pat IIRC, there is a file where you can specify defines to alter compiler behaviour I think called platform.local.txt.

Just a clarifying (FYI point), these "defines" you speak of are technically referred to as compiler "switches" or compiler "flags" or compiler "options" used for the command line call to the compiler.

When I see or hear someone talking about "define(s)", then I generally think of the following:

# include <someHeader>

# define someNumber 42

# ifndef
# define
 // Some code...
# endif

...which are in turn, all technically referred to as "pre-processor calls including macros"

Cheers


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@davee

Posted by: @davee

And your 'sleuthing' of what is happening on the the AI libraries would clearly be worthy of a 'Sherlock Holmes' award

Or, famous inspector "Alexander " Clouseau 😀


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander

Posted by: @zander

The detail is the IDE is looking for python but it is now called python3. Any solution like an alias, path change, or file alias will fix it.

The call to "python3" is not new and been around (reccomended change) for a while... I wouldn't blame any Arduino library for this issue, as it's more an issue with the O/S python updates.  So yes, creating an alias on ones profile/bash startup script to point to "python3" on a "python" call usually restores any of these kind of issues.

Cheers


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@frogandtoad Yes, but it does get confusing when the CLI syntax is -Dxxxx isn't the D Define?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@frogandtoad That was an ancestor of mine, Inspector Alexander of the Yard.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
frogandtoad reacted
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@frogandtoad I thought I tried that and a few of the other workarounds and the only one that worked was a new one for me using the 'open xxx/yyy' command. When I researched it I did see a lot of gnashing of teeth and 'I told you so' and 'why is this still unresolved' comments. I didn't know th history but quickly saw there was some and how somebody really messed up using numbers in an exec name!

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@davee Sorry Dave, I have moved on. In this case I was very pragmatic, I got it working and the details were of only passing interest.

If I am reading the notes properly, there is a new branch of the camera code that may resolve this issue better. TBH, I am slightly aware of how libraries have versions but this is my first experience of a sample having versions and quite frankly I have no clue how to get it, I just know and use the one in my Files menu. Sorry, but that's all I know.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
DaveE reacted
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander

Posted by: @zander

@frogandtoad Yes, but it does get confusing when the CLI syntax is -Dxxxx isn't the D Define?

I'm a little confused now... which CLI -D are you describing?


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander

Posted by: @zander

@frogandtoad I thought I tried that and a few of the other workarounds and the only one that worked was a new one for me using the 'open xxx/yyy' command. When I researched it I did see a lot of gnashing of teeth and 'I told you so' and 'why is this still unresolved' comments. I didn't know th history but quickly saw there was some and how somebody really messed up using numbers in an exec name!

Version 2xxx is considered very old these days, and most app updates warn of this, as does windows 7, only supports early 3.xxx, so now I gotta run my 3D Blender on something later, crap! 🙁


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@frogandtoad Command Line Interface and -DMYSWITCH 1 (not sure about syntax) I can't recall where I saw this recently, but that is what I recall using decades ago and I am fairly sure it still exists watching the IDE compile output scroll past.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 
Posted by: @frogandtoad

@zander

Posted by: @zander

@frogandtoad Yes, but it does get confusing when the CLI syntax is -Dxxxx isn't the D Define?

I'm a little confused now... which CLI -D are you describing?

@frogandtoad Here is a sample of what I see and caused me to make the remark re CLI -D usage

Screen Shot 2022 05 18 at 06.43.41

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
frogandtoad
(@frogandtoad)
Member
Joined: 5 years ago
Posts: 1458
 

@zander

Posted by: @zander

@frogandtoad Command Line Interface and -DMYSWITCH 1 (not sure about syntax) I can't recall where I saw this recently, but that is what I recall using decades ago and I am fairly sure it still exists watching the IDE compile output scroll past.

I don't see that as any option available under g++, nor python executable interfaces.

I just did a google search, and the only thing I found that switch/option relates to is Ghostscript.

Do you have any more information relating to it?


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 7010
 

@frogandtoad I just posted a screen shot. I must admit I was assuming that from the old days and having seen what is in the screen shot. I wasn't trying to open up another rabbit hole, I am trying to clear my mail as I am on the w3ay to the Dentist to get put under so will be AFK most of the day.

Screen Shot 2022 05 18 at 06.43.41

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Page 2 / 3