lighthouse.c compiling errors

Discussions related to positioning systems where the position is calculated outside the Crazyflie and sent to the device using radio, including MoCap systems
Post Reply
Yleng002
Beginner
Posts: 2
Joined: Thu Jan 10, 2019 10:44 am

lighthouse.c compiling errors

Post by Yleng002 »

I had earlier version of crazyflie-firmware with lighthouse.c working. However, after I updated all projects, I am having 19 errors in lighthouse.c during "Build"
8 errors related to "Symbol 'false' could not be resolved"
1 error related to "FREERTOS_MIN_STACK_SIZE"
4 errors related to "SYMBOL 'NULL' could not be resolved"
4 errors related to "Symbol 'true' could not be resolved"
2 errors related to "Type 'size_t' could not be resolved"
kristoffer
Bitcraze
Posts: 322
Joined: Tue Jun 30, 2015 7:47 am

Re: lighthouse.c compiling errors

Post by kristoffer »

The code base is fine and compiling (https://travis-ci.org/bitcraze/crazyflie-firmware) so this must be related to your environment.

1. Make sure the code base is up to date and clean

Code: Select all

git pull
git status
make clean
make
If you want to build with lighthouse support, add

Code: Select all

CFLAGS += -DDISABLE_LIGHTHOUSE_DRIVER=0
to your tools/make/config.mk file

Which version of the compiler are you using? We are using gcc-arm-none-eabi-8-2019-q3 on the build server.
Yleng002
Beginner
Posts: 2
Joined: Thu Jan 10, 2019 10:44 am

Re: lighthouse.c compiling errors

Post by Yleng002 »

Thank you very much for the instructions. I work with Bitcraze VM and Eclipse environment.
Post Reply