I;m using the "softD1307" code in a project. If i use the example code it properly finds the library includes for "SoftI2cMaster". However when I move the code over to my project, the compiler complains that it cant; find SoftIc2Master.h TWIMaster.h.

If i copy the library code into my sketch directory all works fine. Normaly this would indicate (in a Makefile world) that I don't have the search paths set up, but I cant figure out how to force the IDE to do this.

You need to create a folder called libraries in your Arduino sketch directory and in there can be placed user library folders. Here is an example of where my user library folders are held so that the Arduino IDE can find them.

Actually, in the C language, " means search local directories first, then the include path. <> (chickenlips) means to search only the include path. I have the includes correct. if this was a makefile i'd just add the -I <pathname> to the CC invocation.

Version 18 of the IDE, both Windows and MAC OSX. The libraries do not show up in the list, which is strange because for all the other libraries which are working, i just put the directories into the libraries directory.

Note, the softD1307 sample sketch finds the libraries correctly, but my sketch does not. Again.. quite weird. unfortunately I'm traveling and don't have the code with me at this time.

The simplest solution, then, is to note one of the library names that Sketch + Import Library... shows, and search on your computer for a folder with that name. Put the folders containing that libraries that you can't import into the folder that Import Library... can access.

As i have made the softD1307 a library a set of objects and methods, I have named my file softD1307.cpp. With this, the paths are not found for the libraries. When I change the name to softD1307.pde i no longer get include errors. So something is strange in the IDE when the file is a cpp and how paths are searched.