[Paparazzi-devel] V 4.2 + Lisa M 2.0 - compilation error
From:
Michal Podhradsky
Subject:
[Paparazzi-devel] V 4.2 + Lisa M 2.0 - compilation error
Date:
Wed, 30 Jan 2013 16:49:54 -0700
Hi guys,
I wanted to try the new stable (4.2) version, but the following happened: 1) I cloned version 4.2 to my computer, compiled it and run the paparazzi center 2) I chose A/C Quad_LisaM_2 and Built it without any modification (just default)
3) I got the following error: ... GCC version: arm-none-eabi-gcc (Linaro GCC 4.6-2011.09-1) 4.6.2 20110908 (prerelease) *** Using multilib *** -------------------------------------- CC /home/vanilla_4.2/paparazzi/var/Quad_LisaM_2/ap/mcu.o
CC /home/vanilla_4.2/paparazzi/var/Quad_LisaM_2/ap/firmwares/rotorcraft/main.o firmwares/rotorcraft/main.c:43:9: note: #pragma message: CAUTION! RadioControl roll and yaw channel inputs have been reversed to follow aerospace sign conventions.
You will have to change your radio control xml file to get a positive value when pushing roll stick right and a positive value when pushing yaw stick right! CC /home/vanilla_4.2/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_arch.o arch/stm32/mcu_arch.c:36:39: fatal error: libopencm3/stm32/f1/rcc.h: No such file or directory compilation terminated. make[1]: *** [/home/vanilla_4.2/paparazzi/var/Quad_LisaM_2/ap/arch/stm32/mcu_arch.o] Error 1
make[1]: Leaving directory `/home/vanilla_4.2/paparazzi/sw/airborne' make: *** [ap.compile] Error 2 make: Leaving directory `/home/vanilla_4.2/paparazzi' DONE (exec make -C /home/vanilla_4.2/paparazzi -f Makefile.ac AIRCRAFT=Quad_LisaM_2 ap.compile 2>&1)
Obviously the version 4.2 is referring to some LIBOPENCM3 files (as is specified in sw/airborne/arch/stm32/...), but this library is not included in the release. I tried to use the library I use with the master version (in folder ext/) and copied it to sw folder, root folder and sw/airborne folder, but neither of that helped.
Also, I have libopencm3 files in /usr/local/arm-none-eabi/include/libopencm3, but it doesn't help either.