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
Offline
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
Offline
Very Senior Member
Q
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
Offline
Very Senior Member
Q
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: 429
Likes: 1
R
Senior Member
Offline
Senior Member
R
Joined: May 2012
Posts: 429
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
Offline
Very Senior Member
Q
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
Offline
Very Senior Member
Q
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: 429
Likes: 1
R
Senior Member
Offline
Senior Member
R
Joined: May 2012
Posts: 429
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
Offline
Very Senior Member
Q
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
Offline
Very Senior Member
Q
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: 429
Likes: 1
R
Senior Member
Offline
Senior Member
R
Joined: May 2012
Posts: 429
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 (Yash Anand, 1 invisible), 24 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,103
Posts119,274
Members5,019
Most Online890
Jan 17th, 2020
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