Previous Thread
Next Thread
Print Thread
Page 4 of 9 1 2 3 4 5 6 7 8 9
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Very weird.. Once again I decided to update my QMC2 to the latest SVN offered by our awesome Mac maintainer, and I am STILL getting this error message:

Code
Dyld Error Message:
Symbol not found: __dispatch_source_type_vm
Referenced from: /Applications/qmc2/qmc2-sdlmame.app/Contents/MacOS/../Frameworks/QtWebKit.framework/Versions/4/QtWebKit
Expected in: /usr/lib/libSystem.B.dylib

I tried both the SVN releases, as well as the good old 0.39 'official' package and both did the same thing..
I gave up, went ahead and compiled Qt 4.8.5 and built my own and now I have a working QMC2..
Now I know that the releases are supposed to be self contained, but could it possibly be that I NEED Qt installed just to run them??
I didnt try to reinstall 0.39 or run David's SVN releases after I installed Qt since I already have an SVN thats two versions newer but maybe Ill give that a go.

Oh and just another note, both QMC2-Arcade and QCHDMAN both built without their respective icons. They both came out with that generic Apple 'piece of paper with the A' application icon.. Did I do something wrong there as well??

Last edited by Monotremata; 09/03/13 02:43 AM.
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Qt can't find a symbol in a system library that David's installation apparently has... that is, your version of /usr/lib/libSystem.B.dylib is probably too old and is binary incompatible. Recompilation of Qt for your local set up is the only real solution here, yes.

Regarding icons... "make arcade && sudo make arcade-install" or "make qchdman && sudo make qchdman-install" should automatically map the .icns files via the resulting Info.plist's in the app-folders. There's not much you can do wrong so I'm a bit surprised actually.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Ahh thats another thing... Whenever I did run the 'make install' command for any of the executables, whether it was QMC-sdlmame/mess/ume/arcade/qchdman, it ran the installation, but never actually installed them to my /Applications folder.

I was using the QMC2 big Wiki to get it going and followed all the instructions there since its been awhile since Ive built it myself. I would build each app, run the install command, and then have to manually move the app to my /Applications/qmc2 folder. It did however, at least give me a message about preserving the old .ini's and whatnot so I thought it was working..

Hopefully now that I have Qt reinstalled, David's builds will work again, although it doesnt take my Mac Pro too long to compile any of em, especially if I use the -j16 flag hehe.

I kept running into some error about no rules for the qmake makefile at first and was about to give up, and then like an idiot I realized I never added the Qt directory to my path hah. After that, everything went good, and I got to play me a good hour and a half of Tempest last night! One of these days Im gonna have to dig in and setup MESS so I can get rid of the 20 other emulators I have on my system for all my old console games I used to have as a kid..

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Hmm, "make install" should install everything to /Applications/qmc2/qmc2-*.app/ (and /Applications/qchdman.app/, which is because it's a stand-alone app).

Anyway, yeah, you need Qt's bin folder in your $PATH. Also, when you can "afford" using -j16 it really starts getting nice smile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2001
Posts: 17,316
Likes: 280
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,316
Likes: 280
You might need to "sudo make install" on OS X, even if your account has Administrator privileges.

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Yeah, you have to use sudo here, of course smile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 225
Senior Member
Senior Member
Joined: Jul 2007
Posts: 225
Definitely did sudo make install hehe. Now I wonder if it just copied everything into the .app's and I just didnt notice? I had just installed the latest SVN nightly build before I compiled my own so the previous install was still in there..

Hopefully my trouble with David's is fixed now that Qt is installed, but Ill go uninstall mine and compile it again and see if that makes a difference with the make install command..
Everythings working, I just wanna iron out any bugs in my system hehehe.

qmc2 - yeah I was using -j16 at first (I usually do when I make a new SDLMame as well, it compiles soooooo quick) but compiling QMC while browsing with Safari kept making my system grind to a halt heh. Its probably time to do a good old 'verify/repair permissions' cause its been awhile..


EDIT: Ok so problem with David's SVN builds still remains. I wiped out my /Applications/qmc2 folder and reinstalled his dmg and got the same error about that dylib again. Currently recompiling my own SVN so lets see if the install command works now. When I went and deleted the qmc2 folder, I had a random qchdman.app and qmc2-arcade sitting in the root /Applications folder that I didnt put there. Maybe the installer did run properly but when I ran it the other day, those apps definitely werent there like they were just now!

EDIT#2: Ok so removing the previous qmc2 folder in /Applications fixed the install script not working. Just finished compiling the Mame app, and during 'sudo make install' watched it create the folder and install the .app. Woohoo!!!

Last edited by Monotremata; 09/04/13 03:25 PM.
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Well, David's package comes with the version of the Qt framework he used to build QMC2 (it's a "self-contained app-bundle" with regard to Qt)... no wonder it didn't work smile.

It's NOT enough to exchange the *.dylib files in the app-folder with your local builds. You'd have to do some 'otool / install_name_tool' quirks afterwards at least... that's what the "make install" step does as well. For details, see "arch/Darwin/arcade_macdeployimports.sh" where this is done for the QML imports because Qt's 'macdeployqt' tool doesn't do this until Qt 4.8.5 at least (it's a known bug).

Since you're now able to build QMC2 from source (SVN), I'd recommend to stay with this approach smile!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
Oh, and in case someone else wants/needs to try it this way, here are the instructions.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
BTW, does QMC2 Arcade (SVN latest) work for you, Monotremata? David told me that it crashes during start-up, but I didn't have the time to test and investigate myself yet.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 4 of 9 1 2 3 4 5 6 7 8 9

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
0 members (), 628 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,399
Posts122,883
Members5,092
Most Online3,327
Nov 10th, 2025
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0