[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Linux qGroundControl Build error
Page 1 of 2

Linux qGroundControl Build error

PostPosted: Thu Dec 10, 2015 8:17 pm
by pilotnbr1
Screenshot from 2015-12-10 14-05-46.png


Hi guys! Im building ground control in an Ubuntu 15.1 box with qgroundcontrol cloned from the repository and running make with Qt 5.4.2 (GCC 5.2.1 20151010, 64 bit).. Ran into this error and was hoping you could tell me what to add or uncomment.

Luke

Re: Linux qGroundControl Build error

PostPosted: Thu Dec 10, 2015 10:25 pm
by Max
Hi Luke,

I'm not sure why you're getting an error, but those macros should be defined in libs/mavlink/include/mavlink/v1.0/common.h. The error location is new code and I haven't tried building it on Linux yet. So you could try removing those macros and see if the build completes. Replace MAV_FRAME_GLOBAL_RELATIVE_ALT_INT with the number 6 and MAV_FRAME_GLOBAL_INT with the number 5. If you still get other errors relating to mavlink, then the problem is most likely elsewhere. Please let me know what you find.

-Max

Re: Linux qGroundControl Build error

PostPosted: Thu Dec 10, 2015 10:34 pm
by pilotnbr1
Thanks Max- I hate to bring problems to your plate. I made those changes within UAS.cc and then built only to have it error onQGCMapWidget.cc where i tried to replace those variables with numbers too. It continued to build and now has errors here- EDITED

Screenshot from 2015-12-10 16-34-02.png

Re: Linux qGroundControl Build error

PostPosted: Thu Dec 10, 2015 10:40 pm
by pilotnbr1
I scrolled down to give a little more output-

Screenshot from 2015-12-10 16-39-27.png

Re: Linux qGroundControl Build error

PostPosted: Thu Dec 10, 2015 11:24 pm
by Max

Re: Linux qGroundControl Build error

PostPosted: Fri Dec 11, 2015 2:29 am
by pilotnbr1
That did it! Thanks Max!

The first time around with those fixes it had major errors with festival... I ended up rebuilding it without the text to speech and it was succesful.

Luke

Re: Linux qGroundControl Build error

PostPosted: Fri Dec 11, 2015 6:55 am
by Max
Cool! Actually I think I just found the base issue... :oops: Looks like I"m using a newer version of the Mavlink library for my own QGC builds. So the problem can also be fixed by updating the library included in the QGC repo, or changing the MAVLINKPATH variable in qgroundcontrol_aq.pro to point to a newer version (eg. MAVLINKPATH = e:/lib/mavlink/include ). This would actually apply to builds for any OS. Thanks for reporting!

Yea the festival/speech stuff is vague... I've gotten it to work several times but still not really sure how!

-Max

Re: Linux qGroundControl Build error

PostPosted: Wed Dec 23, 2015 6:01 am
by wangyeee
Does your build work?
Previous I managed to build on debian 8, but the app crashed on connection.
viewtopic.php?f=32&t=4609

Re: Linux qGroundControl Build error

PostPosted: Wed Dec 23, 2015 3:54 pm
by pilotnbr1
Yes Wangyee I got it working. You need Ubuntu 14.1 or higher. I am running 15.1.

Re: Linux qGroundControl Build error

PostPosted: Tue Jan 05, 2016 4:14 am
by wangyeee