LibrePilot Forum

General Category => General Discussion => Topic started by: oneblueyedog on February 28, 2018, 06:12:52 am

Title: Mac OS 10.6.8 Snow Leopard
Post by: oneblueyedog on February 28, 2018, 06:12:52 am
I tried to load Libre Pilot and I assume my OS is not supported. Is there another way I can load and run it? Perhaps the Terminal?

Process:         LibrePilot GCS [37254]
Path:            /Volumes/LibrePilot GCS/LibrePilot GCS.app/Contents/MacOS/LibrePilot GCS
Identifier:      org.librepilot.gcs
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [180]

Date/Time:       2018-02-27 22:55:36.036 -0600
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          43500278 sec
Crashes Since Last Report:           2058
Per-App Crashes Since Last Report:   6
Anonymous UUID:                      0A0C0804-C599-429B-9F50-5B0C89A55086

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Library not loaded: /usr/lib/libc++.1.dylib
  Referenced from: /Volumes/LibrePilot GCS/LibrePilot GCS.app/Contents/MacOS/../Frameworks/QtSvg.framework/Versions/5/QtSvg
  Reason: image not found

Binary Images:
    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld

Model: MacBookPro6,2, BootROM MBP61.0057.B0C, 2 processors, Intel Core i7, 2.66 GHz, 8 GB, SMC 1.58f17
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: TOSHIBA MK5055GSXF, 465.76 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa130000 / 5
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0236, 0xfa120000 / 4
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8218, 0xfa113000 / 7
USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
USB Device: Microsoft® Nano Transceiver v1.0, 0x045e  (Microsoft Corporation), 0x07b2, 0xfd130000 / 5
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0xfd110000 / 4
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 3
Title: Re: Mac OS 10.6.8 Snow Leopard
Post by: TheOtherCliff on February 28, 2018, 08:06:02 am
I don't do Mac, but a wild guess is that you could try installing the standard C++ compiler.  Is that called "XCode"?  I found this by Googling:
libc++.1.dylib
There I also saw instructions for building libc++.1.dylib from source.

Or if it is a version issue, you could try hacking a link from whatever version is there (like libc++.6.dylib) to the requested version.

It probably won't work, but it may be worth a try.
Title: Re: Mac OS 10.6.8 Snow Leopard
Post by: oneblueyedog on February 28, 2018, 03:39:28 pm
Good advice. I have XCode on this Mac. Thank you.
Title: Re: Mac OS 10.6.8 Snow Leopard
Post by: mr_w on February 28, 2018, 04:37:00 pm
Apparently libc++ is part of clang that was introduced into macOS in later versions.

The main "problem" here is that Qt distribution is also compiled with clang and it really needs it, so to avoid this lib, you'd need not only to build GCS on your own, but Qt as well.

My suggestion would be to first figure out how to bring clang to 10.6
Title: Re: Mac OS 10.6.8 Snow Leopard
Post by: oneblueyedog on March 06, 2018, 05:22:39 am
I've got another younger mac stored away that I'm sure has a compatible OS for LibrePilot. If not I can load one on it to run it.

I'm afraid to tinker with the Snow Leopard OS.

I guess this documents where LibrePilot won't run easily. Thank you for the confirmation and details.

Hope the mac is in the first box in the store room. And it boots up.