Notifications
Clear all

[Solved] How do I find which library provides a certain header file?

6 Posts
2 Users
0 Likes
744 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6895
Topic starter  

I either forgot or never knew how to do this. I am compiling a sketch that was working and now I fail the compile on fd_forward.h missing. It might have something to do with camera facial recognition. This is the sample pgm with an esp32-cam. Is there some kind of special search or just insider knowledge?

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.


   
Quote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2507
 

@zander

You could try searching for the file by name using the find in Finder (under File > Find) and setting the file name containing (or is). You could search files that include the text "fd_forward.h" within files if you use (or have) BBEdit (even the free version).

Anything seems possible when you don't know what you're talking about.


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

@will Started with finder, didn't know about BBEdit which I have but only got it recently but did get a free finder and it's nowhere except an include in the sample. Now I am against my better judgement upgrading all libs and boards. The sample is from RandomNerds so it should be good. Their advice was poor, just comment it out, that just leads to more errors which I expected. Very disappointing advice there.

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: 6895
Topic starter  

Found the solution. I have to revert the board manager to 1.0.6 because support was dropped (not sure why or if coming back) for facial recognition.

So Boards manager, search on esp32, select version 1.0.6.

Remember to set the version back to latest after.

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: 6895
Topic starter  

Now that brings back the python error. It can be fixed, just have to figure out the best way.

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: 6895
Topic starter  

Original problem solved, now it's a new problem so I started a new thread.

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