LibrePilot Forum

Development => GCS General => Topic started by: DanNT on July 28, 2015, 04:47:21 pm

Title: Another successful build - LinuxMint 17
Post by: DanNT on July 28, 2015, 04:47:21 pm
Just finished building GCS in Linux, will have another go in windows tomorrow night and might try setting up one of my Revo's!
Title: Re: Another successful build - LinuxMint 17
Post by: ArnhemAnt on July 28, 2015, 11:48:38 pm
Clever bugger...

We need to talk.
Title: Re: Another successful build - LinuxMint 17
Post by: liftbag on July 29, 2015, 12:08:40 am
Same here on ubuntu 15.04 (thanks to Alessio).
Im flying with motor constraints on Atom :)
Rate trainer too, just to try.
Title: Re: Another successful build - LinuxMint 17
Post by: DanNT on August 01, 2015, 02:16:41 pm
Did you have any issues with slow downloads from the official QT mirror?

I've had the same problem on my Linux install and also now my Win10 install - downloads at less than 5k/s. Updated make/tools.mk to point to a Japanese mirror and i'm not getting greater than 250k/s (not great, but much better!). On that building in Windows 10 right now.
Title: Re: Another successful build - LinuxMint 17
Post by: Inno89 on September 03, 2015, 11:01:49 am
No problems on ArchLinux too..
Works flawlessly.. ;)

Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on March 19, 2016, 04:33:34 am
Linux Mint 17, No problem building, but could not make package.

Any help will be appreciated
Title: Re: Another successful build - LinuxMint 17
Post by: hwh on March 19, 2016, 02:57:48 pm
I'm not able to make package on Ubuntu either.  I think it may be all the changes still being made for osgearth haven't made it to the package recipe yet.  I just run it in place without packaging or installing.  ./build/librepilot-gcs_release/bin/librepilot-gcs is all it takes if you're in the directory with the main makefile.
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on March 19, 2016, 04:53:11 pm
I using the same command to run.

Inno89,

Did you build the Arch package?

I will try tonight in Arch  my main PC and see. If that work I will go back to Arch in my laptop.
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on March 31, 2016, 03:22:38 am
I did
git pull
make all_clean
make opfw_resource

all good
then
make gcs, and I get:
make gcs
 WARNING     tools/osg-3.5.1-linux-x64-qt-5.6.0 not found (make osg_install), using system PATH
 WARNING     tools/osgearth-2.7-linux-x64-qt-5.6.0 not found (make osgearth_install), using system PATH
Info: creating cache file /home/armando/code/librepilot/build/librepilot-gcs_release/.qmake.cache
Reading /home/armando/code/librepilot/ground/gcs/src/src.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src]
 Reading /home/armando/code/librepilot/ground/gcs/src/libs/libs.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/version_info/version_info.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/version_info]
Project MESSAGE: Using python interpreter: "python"
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/qscispinbox/qscispinbox.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/qscispinbox]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/qtconcurrent/qtconcurrent.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/qtconcurrent]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/aggregation/aggregation.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/aggregation]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/extensionsystem/extensionsystem.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/extensionsystem]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/utils/utils.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/utils]
Project ERROR: Unknown module(s) in QT: quickwidgets quick qml svg
make: *** [/home/armando/code/librepilot/build/librepilot-gcs_release/Makefile] Error 3

Please help
OS Linux Mint 17.
Title: Re: Another successful build - LinuxMint 17
Post by: hwh on March 31, 2016, 03:52:55 am
...
 WARNING     tools/osg-3.5.1-linux-x64-qt-5.6.0 not found (make osg_install), using system PATH
 WARNING     tools/osgearth-2.7-linux-x64-qt-5.6.0 not found (make osgearth_install), using system PATH
'''

do what it says:

make osg_install
make osgearth_install

That should get you past that error, I don't know if it will compile all the way or not.  My first compile after today's changes is still running.
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on March 31, 2016, 04:01:00 am
Ok I have to wait installing qt 5.6 and it will take some time
Title: Re: Another successful build - LinuxMint 17
Post by: hwh on March 31, 2016, 04:16:34 am
It compiles on my linux system but running it gives an error.  It runs but there's an error in the PFD so it doesn't display.  It'll probably get worked out tomorrow.

Hank
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on March 31, 2016, 04:30:51 am
No. still error:

make gcs
Info: creating cache file /home/armando/code/librepilot/build/librepilot-gcs_release/.qmake.cache
Reading /home/armando/code/librepilot/ground/gcs/src/src.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src]
 Reading /home/armando/code/librepilot/ground/gcs/src/libs/libs.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/version_info/version_info.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/version_info]
Project MESSAGE: Using python interpreter: "python"
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/qscispinbox/qscispinbox.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/qscispinbox]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/qtconcurrent/qtconcurrent.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/qtconcurrent]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/aggregation/aggregation.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/aggregation]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/extensionsystem/extensionsystem.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/extensionsystem]
  Reading /home/armando/code/librepilot/ground/gcs/src/libs/utils/utils.pro [/home/armando/code/librepilot/build/librepilot-gcs_release/src/libs/utils]
Project ERROR: Unknown module(s) in QT: quickwidgets quick qml svg
make: *** [/home/armando/code/librepilot/build/librepilot-gcs_release/Makefile] Error 3
Title: Re: Another successful build - LinuxMint 17
Post by: lwgatech on April 03, 2016, 06:16:04 am
Hi, I am using Ubuntu 14.04. I did a fresh install this week. The following worked for me.
make all_sdk_install
make osg_install
make osgearth_install
make opfw_resource
make gcs

But "make package" doesn't work? Anyone have a fix?
Title: Re: Another successful build - LinuxMint 17
Post by: hwh on April 03, 2016, 06:32:13 am
I don't have a fix for you but you can run it in place, just execute build/librepilot-gcs_release/bin/librepilot-gcs   I never install, I just run it where it is.

Hank
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on April 05, 2016, 04:43:03 pm
I was able to build no errors, but I get this error when I run GCS:
I installed the GLibcc
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on April 11, 2016, 05:28:39 pm
Got all working again. It was an issue with one of the libraries.

Thanks all for your help.

Title: Re: Another successful build - LinuxMint 17
Post by: MultiBen on April 12, 2016, 02:27:07 am
Can you post what you did to correct the problem in case others run into the same problem.
Title: Re: Another successful build - LinuxMint 17
Post by: zukenj on April 12, 2016, 02:52:28 am
I re-installed libc6-i386, Make all_clean, and start compiling again.