Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#123339 03/17/24 01:17 AM
Joined: Sep 2000
Posts: 481
Likes: 2
M
Senior Member
OP Offline
Senior Member
M
Joined: Sep 2000
Posts: 481
Likes: 2
I hate to be in a position to have to ask this, but I appear to have reached the limit of my technical expertise in this area (granted, a short distance), and I was hoping someone here would be willing to engage in a bit of digital hand holding, and walk me through the process of setting up, and compiling the latest version of QMC2 for MacOS...

i appear to be missing a step, or a library, and a step-by-step set of instructions would go a long way...

FWIW, previous MacOS builds would come on a disk image, with an installer, but that no longer appears to be the case...

Last edited by MAMEBase; 03/17/24 01:18 AM.

The following statement is true...
The preceding statement is false.
MAMEBase #123342 03/17/24 02:00 PM
Joined: Feb 2004
Posts: 2,579
Likes: 288
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,579
Likes: 288
Can you grab a CI build from GitHub Actions? Here’s the latest workflow run: https://github.com/qmc2/qmc2-mame-fe/actions/runs/8205015864

MAMEBase #123343 03/18/24 06:12 PM
Joined: Sep 2000
Posts: 481
Likes: 2
M
Senior Member
OP Offline
Senior Member
M
Joined: Sep 2000
Posts: 481
Likes: 2
Well, I just grabbed a fresh copy of the source code, and it appears I'm missing Qt 4.8+

The Read Me instructions provide no clue where I might obtain this, or how to go about installing it, once I do...


The following statement is true...
The preceding statement is false.
MAMEBase #123344 03/19/24 07:32 AM
Joined: Mar 2004
Posts: 698
Likes: 2
Senior Member
Offline
Senior Member
Joined: Mar 2004
Posts: 698
Likes: 2
You should not be missing qt 4.8, latest git uses qt5. It has been more than 10 years since I have used a mac so my ability to help or test is quite limited unfortunately. CI builds use qt from brew and SDL Image:
https://github.com/qmc2/qmc2-mame-f...0/.github/workflows/ci-macos.yml#L24-L29
Try installing qt from brew. As far as the SDL Image is concerned, either use the commands from the CI or just install it via the GUI.

MAMEBase #123348 03/20/24 11:23 AM
Joined: Sep 2000
Posts: 481
Likes: 2
M
Senior Member
OP Offline
Senior Member
M
Joined: Sep 2000
Posts: 481
Likes: 2
Okay, here's where I swallow what little pride I have, and try to ignore my embarrassment...

Let's assume for a moment, that the extent of my knowledge when it comes to compiling anything is limited to compiling MAME about once a month, and even then, I keep a little 'cheat sheet' handy, to make sure I'm doing it right...

Now let's assume that I'm compiling QMC2 for the first time, from scratch...

I realize, and acknowledge that for some of you, this process is not unlike breathing, as in, you don't have to think about it...

i'm sorry to say that my level of expertise/experience is significantly below that...

I appreciate those of you who have reached out thus far, but I'm afraid I'm going to need at least some step-by-step directions, in order to make this happen...


The following statement is true...
The preceding statement is false.
MAMEBase #123353 03/20/24 08:57 PM
Joined: Mar 2004
Posts: 698
Likes: 2
Senior Member
Offline
Senior Member
Joined: Mar 2004
Posts: 698
Likes: 2
With no guarantees that this will work, as I cannot test it:
0. clone the qmc2 git repository
1. run the commands from https://github.com/qmc2/qmc2-mame-f...0/.github/workflows/ci-macos.yml#L24-L29
2. run export PATH="${{ matrix.qtpath }}:$PATH", replacing {{ matrix.qtpath }} with the value from line 15 (/usr/local/opt/qt@5/bin) or 17 (/opt/homebrew/opt/qt@5/bin) depending on your macOS version and/or architecture. So e.g. export PATH="/opt/homebrew/opt/qt@5/bin:$PATH"
3. run make -j3, replacing 3 with the number of CPU cores you have

Before you try compiling yourself: what happens if you download https://github.com/qmc2/qmc2-mame-fe/actions/runs/8347086205/artifacts/1339743407 and try to run it?

MAMEBase #123363 03/24/24 06:37 PM
Joined: Jan 2021
Posts: 11
Likes: 2
E
Member
Offline
Member
E
Joined: Jan 2021
Posts: 11
Likes: 2
Hi, thanks to belegdol, I could compile and upload codesigned new versions of QMC2 here:

https://mameonmacs.blogspot.com/2022/04/welcome-back-qmc2.html
Codesigning is done by me, if you do not trust me, then you would have to compile it by yourself ;-).

The Apple Silicon version is blazingly fast here, very nice status in overall (still some video playback issues, but I have to look deeper into this).

To the community: Feel free to use these builds on GitHub if it helps, otherwise, these links will be available at least until the next release.

Best.

Edit: Soon I will also upload my sh file for self-compile on Silicon Macs, but you have to take care of codesigning as well, which frankly I always struggle with. And besides the steps described by belegdol, you also must do a make install on your Mac after successfully compiling, which populates the necessary libraries and plugins into the app bundle. Then codesigning, first the plugin directories and Frameworks, then the binary and finally the app bundle. That's why I provide these app bundles codesigned, it's not that easy to have that in proper order on Silicon Macs with Apples rather extreme limitations.

Last edited by estefan3112; 03/24/24 06:44 PM.
MAMEBase #123364 03/24/24 09:19 PM
Joined: Sep 2000
Posts: 481
Likes: 2
M
Senior Member
OP Offline
Senior Member
M
Joined: Sep 2000
Posts: 481
Likes: 2
So, I was preparing to set aside some time to plow through, and try to compile this myself (I still might, just for the experience...), when I saw that estefan3112 offered a pre-compiled, updated QMC2, along with installation instructions!

I am now successfully running version 0.244!

A *HUGE* Thank You to both belegdol, and estefan3112 for making this possible for me!

(A *Very* minor nitpick concerning the installation instructions; The unzipped 'qmc2' directory belongs in Root Library/Application Support, but even I was able to figure that out in fairly short order...;-) )

I may have a feature request, but I'll start a new thread for that...

Thanks again!


The following statement is true...
The preceding statement is false.
MAMEBase #123365 03/24/24 09:41 PM
Joined: Jan 2021
Posts: 11
Likes: 2
E
Member
Offline
Member
E
Joined: Jan 2021
Posts: 11
Likes: 2
Great that it worked out for you. Out of curiosity: Silicon or Intel? Cause the Silicon build meets even stricter requirements on third party machines, and it would be good to know that it works.
I‘ll check the ReadMe, thanks, I was hoping to be precise enough on the root folder requirement…

MAMEBase #123366 03/24/24 10:05 PM
Joined: Sep 2000
Posts: 481
Likes: 2
M
Senior Member
OP Offline
Senior Member
M
Joined: Sep 2000
Posts: 481
Likes: 2
27" iMac
3.1 GHz 6-Core Intel Core i5
Radeon Pro 575X 4 GB
40 GB 2667 MHz DDR4
14.4 (23E214)

Oddly enough, although I'm successfully running 0.244 of QMC2, I seem to be having some difficulty updating SDL to 2.30.1 (latest release as I type this).I'm still running 2.28, as any later version refuses to run because Apple cannot check it for malware, but that's a problem for another thread...


The following statement is true...
The preceding statement is false.
Page 1 of 2 1 2

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
0 members (), 60 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,310
Posts121,714
Members5,070
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com