chipKIT® Development Platform

Inspired by Arduino™

Libraries not recognised (solved)

Created Thu, 25 Oct 2012 20:25:44 +0000 by ricmorte


ricmorte

Thu, 25 Oct 2012 20:25:44 +0000

Hi,

I have problems with the mpide recognising the location of library files. I have tried:

...\mpide-0023-windows-20120903\libraries ...\mpide-0023-windows-20120903\hardware\pic32\libraries

For the latter I followed the advice here: http://www.chipkit.org/forum/viewtopic.php?f=7&t=1603

where is suggests:

Place libraries in the hardware/pic32/libraries folder so they get picked up by the pic32 compiler

I have the Max32, have tried saving and re-loading the sketch. The only thing that has worked is to dump the library files (~.h and ~.cpp files) in the same folder as the sketch - but then those files are not available to any other sketch -whicj kinda defeats the objective.

Is there a proper location for the library files or some other configuration I haven't yet spotted?

Thanks, Ric

Postscript:

The problem was that I still had an open blank sketch. Once that was closed off and the original sketch re-opened it compiled as expected. For the record, the location used successfully was:

...\mpide-0023-windows-20120903\hardware\pic32\libraries