All_in_one_Starter_Kit_for_Pico2 by Elecrow

Have this kit All_in_one_Starter_Kit_for_Pico2 .The information provided is limited. They have provided two directories one of courseware and one containing libraries. In trying to compile a sketch it fails because it cannot find header files in the libraries directory. I have set the sketchbook location to the location of the courseware and placed the libraries folder in the courseware folder.

How does one get the Arduino IDE to search the libraries directory for necessary files, such as header files.

As there are a number of dependencies I don't want to physically copy them up to the courseware folder if that can be avoided.

Any advice greatly appreciated

There are basically 2 ways to "point" the location of libraries to the compiler:

Either < filename.h> or " filename.h" .

In C and C++, the syntax <filename.h> and "filename.h" are used to include header files, but they have slightly different meanings. <filename.h> is generally used for standard library headers or library headers found in a system-specific include path, while "filename.h" is used for header files in the local project or current directory.

Show us the contents (filenames) of the so-called library files.

Slight correction I think,
<> is system
"" is local followed by system. Used to override a system declare

1 Like

Hi @poiterm.

Arduino IDE searches for libraries that are installed under the libraries subfolder of the sketchbook folder, so what you have done should result in it finding them. The fact that the results you are observing does not match with what we would expect from your description of the system indicates that we probably don't have a correct understanding of your system. So you will need to provide more information:

Did you download these files from the Internet? If so, please provide a link to the web page where you downloaded them from in a reply here on the forum topic. That will allow the forum helpers to install them on our computers and thus be able to replicate the environment on your system.

Is it the Elecrow Kit?

Link to Elecrow All In One Starter Kit for Pico2