Jump to content


Compiling GCS on Fedora


  • Please log in to reply
3 replies to this topic

#1 glikar

glikar

    Advanced Member

  • Validating
  • PipPipPip
  • 103 posts
  • Country: flag of Canada Canada

Posted 24 November 2011 - 08:55 PM

Hello developers a question if I may?
I'am getting compile errors - below.  Loaded into Qt Creator using "OpenPilot/ground/ground.pro".  Also tried compiling in a terminal.  
The error messages generated don't give me any hint of what is missing.  Sorry if I missing something obvious, my experience in the C world is very limited.  I'am comfortable in eclipse and java.  I've paid for a preorder CC board from Innov8tive Designs and hoping to onto the first software plateau before getting the board.  
Even confirmation that it will compile in F14/linux would help!

cd uavobjgenerator/ && /usr/bin/make -f Makefile
make[1]: Entering directory `/home/glikar/data/AQuad_Stuff/OpenPilot/ground-build-desktop/uavobjgenerator'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/glikar/data/AQuad_Stuff/OpenPilot/ground-build-desktop/uavobjgenerator'
cd uavobjects/ && /usr/bin/make -f Makefile
make[1]: Entering directory `/home/glikar/data/AQuad_Stuff/OpenPilot/ground-build-desktop/uavobjects'
mkdir -p -p ../../uavobject-synthetics
cd ../../uavobject-synthetics && ../ground/uavobjgenerator/uavobjgenerator -gcs -flight -python -matlab ../../shared/uavobjectdefinition ../.. && cd ../ground/openpilotgcs && /usr/bin/qmake-qt4 ../../../ground/openpilotgcs/openpilotgcs.pro -spec linux-g++ CONFIG+=release -r
/bin/sh: ../ground/uavobjgenerator/uavobjgenerator: No such file or directory
make[1]: Leaving directory `/home/glikar/data/AQuad_Stuff/OpenPilot/ground-build-desktop/uavobjects'
make: Leaving directory `/home/glikar/data/AQuad_Stuff/OpenPilot/ground-build-desktop'
make[1]: *** [FORCE] Error 127
make: *** [sub-uavobjects-make_default] Error 2
The process "/usr/bin/make" exited with code 2.
Error while building project ground (target: Desktop)
When executing build step 'Make'

#2 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1211 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 24 November 2011 - 09:14 PM

I guess the first step should be reading the wiki :D , you are obviously not using the required shadow build.
Life is just a game, but atleast the graphics are awesome!

#3 glikar

glikar

    Advanced Member

  • Validating
  • PipPipPip
  • 103 posts
  • Country: flag of Canada Canada

Posted 25 November 2011 - 04:24 AM

First, using the Fedora 14 yum install of Qt Creator shadow build was checked by default, but won't accept "~top/OpenPilot/build/ground" produced a directory level error. I used the OpenPilot make file to install the older version of Qt Creator into the git OpenPilot directory.  Following the Wiki and ground.pro comments it compiled!  Had to install libusb-devel,

libudev-devel, and set permissions on the openpilotgcs script.  Finally, a running GCS.  I clicked Flight data, and WOW a beautiful UI. Nice work!

Thanks for the push.


Edited by glikar, 25 November 2011 - 04:28 AM.


#4 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1211 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 26 November 2011 - 12:13 AM

Using Creator you get that directory level error but it still works, that's just there to deceive you :). Congrats on your work.
Life is just a game, but atleast the graphics are awesome!