I am trying to add a reference to the LUFA library in my project
and I cannot make it work.
Although I see it in the includes in the eclipses project directory, the compiler
"Building file: ../Descriptors.c
Invoking: AVR Compiler
avr-gcc -Wall -g2 -gstabs -O0 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -mmcu=atmega16 -DF_CPU=1000000UL -MMD -MP -MF"Descriptors.d" -MT"Descriptors.d" -c -o"Descriptors.o" "../Descriptors.c"
In file included from ../Descriptors.c:38:
../Descriptors.h:42:36: warning: LUFA/Drivers/USB/USB.h: No such file or directory"
Astoundingly, making a clean, shows another path:
rm -f ./Descriptors.o ./GenericHID.o ./LUFA/Drivers/USB/LowLevel/DevChapter9.o "
[Regard the dot and ther backslash in the last line!!]
I am attaching an image, how my includes looks like.
I tried every permutation:
- copying the LUFA lib into a subdir
- put it onto the same disk
- everything else ;-)
Even it is not possible to get rid of the references, I had to
delete an re-create the project.
I tried this with adding "includes" and "source location"
in different manners [not really clear, how to make them :-( ].
But nothing helps.
I need help!
I am using the latest updates to eclipse and the plugin.
I am using "Windows Server 2008 R2" (this is always x64), en, all patches.
Just mentioning:All my other [small] projects - using avr-include "standards"
are working well!
Thanks a lot!