chipKIT® Development Platform

Inspired by Arduino™

compiling problem

Created Sat, 15 Sep 2012 01:26:34 +0000 by dedshaw1612


dedshaw1612

Sat, 15 Sep 2012 01:26:34 +0000

I am trying to compile something for a quadcopter, and I am using some code from a friend who downloaded this awhile ago. I forget the source, but the name of the library is PID_v1. It is in the libraries folder but for some reason the compiler does not recognize it. Even #include <PID_v1.h> doesn't appear orange in the code, and when I compile I get this error:

PID_Basic.cpp:6:20: fatal error: PID_v1.h: No such file or directory compilation terminated.

Any suggestions? Thanks!!


dedshaw1612

Sat, 15 Sep 2012 18:56:37 +0000

Also i read somewhere that under Preferences, and sketchbook location, remember that location and store new libraries in there, but that doesn't work either. I still haven't come across a solution. If anyone has any suggestions it would be greatly appreciated!


majenko

Sat, 15 Sep 2012 19:01:11 +0000

Have you restarted the IDE since adding the library?

Have you tried putting the library in hardware/pic32/libraries ?


dedshaw1612

Sat, 15 Sep 2012 19:52:56 +0000

just tried the pic32 libraries and it finally worked, thanks!