Page 1 of 1

lighthouse.c compiling errors

Posted: Thu Mar 05, 2020 1:13 pm
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"

Re: lighthouse.c compiling errors

Posted: Fri Mar 06, 2020 8:58 am
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.

Re: lighthouse.c compiling errors

Posted: Fri Mar 06, 2020 2:04 pm
by Yleng002
Thank you very much for the instructions. I work with Bitcraze VM and Eclipse environment.