openMSX Debugger dependencies for Mac OS X

Pagina 1/2
| 2

Door tvalenca

Paladin (747)

afbeelding van tvalenca

14-12-2016, 20:43

Hi,

What are the minimal dependencies for openMSX Debugger on Mac OS X? I'm a bit frustrated about installing a 16GB package (QT 5.7) just to make it work... (and not knowing if it would be enough)

Aangemeld of registreer om reacties te plaatsen

Van tvalenca

Paladin (747)

afbeelding van tvalenca

14-12-2016, 21:18

Oh, two things:

1) in order to install QtCore, I have to install Xcode. So, it's not just 16GB.
2) it didn't worked!

Process:               openmsx-debugger [411]
Path:                  /Users/USER/Downloads/OpenMSX_debugger.app/Contents/MacOS/openmsx-debugger
Identifier:            org.openmsx.openmsx-debugger
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           openmsx-debugger [411]
User ID:               501

Date/Time:             2016-12-14 18:16:28.715 -0200
OS Version:            Mac OS X 10.11.6 (15G1108)
Report Version:        11
Anonymous UUID:        FC95BF8F-69AA-6FB8-7D83-2EAC42EE6DA5


Time Awake Since Boot: 100 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore
  Referenced from: /Users/USER/Downloads/OpenMSX_debugger.app/Contents/MacOS/openmsx-debugger
  Reason: image not found

Binary Images:
    0x7fff67d32000 -     0x7fff67d69a47  dyld (360.22)  /usr/lib/dyld

Model: MacBookPro5,5, BootROM MBP55.00AC.B03, 2 processors, Intel Core 2 Duo, 2,53 GHz, 8 GB, SMC 1.47f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x857F, 0x483634353155363446373036364700000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x857F, 0x483634353155363446373036364700000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.24)
Bluetooth: Version 4.4.6f1 17910, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: OWC Mercury Electra 6G SSD, 120,03 GB
Serial ATA Device: MATSHITADVD-R   UJ-868
USB Device: USB 2.0 Bus
USB Device: Built-in iSight
USB Device: USB 2.0 Bus
USB Device: Card Reader
USB Device: USB Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: USB Bus
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: 

Van Manuel

Ascended (18384)

afbeelding van Manuel

22-12-2016, 21:22

From the README:

Quote:

For Mac OS X use "brew install qt5" to install the library.

Van tvalenca

Paladin (747)

afbeelding van tvalenca

02-01-2017, 18:07

To Manuel and whoever it may concern:

It worked. So, on Mac you have to install "brew", then "brew install qt5". Thanks a lot!

Van Manuel

Ascended (18384)

afbeelding van Manuel

02-01-2017, 19:51

Good! Thanks for the follow-up.

Van Edevaldo

Master (143)

afbeelding van Edevaldo

08-09-2017, 16:30

Manuel, for a number of reasons I cannot install homebrew in my Mac. When I install Qt from the Qt website is installs it as a framework (/Library/Frameworks/QtCore.framework/Versions/Current/QtCore), so everything is available but in a more standard place as Macs are concerned. Macports also has Qt and it gets installed in /usr/local (I believe) not in /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore where openMSX debugger is looking for.

Is there a way to add this flexibility to the debugger?

Thanks,

Edevaldo

Van sd_snatcher

Prophet (3498)

afbeelding van sd_snatcher

08-09-2017, 16:39

Tip: I use the openMSX-Debugger for Mac from this site, and it works wonderfully without having to worry about the library dependence hell.

Van Grauw

Ascended (10296)

afbeelding van Grauw

08-09-2017, 17:10

For me, the 0.10.0-246-g33957cc build works fine, but the later builds crashed on start-up.

After openMSX 14 was released I downloaded the latest version of the debugger, didn’t work, and I retrieved the older version from a backup to be able to use it again.

Looking at it again, the crash log contains this message:

Quote:

Dyld Error Message:
Library not loaded: /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore
Referenced from: /private/var/folders/*/openMSX_Debugger.app/Contents/MacOS/openmsx-debugger
Reason: Incompatible library version: openmsx-debugger requires version 5.6.0 or later, but QtCore provides version 5.5.0

Just now I upgraded Qt to 5.9.1 (“brew upgrade qt5”) and now the later builds work. So I think still installing (and updating) Qt via Homebrew is necessary.

@Edevaldo I think you really need to install Qt via Homebrew and not via the install on the Qt website. I do like Homebrew btw, I installed a whole bunch of handy tools with it, like mercurial, node.js, ffmpeg, lame, pngcrush, zopfli and maven.

Van Edevaldo

Master (143)

afbeelding van Edevaldo

17-10-2017, 06:45

I tried the downloads from that site and continued having the same issue. The OpenMSX debugger for mac is looking into a rather odd place for the QtCore.

Van Edevaldo

Master (143)

afbeelding van Edevaldo

17-10-2017, 06:54

Thanks Grauw. Unfortunately Homebrew breaks many other things in my mac and I had to switch to MacPorts. But I found a way to have the debugger working without Homebrew.

First, the OpenMSX debugger is looking for QtCore in a rather odd place:

/usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore

This seems to be the only file needed for the debugger to start.

So I made a link from /usr/local/opt/qt5 to the place qt is installed in my Mac.

cd /usr/local
sudo mkdir opt
cd opt
sudo ln -s /opt/local/libexec/qt5 qt5

or more offcially:

sudo ln -s /Library/Frameworks/QtCore.framework/Versions/5 qt5

Should work for most people, assuming Qt was installed in the machine.

Van tvalenca

Paladin (747)

afbeelding van tvalenca

17-10-2017, 15:34

Grauw wrote:

For me, the 0.10.0-246-g33957cc build works fine, but the later builds crashed on start-up.

After openMSX 14 was released I downloaded the latest version of the debugger, didn’t work, and I retrieved the older version from a backup to be able to use it again.

Looking at it again, the crash log contains this message:

Quote:

Dyld Error Message:
Library not loaded: /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore
Referenced from: /private/var/folders/*/openMSX_Debugger.app/Contents/MacOS/openmsx-debugger
Reason: Incompatible library version: openmsx-debugger requires version 5.6.0 or later, but QtCore provides version 5.5.0

Just now I upgraded Qt to 5.9.1 (“brew upgrade qt5”) and now the later builds work. So I think still installing (and updating) Qt via Homebrew is necessary.

@Edevaldo I think you really need to install Qt via Homebrew and not via the install on the Qt website. I do like Homebrew btw, I installed a whole bunch of handy tools with it, like mercurial, node.js, ffmpeg, lame, pngcrush, zopfli and maven.

Grauw,

Installing Qt from its website won't work for openMSX Debugger.

Pagina 1/2
| 2