Type 'int16_t' could not be resolved

Firmware/software/electronics/mechanics
Post Reply
mrb0y
Beginner
Posts: 25
Joined: Thu Mar 07, 2013 1:18 am

Type 'int16_t' could not be resolved

Post 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!
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Type 'int16_t' could not be resolved

Post 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?
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: Type 'int16_t' could not be resolved

Post 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.
Post Reply