paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] V 4.2 + Lisa M 2.0 - compilation error


From: Felix Ruess
Subject: Re: [Paparazzi-devel] V 4.2 + Lisa M 2.0 - compilation error
Date: Thu, 31 Jan 2013 00:59:41 +0100

Hi Michal,

the stable releses v4.0 and v4.2 still use libopencm3 (actually was still libopenstm32 at that point) as packaged with the paparazzi-arm-multilib package.
Only in master we now include libopencm3 via sw/ext directly...

Also make sure that you don't have any other toolchain versions in your PATH (e.g. gcc-arm-embedded, which works nicely for master btw...)
or in any of your standard system library paths like you described above...
Otherwise the version in your path will be taken (takes precedence).

Also if you have PAPARAZZI_SRC|HOME set in your environment, make sure that it points to the directory you are currently using or remove it.

Cheers, Felix


On Thu, Jan 31, 2013 at 12:49 AM, Michal Podhradsky <address@hidden> wrote:
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.

Do you know what I am doing wrong?

Thanks for help.
Michal

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]