f5soh

  • *****
  • 4572
    • LibrePilot
Re: OSX Build Error
« Reply #15 on: March 14, 2016, 08:53:25 pm »
Please update your local branch, fix is already merged to next

Code: [Select]
git pull

aa8mc

  • **
  • 50
Re: OSX Build Error
« Reply #16 on: March 14, 2016, 09:31:48 pm »
Thanks guys!  That got it.  One other thing to note is that on OSX there appears to be a missing resource.  I believe its also related to the PFD.  When I first start GCS, it looks like it hangs up when loading the core, but its actually showing a dialog thats being covered up by the LP spash screen.  Simply pressing ESC gets you past it, but its definitely something to fix.  Im sure its just a path issue.  If someone can give me some clues as to where to look and whats going on , I may be able to fix it myself and submit a PR for it.

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

f5soh

  • *****
  • 4572
    • LibrePilot
Re: OSX Build Error
« Reply #17 on: March 14, 2016, 09:45:29 pm »
add "-reset" to command line

PFD changed a lot so config file need to be updated

Re: OSX Build Error
« Reply #18 on: March 15, 2016, 01:11:26 am »
really appreciated all the help guys

Re: OSX Build Error
« Reply #19 on: March 15, 2016, 02:32:48 am »
Thought I would give VirtualBox one last crack, now I am not 100% sure if this is the git that it is downloading from but i find I have this error all the time. all my librepilot git is up to date

But after it makes the sdk with included error it crashes my virtualbox when I build it with a openGL error.
I have made sure that all my graphics drivers are upto date and 3d on

hwh

  • *
  • 1018
Re: OSX Build Error
« Reply #20 on: March 15, 2016, 03:40:32 am »
It looks like you're typing "make osgearth install"  the command is "make osgearth_install"  with an underscore.  The way you're typing it the computer is trying to make osgearth  and then make install.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: OSX Build Error
« Reply #21 on: March 15, 2016, 07:13:55 am »
In your screenshot you are pointing osx prebuild binaries at github.io and you are running Linux.

Like Hank says,
Code: [Select]
make osg_install for osg install


Re: OSX Build Error
« Reply #22 on: March 16, 2016, 12:03:52 am »
Thanks for all your help caseyjmorton & f5soh

I sat down last night and changed to my other mac for a good 3hrs
I managed to finally build a working dmg

LibrePilot-15.09+r498-g9e6989d-osx.dmg
http://www92.zippyshare.com/v/0HGIFUop/file.html

I seem to not have had any luck getting my HMC5883L Mag to work on the I2C
But my old clone naza m8n seems to have fired up, see how it goes, i am seeing AuxMag values :)

brukutu

  • *
  • 22
Compiling error :(
« Reply #23 on: March 26, 2016, 06:15:43 am »
When trying to compile on mac i get the following when make gcs.

Code: [Select]
In file included from /Users/brukutu/librepilot_code/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtQml.framework/Headers/qqmlengine.h:39:
/Users/brukutu/librepilot_code/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtCore.framework/Headers/qmap.h:617:27: error: returning address of local temporary
      object [-Werror,-Wreturn-stack-address]
    return n ? n->value : adefaultValue;
                          ^~~~~~~~~~~~~
/Users/brukutu/librepilot_code/librepilot/ground/gcs/src/libs/utils/svgimageprovider.cpp:48:42: note: in instantiation of member function
      'QMap<QString, QSvgRenderer *>::value' requested here
    QSvgRenderer *renderer = m_renderers.value(svgFile);
                                         ^
/Users/brukutu/librepilot_code/librepilot/tools/qt-5.5.1/5.5/clang_64/lib/QtCore.framework/Headers/qmap.h:386:44: note: binding reference variable
      'adefaultValue' here
    const T value(const Key &key, const T &defaultValue = T()) const;
                                           ^              ~~~
1 error generated.
make[4]: *** [.obj/release-shared/svgimageprovider.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/Users/brukutu/librepilot_code/librepilot/build/librepilot-gcs_release/src/libs/utils'
make[3]: *** [sub-utils-make_first-ordered] Error 2
make[3]: Leaving directory `/Users/brukutu/librepilot_code/librepilot/build/librepilot-gcs_release/src/libs'
make[2]: *** [sub-libs-make_first-ordered] Error 2
make[2]: Leaving directory `/Users/brukutu/librepilot_code/librepilot/build/librepilot-gcs_release/src'
make[1]: *** [sub-src-make_first-ordered] Error 2
make[1]: Leaving directory `/Users/brukutu/librepilot_code/librepilot/build/librepilot-gcs_release'
make: *** [gcs] Error 2
Brunos-MacBook-Pro:librepilot brukutu$

f5soh

  • *****
  • 4572
    • LibrePilot
Re: OSX Build Error
« Reply #24 on: March 26, 2016, 09:13:51 am »
Know OSX issue, wait the fix :)

Tomcatt

  • *
  • 23
Re: OSX Build Error
« Reply #25 on: March 28, 2016, 09:40:39 am »
Thanks for all your help caseyjmorton & f5soh

I sat down last night and changed to my other mac for a good 3hrs
I managed to finally build a working dmg

LibrePilot-15.09+r498-g9e6989d-osx.dmg
http://www92.zippyshare.com/v/0HGIFUop/file.html

I seem to not have had any luck getting my HMC5883L Mag to work on the I2C
But my old clone naza m8n seems to have fired up, see how it goes, i am seeing AuxMag values :)


Dude, thanks.  This one works just fine.  Don't know how you compiled it.  I'm getting errors myself.  Was about to sit back and until I seen your link.

Re: OSX Build Error
« Reply #26 on: March 30, 2016, 11:41:15 pm »
Can I add my thanks to f5soh - banging my head trying to build in windows and OSX
Now I have my external mag up and running :)

Re: OSX Build Error
« Reply #27 on: April 13, 2016, 05:00:46 pm »
@ShanetrainST this is awesome! Thanks a mil! Everything work just okay. I tried to build next by myself, but gave up after couple of hours... I'm not that proficient if it comes to software building on Mac:)

Btw. I was thinking, because the official release period seems to be quite long, maybe we could have an automated weekly builds, or something linke this. Just from my perspective would help a lot!

Tomcatt

  • *
  • 23
Re: OSX Build Error
« Reply #28 on: April 19, 2016, 07:35:30 pm »
Any news on new updates?  This latest one fix an odd yaw issue I had.  My bird would just drop out of the sky.  At first I thought it was the damp light setting in the ESC's but after a successful flight yesterday all is well.