Understanding how the linker and compiler work
hi,
i'm trying break working program modules readability , ease of modification. the sketch references <liquidcrystal.h>, 1 of built in libraries, , successfully. however, when break program c files, error 27: error: liquidcrystal.h: no such file or directory.
so clear:
situation 1 (working): in 1 sketch.
situation 2 (not working): 3 files, in same folder
1. main.pde (with setup() , loop() functions)
2. header file #include <liquidcrystal.h> not working
3. .c file
i'm on mac, , i've tried taking out library , putting in user developed libraries folder no success. where compiler looking liquidcrystal.h file?
thanks
i'm trying break working program modules readability , ease of modification. the sketch references <liquidcrystal.h>, 1 of built in libraries, , successfully. however, when break program c files, error 27: error: liquidcrystal.h: no such file or directory.
so clear:
situation 1 (working): in 1 sketch.
situation 2 (not working): 3 files, in same folder
1. main.pde (with setup() , loop() functions)
2. header file #include <liquidcrystal.h> not working
3. .c file
i'm on mac, , i've tried taking out library , putting in user developed libraries folder no success. where compiler looking liquidcrystal.h file?
thanks
put this...
#include <liquidcrystal.h>
...at top of pde file.
Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Understanding how the linker and compiler work
arduino
Comments
Post a Comment