aa8mc

  • **
  • 50
OSX Build Error
« on: February 16, 2016, 10:47:33 pm »
Hey guys, I just pulled down the latest and it looks something with the OSG upgrade broke the build on OSX.  I pulled down the latest dependencies and copied them to the tools directory, but now i get the following error:

Project MESSAGE: Using osgearth from here: /Users/cmorton/projects/librepilot/tools/osgearth-2.7-clang_64-qt-5.5.1
make[4]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src/libs/osgearth'
make[4]: Entering directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src/libs/osgearth'
/usr/bin/g++ -c -pipe -stdlib=libc++ -Wno-unused-parameter -Wno-unused-parameter -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -w -fPIC -DOSGEARTH_LIBRARY -DUSE_OSG -DUSE_OSGEARTH -DORG_BIG_NAME='"LibrePilot"' -DGCS_BIG_NAME='"LibrePilot GCS"' -DORG_SMALL_NAME='"librepilot"' -DGCS_SMALL_NAME='"librepilot-gcs"' -DWIKI_URL_ROOT='"https://librepilot.atlassian.net/wiki/display/LPDOC/"' -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/Users/cmorton/projects/librepilot/ground/gcs/src/libs/osgearth -I. -I/Users/cmorton/projects/librepilot/ground/gcs/src/libs -I/Users/cmorton/projects/librepilot/tools/osg-3.5.1-clang_64-qt-5.5.1/include -I/Users/cmorton/projects/librepilot/tools/osgearth-2.7-clang_64-qt-5.5.1/include -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtOpenGL.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtWidgets.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtQuick.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtGui.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtQml.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtNetwork.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtCore.framework/Headers -I.moc/release-shared -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/mkspecs/macx-clang -F/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib -o .obj/release-shared/utility.o /Users/cmorton/projects/librepilot/ground/gcs/src/libs/osgearth/utility.cpp
cp -f -R /Users/cmorton/projects/librepilot/tools/osg-3.5.1-clang_64-qt-5.5.1/lib/* '/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/LibrePilot GCS.app/Contents/Plugins/'
cp -f -R /Users/cmorton/projects/librepilot/tools/osgearth-2.7-clang_64-qt-5.5.1/lib/* '/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/LibrePilot GCS.app/Contents/Plugins/'
In file included from /Users/cmorton/projects/librepilot/ground/gcs/src/libs/osgearth/utility.cpp:66:
/Users/cmorton/projects/librepilot/tools/osgearth-2.7-clang_64-qt-5.5.1/include/osgEarth/ElevationQuery:40:32: error: virtual function 'readNodeFile'
      has a different return type ('osg::Node *') than the function it overrides (which has return type 'osg::ref_ptr<osg::Node>')
            virtual osg::Node* readNodeFile(const std::string& filename);
                    ~~~~~~~~~~ ^
/Users/cmorton/projects/librepilot/tools/osg-3.5.1-clang_64-qt-5.5.1/include/osgUtil/IntersectionVisitor:163:45: note: overridden virtual function is
      here
            virtual osg::ref_ptr<osg::Node> readNodeFile(const std::string& filename) = 0;
                    ~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
make[4]: *** [.obj/release-shared/utility.o] Error 1
make[4]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src/libs/osgearth'
make[3]: *** [sub-osgearth-make_first-ordered] Error 2
make[3]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src/libs'
make[2]: *** [sub-libs-make_first-ordered] Error 2
make[2]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src'
make[1]: *** [sub-src-make_first-ordered] Error 2
make[1]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release'
make: *** [gcs] Error 2
ldt-7mdcqc1:librepilot cmorton$

I think this has to do with the addition of the osg-3.5.1.patch file but im trying to figure out if there is a particular build step that applies it or if its best for me to just apply it myself.  Can someone help?

Casey
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

m_thread

  • *****
  • 87
  • GCS is my home
    • LibrePilot
Re: OSX Build Error
« Reply #1 on: February 16, 2016, 11:04:36 pm »
Hi
Try to do:
Code: [Select]
make all_clean
make osg_install
make -j8 all

The second one will pull the pre-built binaries from our repo and use them when building.
The first will clean all and the last one build all. Replace the 8 in -j8 with some other number (your number of cpu cores) to use your computer optimally. Maybe you already know all this though ;)

/Fredrik
« Last Edit: February 16, 2016, 11:08:00 pm by m_thread »

aa8mc

  • **
  • 50
Re: OSX Build Error
« Reply #2 on: February 16, 2016, 11:24:38 pm »
Ahh I'll bet that's my problem.  I just did make clean instead of all_clean
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

aa8mc

  • **
  • 50
Re: OSX Build Error
« Reply #3 on: February 17, 2016, 03:22:07 am »
Hmmm, that didnt seem to make a difference.  Any other ideas?

Casey
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

gunnah

  • *
  • 5
Re: OSX Build Error
« Reply #4 on: February 17, 2016, 07:12:13 am »
I built like this:

1. clone repo
2. make all_sdk_install
3. make -j8 all_osg
4. copy the *osg stuff from the '/build/3rdparty/install' dir to 'YourLPdir/tools'
5. in root of build dir type:
 echo "override GCS_EXTRA_CONF=osg osgearth copy_osg" > config
6. make -j8 package

something very close to that anyways (jus looking through the terminal log and reading back in a chat from this weekend ;)

cheers

ps: if I mucked up anything someone please correct it :)

m_thread

  • *****
  • 87
  • GCS is my home
    • LibrePilot
Re: OSX Build Error
« Reply #5 on: February 17, 2016, 07:26:10 am »
There is NO NEED to build the OSG binaries. We have pre-built binaries in our github.io repo. If you do what I wrote. I.e. 'make osg_install' it will pull the binaries I have pre-built for MacOSX from that repo and put them in the /tools folder in the correct place.
If you for some reason really need/want to build OSG and OSGEarth then you have to follow something like the procedure outlined above. BUT there are some bugs in the current OSG source code that has to be patched to not have compiler errors.

aa8mc

  • **
  • 50
Re: OSX Build Error
« Reply #6 on: February 17, 2016, 03:53:13 pm »

1. clone repo
2. make all_sdk_install
3. make -j8 all_osg
4. copy the *osg stuff from the '/build/3rdparty/install' dir to 'YourLPdir/tools'
5. in root of build dir type:
 echo "override GCS_EXTRA_CONF=osg osgearth copy_osg" > config
6. make -j8 package


Yeah I was hoping to not have to do that.  I'll nuke the repo and try rebuilding from scratch.  As I do, I'll update the wiki as well.  I noticed that it is pretty out of date on the OSX side.

C
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

aa8mc

  • **
  • 50
Re: OSX Build Error
« Reply #7 on: February 17, 2016, 05:08:31 pm »
It looks like the pre-built OSG libraries are built for 32 bit only.  I am getting the following errors now:

/usr/bin/g++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -single_module -dynamiclib -compatibility_version   1.0 -current_version   1.0.0 -Wl,-install_name,@executable_path/../Plugins/libGCSOsgEarth.1.dylib -o libGCSOsgEarth.1.0.0.dylib .obj/release-shared/utility.o .obj/release-shared/qtwindowingsystem.o .obj/release-shared/osgearth.o .obj/release-shared/OSGNode.o .obj/release-shared/OSGGroup.o .obj/release-shared/OSGTransformNode.o .obj/release-shared/OSGCubeNode.o .obj/release-shared/OSGTextNode.o .obj/release-shared/OSGFileNode.o .obj/release-shared/OSGBackgroundNode.o .obj/release-shared/OSGCamera.o .obj/release-shared/OSGViewport.o .obj/release-shared/OSGModelNode.o .obj/release-shared/OSGSkyNode.o .obj/release-shared/moc_OSGNode.o .obj/release-shared/moc_OSGGroup.o .obj/release-shared/moc_OSGTransformNode.o .obj/release-shared/moc_OSGCubeNode.o .obj/release-shared/moc_OSGTextNode.o .obj/release-shared/moc_OSGFileNode.o .obj/release-shared/moc_OSGBackgroundNode.o .obj/release-shared/moc_OSGCamera.o .obj/release-shared/moc_OSGViewport.o .obj/release-shared/moc_OSGModelNode.o .obj/release-shared/moc_OSGSkyNode.o  -F/Users/cmorton/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib -L/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/LibrePilot\ GCS.app/Contents/Plugins -lUtils -L/Users/cmorton/projects/librepilot/tools/osg-3.5.1-clang_64-qt-5.5.1/lib64 -lOpenThreads -losg -losgUtil -losgDB -losgGA -losgFX -losgViewer -losgText -L/Users/cmorton/projects/librepilot/tools/osgearth-2.7-clang_64-qt-5.5.1/lib64 -losgEarth -losgEarthUtil -losgEarthFeatures -losgEarthSymbology -losgEarthAnnotation -framework QtOpenGL -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework QtQuick -framework QtQml -framework QtNetwork -framework OpenGL -framework AGL 
ld: warning: directory not found for option '-L/Users/cmorton/projects/librepilot/tools/osg-3.5.1-clang_64-qt-5.5.1/lib64'
ld: warning: directory not found for option '-L/Users/cmorton/projects/librepilot/tools/osgearth-2.7-clang_64-qt-5.5.1/lib64'
ld: library not found for -lOpenThreads
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [../../../LibrePilot GCS.app/Contents/Plugins/libGCSOsgEarth.1.0.0.dylib] Error 1
make[4]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src/libs/osgearth'
make[3]: *** [sub-osgearth-make_first-ordered] Error 2
make[3]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src/libs'
make[2]: *** [sub-libs-make_first-ordered] Error 2
make[2]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release/src'
make[1]: *** [sub-src-make_first-ordered] Error 2
make[1]: Leaving directory `/Users/cmorton/projects/librepilot/build/librepilot-gcs_release'
make: *** [gcs] Error 2
ldt-7mdcqc1:librepilot cmorton$ ls tools/osg
osg-3.5.1-clang_64-qt-5.5.1/    osgearth-2.7-clang_64-qt-5.5.1/
ldt-7mdcqc1:librepilot cmorton$ ls tools/osg
osg-3.5.1-clang_64-qt-5.5.1/    osgearth-2.7-clang_64-qt-5.5.1/
ldt-7mdcqc1:librepilot cmorton$ ls tools/osg-3.5.1-clang_64-qt-5.5.1/
bin/     include/ lib/     
ldt-7mdcqc1:librepilot cmorton$ ls tools/osg-3.5.1-clang_64-qt-5.5.1/lib/
libOpenThreads.20.dylib      libosgGA.141.dylib      libosgShadow.141.dylib      libosgUtil.141.dylib
libOpenThreads.3.3.0.dylib   libosgGA.3.5.1.dylib      libosgShadow.3.5.1.dylib   libosgUtil.3.5.1.dylib
libOpenThreads.dylib      libosgGA.dylib         libosgShadow.dylib      libosgUtil.dylib
libosg.141.dylib      libosgManipulator.141.dylib   libosgSim.141.dylib      libosgViewer.141.dylib
libosg.3.5.1.dylib      libosgManipulator.3.5.1.dylib   libosgSim.3.5.1.dylib      libosgViewer.3.5.1.dylib
libosg.dylib         libosgManipulator.dylib      libosgSim.dylib         libosgViewer.dylib
libosgAnimation.141.dylib   libosgParticle.141.dylib   libosgTerrain.141.dylib      libosgVolume.141.dylib
libosgAnimation.3.5.1.dylib   libosgParticle.3.5.1.dylib   libosgTerrain.3.5.1.dylib   libosgVolume.3.5.1.dylib
libosgAnimation.dylib      libosgParticle.dylib      libosgTerrain.dylib      libosgVolume.dylib
libosgDB.141.dylib      libosgPresentation.141.dylib   libosgText.141.dylib      libosgWidget.141.dylib
libosgDB.3.5.1.dylib      libosgPresentation.3.5.1.dylib   libosgText.3.5.1.dylib      libosgWidget.3.5.1.dylib
libosgDB.dylib         libosgPresentation.dylib   libosgText.dylib      libosgWidget.dylib
libosgFX.141.dylib      libosgQt.141.dylib      libosgUI.141.dylib      osgPlugins-3.5.1
libosgFX.3.5.1.dylib      libosgQt.3.5.1.dylib      libosgUI.3.5.1.dylib      pkgconfig
libosgFX.dylib         libosgQt.dylib         libosgUI.dylib
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

m_thread

  • *****
  • 87
  • GCS is my home
    • LibrePilot
Re: OSX Build Error
« Reply #8 on: February 17, 2016, 07:04:49 pm »
No, the binaries are 64bit.
https://github.com/librepilot/librepilot.github.io/blob/master/tools/osg-3.5.1-clang_64-qt-5.5.1.tar.gz
I can build GCS without any issues. Have you followed the instructions in CONTRIBUTING.md? What version of XCode do you have installed?
Did you clean up your tool directory after having things copied manually there?
/Fredrik

liftbag

  • *****
  • 215
    • LibrePilot
Re: OSX Build Error
« Reply #9 on: February 17, 2016, 07:38:57 pm »
Yes the binaries are for 64 bit. I built without issues on El Capitan. The olny required thing is to generate the config file in order to visualize osg.

mr_w

  • *
  • 207
    • LibrePilot
Re: OSX Build Error
« Reply #10 on: February 17, 2016, 07:49:53 pm »
For some reason your build is looking for libraries in lib64 instead of lib. Can you try renaming lib to lib64 inside osg & osgearth, to see if it helps.


aa8mc

  • **
  • 50
OSX Build Error
« Reply #11 on: February 18, 2016, 03:09:16 am »
I generated the config file as prescribed on the wiki.  I also built on El Cap.  I'll go ahead and create a symlink between the two directories for the time being.  Knowing that the binaries are indeed 64 bit ill take a looksy at the build and figure out why it's looking there.   I figured I'd have to dust off my C chops eventually.
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

Re: OSX Build Error
« Reply #12 on: March 14, 2016, 12:11:24 pm »
Hi Guys

The current Librepilot GCS is a awesome interface but it lacks 1 important feature that I am sure many will require 'External Mag'

I have made many attempts to build the next branch to gain external mag with failed results, wasted a weekend of flying messing around with it.
I am a fare noob when it comes to playing around in terminal.

OSX terminal was a fail - GUI didn't work (my fault, still cannot make it work) and now it has this error lots of times on command (Make all_sdk_install)
Quote
BUILD       build/doxygen-1.8.3.1
In file included from qbuffer.cpp:38:
In file included from ./qbuffer.h:42:
In file included from ./qiodevice.h:42:
./qglobal.h:99:6: warning: "This version of Mac OS X is unsupported" [-W#warnings]
#    warning "This version of Mac OS X is unsupported"

Vmware Ubuntu was a fail - Vmware's fault   

VirtualBox - Resolution issues, video issues and not usable

I am asking the admin of https://librepilot.atlassian.net/
if he could please upload a beta version of librepilot with external mag support too help noobs like me get out flying

Thanks

Shane 


« Last Edit: March 14, 2016, 01:36:26 pm by ShanetrainST »

aa8mc

  • **
  • 50
Re: OSX Build Error
« Reply #13 on: March 14, 2016, 07:58:18 pm »
Hey guys, I'm working on rebuilding the latest for Shane.  It looks like I am getting some sort of compilation error on the PFD plugin.  Can someone take a look and verify?

Here is the build error:

Code: [Select]
/usr/bin/g++ -c -pipe -stdlib=libc++ -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -Werror -Wno-gnu-static-float-init -fPIC -DORG_BIG_NAME='"LibrePilot"' -DGCS_BIG_NAME='"LibrePilot GCS"' -DORG_SMALL_NAME='"librepilot"' -DGCS_SMALL_NAME='"librepilot-gcs"' -DWIKI_URL_ROOT='"https://librepilot.atlassian.net/wiki/display/LPDOC/"' -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/Users/601292/projects/librepilot/ground/gcs/src/plugins/pathactioneditor -I. -I/Users/601292/projects/librepilot/ground/gcs/src/libs -I/Users/601292/projects/librepilot/ground/gcs/src/plugins -I/Users/601292/projects/librepilot/ground/gcs/src/plugins/uavobjects -I../uavobjects -I/Users/601292/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtWidgets.framework/Headers -I/Users/601292/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtGui.framework/Headers -I/Users/601292/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtCore.framework/Headers -I.moc/release-shared -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I.uic -I/Users/601292/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/mkspecs/macx-clang -F/Users/601292/projects/librepilot/tools/qt-5.5.1/5.5/clang_64/lib -o .obj/release-shared/pathactioneditorgadgetwidget.o /Users/601292/projects/librepilot/ground/gcs/src/plugins/pathactioneditor/pathactioneditorgadgetwidget.cpp
/Users/601292/projects/librepilot/ground/gcs/src/plugins/pfdqml/pfdqmlcontext.cpp:282:42: error: unused parameter 'settings' [-Werror,-Wunused-parameter]
void PfdQmlContext::saveState(QSettings *settings)
                                         ^
/Users/601292/projects/librepilot/ground/gcs/src/plugins/pfdqml/pfdqmlcontext.cpp:285:45: error: unused parameter 'settings' [-Werror,-Wunused-parameter]
void PfdQmlContext::restoreState(QSettings *settings)
                                            ^
2 errors generated.
make[4]: *** [.obj/release-shared/pfdqmlcontext.o] Error 1
make[4]: Leaving directory `/Users/601292/projects/librepilot/build/librepilot-gcs_release/src/plugins/pfdqml'
make[3]: *** [sub-pfdqml-make_first] Error 2
make[3]: *** Waiting for unfinished jobs....
F450 Quad Clone
Outrunner1000KV Motors
HobbyWing FlyFun 30A ESCs
1045 Props
Telemetry via OP Link
FlySky FS-i6 transmitter w/ 10 channel mod
Sparky2 Flight controller
HobbyAce UBLOX 6M GPS
Running LibrePilot next branch
MinimOSD
FlySight Spexman FPV Goggles
Floureon 5500mAh LiPos

f5soh

  • *****
  • 4572
    • LibrePilot
Re: OSX Build Error
« Reply #14 on: March 14, 2016, 08:18:18 pm »
Currently there is a work in progress.
OSX fails because now treats warnings as errors.

Before start editing you can create your local branch:

Code: [Select]
git checkout -b my_custom_branch_name
You can edit the /ground/gcs/src/plugins/pfdqml/pfdqmlcontext.cpp file and add

Code: [Select]
Q_UNUSED(settings); inside function.

Like that:
Code: [Select]
void PfdQmlContext::saveState(QSettings *settings)
{
Q_UNUSED(settings);
}

void PfdQmlContext::restoreState(QSettings *settings)
{
Q_UNUSED(settings);
}