Previous Thread
Next Thread
Print Thread
Page 330 of 331 1 2 328 329 330 331
Joined: Mar 2008
Posts: 1,049
Very Senior Member
Very Senior Member
Joined: Mar 2008
Posts: 1,049
Quote
Building QMC2 with MinGW (GCC)
Get and install the MAME dev-tools for your platform (32- and/or 64-bit).
Get and install the Qt add-on for the MAME dev-tools for your platform (32- and/or 64-bit).

Ok!

Quote
Call make as usual, that is like on UNIX or Mac OS X (you can add MINGW=1 to the make command if you want to force the use of MinGW, but this is usually auto-detected). For example:
make EMU=mess

Ok!

Quote
After compilation is complete, you'll find the resulting binary (qmc2-mame.exe, qmc2-mess.exe or qmc2-ume.exe) in the release\ folder!
It don't made such folder frown
(consolation prize: since I put MAME/MESS and QMC2 code in same directory, I aways have a brand new MAME/MESS, haha).

But what happened with the release folder???


"A user interface is like a joke. If you have to explain it, it's not that good."
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
Originally Posted by Shideravan
But what happened with the release folder???
It's created when qmc2-<emu>.exe is built, and removed when you do "make clean [EMU=<emu>]"... so, you have to copy the file from the release folder to wherever you need it. But you can't keep it in the release folder since that's where the compile output goes to (and it has to be cleaned up before you build another QMC2 variant).


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
The new 32-bit Qt add-on package is also ready now:


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2012
Posts: 430
Likes: 1
R
Senior Member
Senior Member
R Offline
Joined: May 2012
Posts: 430
Likes: 1
Good news!

I'll test it as soon as possible.

EDIT : Everything's OK! smile

Last edited by remax; 09/25/12 09:46 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
Thanks for testing, remax! Yep, works fine here as well.


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, I followed Micko's suggestion when building the new Qt add-on(s) and you should thus no longer need the two run-time DLLs (libstdc++-6.dll and libgcc_s_sjlj-1.dll) in the app-folder (or PATH) because the two libraries are statically linked now.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2012
Posts: 430
Likes: 1
R
Senior Member
Senior Member
R Offline
Joined: May 2012
Posts: 430
Likes: 1
I might have done something wrong but i still need these files in my app-folder to launch x64 QMC2 on my windows computer.

(not that it really matter to me, i just report it).

[["About Qt" reports 4.8.3.]]

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
Really? Well, I haven't explicitly tested this since the DLLs were at least in my %PATH%. Hmmm, all I can say is that I did exactly what's described here, and this includes Micko's changes... will try myself when I get a chance. Right now I'm building Qt 4.8.3 on Mac OS X...


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, it could be related to the 'mkspec' used when building QMC2... the default is 'win32-g++' which I haven't changed. Could you please try adding 'MKSPEC=win32-g++-4.6' on a clean build?

If it fixes this, I will simply change QMC2's default...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2012
Posts: 430
Likes: 1
R
Senior Member
Senior Member
R Offline
Joined: May 2012
Posts: 430
Likes: 1
Okay, seemed to fix it when added to the configure line of my batch.

So that was it, i think;)

Page 330 of 331 1 2 328 329 330 331

Link Copied to Clipboard
Who's Online Now
2 members (Dorando, AJR), 152 guests, and 0 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,355
Posts122,423
Members5,082
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
Powered by UBB.threads™ PHP Forum Software 8.0.0