All,
In anticipation of receiving my brandy new, shiny, CC board, I downloaded the linux code and tried to compile it using the directions here: http://wiki.openpilo...lding on Linux. It failed to compile due to an "unknown option '-r'". After reading a couple of other threads, I ran make qt_sdk_install. This, of course, installed the required libraries and the compile completed successfully.
I would suggest adding this instruction as #7 on the above mentioned page.
I would also suggest adding the location of the derived objects (in the case of gcs: OpenPilot/build/ground/openpilotgcs/bin/openpilotgcs.bin), to make it easier to start for the first time.
As I spend more time with CC, I'll be able to contribute some more.
Thanks,
Bruce.
First compile on Linux
Started by bascroft, Dec 22 2011 03:08 AM
1 reply to this topic
#1
Posted 22 December 2011 - 03:08 AM
#2
Posted 08 January 2012 - 05:27 PM
I set up virtualbox with ubuntu 11.04 to test some gcs stuff. I got stuck with this error while compiling gcs from next branch. used wiki guide to set system up. Any idea?
make[5]: Entering directory `/home/sambas/OpenPilot/build/ground/openpilotgcs/src/libs/libqxt/src/core' g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DQXTCORE_LIBRARY -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_DATA_BASENAME=\"share/openpilotgcs\" -DQT_NO_CAST_TO_ASCII -DBUILD_QXT_CORE -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/mkspecs/linux-g++ -I/home/sambas/OpenPilot/ground/openpilotgcs/src/libs/libqxt/src/core -I/home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/include/QtCore -I/home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/include/QtGui -I/home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/include/QtTest -I/home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/include -I/home/sambas/OpenPilot/ground/openpilotgcs/src/libs -I/home/sambas/OpenPilot/ground/openpilotgcs/src/libs/libqxt/src/core -I/home/sambas/OpenPilot/ground/openpilotgcs/src/libs/libqxt/src/core/logengines -I.moc/debug-shared -I. -o .obj/debug-shared/qxtfifo.o /home/sambas/OpenPilot/ground/openpilotgcs/src/libs/libqxt/src/core/qxtfifo.cpp /home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/include/QtCore/qatomic_i386.h: Assembler messages: /home/sambas/OpenPilot/tools/qtsdk-2010.02/qt/include/QtCore/qatomic_i386.h:186: Error: Incorrect register `%rax' used with `l' suffix
sambas@OPubuntu:~/OpenPilot$ uname -a Linux OPubuntu 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 19:33:45 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


Canada
Finland







