Jump to content


OSX 32-bit package


  • Please log in to reply
7 replies to this topic

#1 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4111 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 11 December 2011 - 12:08 AM

Ok.  I _think_ this will work on OSX 32 bit.  Could you guys let me know?
http://dl.dropbox.co...10-62cf2570.dmg

#2 Fabian

Fabian

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • Country: flag of Germany Germany


Posted 11 December 2011 - 01:06 AM

hello,

just quickly downloaded it and tried installing it on an 24" iMac running 10.5.8.
It installs fine but comes up with this error everytime i launch the app

Quote

/Applications/OpenPilot GCS.app/Contents/Plugins/OpenPilot/libGCSControl.dylib: The file '/Applications/OpenPilot GCS.app/Contents/Plugins/OpenPilot/libGCSControl.dylib' is not a valid Qt plugin.

Dont have an CC board around here atm to plug it in ( in the workshop and still in antistatic bag ) but apart from this error, the app seams to "look" just fine. When i wakeup sober tomorrow morning i will try plugging in the board aswell if you like.

#3 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4111 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 11 December 2011 - 01:09 AM

Odd.  I'd like to here if any 64 bit guys see the same error.

#4 Fabian

Fabian

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • Country: flag of Germany Germany


Posted 11 December 2011 - 01:26 AM

Just checked again if its really a 32bit one ( its not mine its only spending the winter with me :D ) but it seams to be =)

Quote

Darwin zeus 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386.

It was complaining about some "sdk" aswell on the first startup, but drunken me didnt c&p the line. Gonne have a look around tomorrow if i can find the install log somewhere, no clue where to look tho .. normaly not using mac's.

#5 muralha

muralha

    Developer

  • Members
  • PipPipPip
  • 363 posts
  • LocationLisbon, Portugal
  • Country: flag of Portugal Portugal


Posted 11 December 2011 - 09:10 AM

Tested on Lion without any board.
First GCS use, crashed on exit.
After a few more tries, zero crash.

#6 D-Lite

D-Lite

    Core Team

  • Members
  • PipPipPip
  • 968 posts
  • Country: flag of Germany Germany


Posted 11 December 2011 - 10:38 AM

uh.. strange, on my 10.5.8 machine it telle me something about unsupported architecture and if I look at the binary:

pwd
/Applications/OpenPilot GCS.app/Contents/MacOS

file OpenPilot\ GCS
OpenPilot GCS: Mach-O 64-bit executable x86_64

Don't have the time to look further into it atm but will have a closer look this evening.

Edited by D-Lite, 11 December 2011 - 10:43 AM.


#7 D-Lite

D-Lite

    Core Team

  • Members
  • PipPipPip
  • 968 posts
  • Country: flag of Germany Germany


Posted 11 December 2011 - 08:34 PM

I checked again that I didn't overlook something this morning but I'm pretty sure now that this is a 64bit binary and not 32bit. Did you probably upload the wrong disk image? The libraries inside the image also seem to be 64bit. You can check with "file" or "otool -fv" for example. I really don't understand why others where even able to run that version on a 32bit machine - very strange. Was this intented to be a 32bit-only version or a universal 32/64bit binary?

#8 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4111 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 11 December 2011 - 08:39 PM

Hah.  You're right.  The Qt files included, though, are using both.

Quote



$ file OpenPilot\ GCS.app/Contents/MacOS/OpenPilot\ GCS
OpenPilot GCS.app/Contents/MacOS/OpenPilot GCS: Mach-O 64-bit executable x86_64



$ file OpenPilot\ GCS.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore
OpenPilot GCS.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore: Mach-O universal binary with 2 architectures
OpenPilot GCS.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
OpenPilot GCS.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore (for architecture i386): Mach-O dynamically linked shared library i386


$ file OpenPilot\ GCS.app/Contents/Frameworks/SDL.framework/Versions/A/SDL
OpenPilot GCS.app/Contents/Frameworks/SDL.framework/Versions/A/SDL: Mach-O universal binary with 3 architectures
OpenPilot GCS.app/Contents/Frameworks/SDL.framework/Versions/A/SDL (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
OpenPilot GCS.app/Contents/Frameworks/SDL.framework/Versions/A/SDL (for architecture i386): Mach-O dynamically linked shared library i386
OpenPilot GCS.app/Contents/Frameworks/SDL.framework/Versions/A/SDL (for architecture ppc): Mach-O dynamically linked shared library ppc
jimmyc:/Volumes/OpenPilot $


Getting Qt compile the right way was the hard part.  Making GCS universal shouldn't be bad.