User forums > Help
include files not found!
jmv:
i am sorry to post for help on this subject but i am lost!
i have setup the path for the include files in:
- project->build options->search directories->compiler for the project, debug and release
- settings->compiler and debugger->search directories->compiler
- i have check that my incude files are world readable
however #include <avr\io.h> and likes gives me an error kind file not found
i don't see what i could do to solve the problem
please, help me
killerbot:
could you tell :
- the full path of that "io.h"
- the path of the search directory you have added
- where you cbp file is of the project you are working on
jmv:
- the full path of that "io.h"
- the path of the search directory you have added
- where you cbp file is of the project you are working on
yes, indeed:
- /opt/cdk4avr/avr/include/avr/io.h
- i have tried these without success: /opt/cdk4avr/avr and /opt/cdk4avr/avr/include
- the cbp of my project is: /home/jmv/projets/atmega/myavr-lcd/myavr-lcd.cbp
thank you very much for your help and your quick answer
killerbot:
/opt/cdk4avr/avr/include is what you need.
But try to change the include in your code to :
#include <avr/io.h>
Note the forward slash.
jmv:
<avr/io.h> was alwaysdeclared this way
i have forgotten to say that i work not with windows but with linux, mandriva 2010
thank you for your help
i am fully puzzeld with this issue :(
Navigation
[0] Message Index
[#] Next page
Go to full version