Page 1 of 1

Type 'int16_t' could not be resolved

Posted: Tue Jun 18, 2013 12:58 pm
by mrb0y
I know it's just a nuisance and everything builds ok but I get these "Type 'intXX_t' could not be resolved" messages through out the firmware project in the VM 3.0 Eclipse IDE. Is there a way to "fix" this? I think may have something to do with indexing? Is anyone else seeing this? Thanks!

Re: Type 'int16_t' could not be resolved

Posted: Tue Jun 18, 2013 1:51 pm
by tobias
In the project properties settings you can go to "C/C++ General"->"Paths and Symbols" under includes and "C Source File" add the compiler clib include directory. I don't have access to VM now so I don't know where that directoy is though. Someone?

Re: Type 'int16_t' could not be resolved

Posted: Mon Jul 01, 2013 2:14 pm
by marcus
Add the following folders by right-clicking on the crazyflie-firmware project and going to C/C++ General -> Paths and symbols among the includes:

Code: Select all

/home/bitcraze/bin/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/4.7.3/include
/home/bitcraze/bin/gcc-arm-none-eabi/arm-none-eabi/include
This has been fixed in the VM and will be included in version 0.4.