aa8mc

  • **
  • 50
Re: Weird Magnetometer readings
« Reply #30 on: March 12, 2016, 04:19:41 pm »
As long as the devs are cool with it, I can see about setting up a continuous integration server to automatically build nightlies.  Finding a hosted OSX environment may be tough though.  I may have to figure out something else for Mac.
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: Weird Magnetometer readings
« Reply #31 on: March 13, 2016, 12:48:30 am »
Just had a quick look at OSX hostings, its like 59$US a month.. wow.
I would host it on my mac mini but my internet upload speeds are way to low, until I get fiber connected.

What about a special release dmg, call it 15.91 with external mag support?


nearly close to building the GCS but stuck on

Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
« Last Edit: March 13, 2016, 12:51:46 am by ShanetrainST »

aa8mc

  • **
  • 50
Re: Weird Magnetometer readings
« Reply #32 on: March 13, 2016, 06:29:54 am »
Yeah I found some as low as $29 but that's still ridiculous compared to my Linux hosts which run about $6.

Anyway, as for the build error, I'm assuming you installed XCode just for this.  Make sure you open the actual GUI once and accept the license.  Then you should be able to run the command line tools til your hears's content.
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: Weird Magnetometer readings
« Reply #33 on: March 13, 2016, 07:26:48 am »
managed to get passed the Xcode problem and onto the build part, now I am stuck with this when I try to build

entered
make -j8 opfw_resource
make -j8 gcs

error
code/librepilot/ground/gcs/src/libs/sdlgamepad/sdlgamepad.cpp:24:10: fatal error:
      'SDL/SDL.h' file not found

edit
Oh... forgot to install the SDL framework

edit 2
Nope, that did work either after installing the SDL into my library/framework folder

I just want to fly my drone :( with external mag
« Last Edit: March 13, 2016, 07:43:15 am by ShanetrainST »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Weird Magnetometer readings
« Reply #34 on: March 13, 2016, 08:02:12 am »
error
code/librepilot/ground/gcs/src/libs/sdlgamepad/sdlgamepad.cpp:24:10: fatal error:
      'SDL/SDL.h' file not found

edit
Oh... forgot to install the SDL framework

edit 2
Nope, that did work either after installing the SDL into my library/framework folder

I just want to fly my drone :( with external mag

Do you add symlink ?
https://librepilot.atlassian.net/wiki/display/LPDOC/Mac+-+Building+and+Packaging#Mac-BuildingandPackaging-SDL

Re: Weird Magnetometer readings
« Reply #35 on: March 13, 2016, 08:20:13 am »
Picture will explain my steps.
thanks for your help guys, really appreciate it :)


Mateusz

  • *
  • 808
Re: Weird Magnetometer readings
« Reply #36 on: March 13, 2016, 08:24:23 am »
I am not sure if this is an option, but how about installing VirtualBox and latest Ubuntu on it ?
Enjoy GCS and flying, while you struggle with Mac ?  ;)

Re: Weird Magnetometer readings
« Reply #37 on: March 13, 2016, 08:28:02 am »
I am not sure if this is an option, but how about installing VirtualBox and latest Ubuntu on it ?
Enjoy GCS and flying, while you struggle with Mac ?  ;)

Getting very close to it, unix struggles :(

Has anyone got a today build in dmg format they could possibly upload to zippyshare or email me, i would really appreciate the help

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Weird Magnetometer readings
« Reply #38 on: March 13, 2016, 08:34:36 am »
Picture will explain my steps.
thanks for your help guys, really appreciate it :)

Is the "SDL" symlink inside the Header dir ?

Try to complete the path using the "tab" key

Re: Weird Magnetometer readings
« Reply #39 on: March 13, 2016, 08:47:35 am »
Picture will explain my steps.
thanks for your help guys, really appreciate it :)

Is the "SDL" symlink inside the Header dir ?

Try to complete the path using the "tab" key


Yes the SDL exists in my myosxusername/library/framework/SDL.framework/Headers


Looks like I needed to add it to my primary/library/framework
its starting to build now, so fingers crossed :)

Re: Weird Magnetometer readings
« Reply #40 on: March 13, 2016, 09:08:19 am »
Really sorry guys to hijack this thread

Ok it built but it don't work?? GSC buttons don't work and menus don't work.
It did however connect to my Revo, so that's a start, either time to download Ubuntu or wait for the next release


f5soh

  • *****
  • 4572
    • LibrePilot
Re: Weird Magnetometer readings
« Reply #41 on: March 13, 2016, 10:00:32 am »
No need to paste all wiki content on console...
Read, understand what should appends and do step by step.

Lines starting with "#" are comments.

If you do the git clone yesterday, please update:
Code: [Select]
git pull
Restart build and look if the error still:
Code: [Select]
make -j8 opfw_resource && make -j8 gcs
If ok (mean no errors), start app:
Code: [Select]
open ./build/librepilot-gcs_release/LibrePilot\ GCS.app --args -reset -log ~/gcs.log
This also generate a file "gcs.log" in your home directory, useful if errors.

Re: Weird Magnetometer readings
« Reply #42 on: March 14, 2016, 12:25:01 am »
gave up on osx, after following your steps the GCS still didn't work correctly.

So I decided to give Ubuntu in VMware a try, everything looked so promising until it failed connect to my Revo, even though it could see it????

Also didnt want to connect to my oplink either, no matter how many times i hit the connect button

I cant make either of them work.......
« Last Edit: March 14, 2016, 12:30:40 am by ShanetrainST »

aa8mc

  • **
  • 50
Re: Weird Magnetometer readings
« Reply #43 on: March 14, 2016, 12:34:03 am »
I think you may need the paid version of VMWare to map USB ports.  Try running it in VirtualBox instead.
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: Weird Magnetometer readings
« Reply #44 on: March 14, 2016, 12:51:16 am »
Thanks, ill try that now as a last attempt.

Really sorry guys, I have really hijacked this thread with my pc issues.
Is there anyway the mods could move all my discussions this to another thread?


Its ok I have given up on all attempts now at building a branch, loaded Virtualbox and ubuntu and it decided to give me a 640x480 resolution that I cannot fix and it wont enable me to install additional drivers...

I have completely given up on my Revo, time to fly my phantom
« Last Edit: March 14, 2016, 02:02:21 am by ShanetrainST »