Previous Thread
Next Thread
Print Thread
Page 82 of 116 1 2 80 81 82 83 84 115 116
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
I compiled QMC2 with new mame build tools, where is your ptoblem ?
I think u need only fixed new environments for buildtools.

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
Yes, QMC2 builds out-of-the-box with the current tools.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
Well, I'm not familiar with the new MAME tools.
I'll describe the step-by-step way which I used to compile QMC2 and why it's doesn't work anymore...


"A user interface is like a joke. If you have to explain it, it's not that good."
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
This is how I used to build QMC2 with old MAME tools, described in a little guide which I made: http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=94168#Post94168

How to compile QMC2 in Windows (from the beginning... Step-by-step... the easiest way)

You'll need: a computer, internet and desire to build QMC2 for yourself!
1- Go to: http://mamedev.org/tools/
*if you're using a x86 Windows platform, download the first binary.
*and if your Windows is a x64 platform, download the second.
NOTE: Well, now we have different tools there wink

2- Extract the content of the folder, and put it in C:/ (or wathever is the name of your root directory).
Now execute the setup-Python.bat and setup-Qt.bat from this directory.


You have the compiling environment ready for compiling QMC2!
Now let's get the code.

NOTE: These .bat files doesn't exist anymore with the new MAME tools

3- Download most recent version of tortoise SVN and install in your computer.
http://tortoisesvn.net/downloads.html

4- Create a folder anywhere, and right click with the mouse. Choose "SVN Checkout".

Write https://svn.code.sf.net/p/qmc2/code/trunk and click OK. tortoise SVN will get the most recent code from SVN for you. After that, for the next time that you'll compile, you can skip steps 1-4 and just choose "SVN Update" to get the most recent version of the code.
Recent code in the directory, lets compile QMC2.
NOTE: Ok, Tortoise still usable for get the source code smile

5- Write the follow text in notepad, and save as <anything you want>.bat (to build a windows x64 version of QMC2)

set MINGW_HOME=c:\mingw64-w64\bin\
set QT_PLUGIN_PATH=c:\mingw64-w64\Qt\plugins\
set QT_BIN_PATH=c:\mingw64-w64\Qt\Bin\
set x86_64-w64-mingw32=c:\mingw64-w64\x86_64-w64-mingw32\bin\
set TEMP=c:\temp\
set TMP=c:\temp\
set PATH=%MINGW_HOME%;%QT_PLUGIN_PATH%;%QT_BIN_PATH%;%x86_64-w64-mingw32%;%TEMP%;%TMP%
set PROMPT=QMC2_Env-%PROMPT%
echo QMC2 Enviroment Ready!
echo To Build QMC2-MAME type:
echo make
make clean MINGW=1
make distclean
make EMULATOR=mame WIP=1 MINGW=1
PAUSE

NOTE: This part, is the most problematic, as these directories doesn't exist anymore in the new MAME build tools

6-Execute the .bat file.
If no errors happens, it will generate QMC2 for your a x64 Windows.

7- Create a new folder.
Name it, for example "QMC2 aplication".You'll need to put the following files in this place:

1. From qmc compile folder take "data" folder and copy in "QMC2 aplication" folder.
2. Copy from your mingw64-w64\Qt\bin\, only .dlls to "QMC2 aplication" folder.
3. Copy from your \mingw64-w64\Qt\plugins\ folder -"sqldrivers" to "QMC2 aplication".
4. Copy from same folder "phonon_backend" to "QMC2 aplication".
5. Copy from your \mingw64-w64\x86_64-w64-mingw32\bin\SDL.dll to "QMC2 aplication".
*for windows x86, "mingw64-w64" will be "mingw64-w32".
You can keep this folder for future compilations. Look to the left image to see how it will look like.

8- From the folder from the code, find "release" directory and grab the QMC2 variant that you compiled.
You can put in the folder together with the files in the "QMC2 aplication".

9-Execute QMC2 from there and PROFIT!


"A user interface is like a joke. If you have to explain it, it's not that good."
Joined: Nov 2011
Posts: 175
O
Senior Member
Offline
Senior Member
O
Joined: Nov 2011
Posts: 175
Hello Rene, whastup with repo ?
:
Unable to connect to a repository at URL
'http://svn.code.sf.net/p/qmc2/code/trunk'
Error running context: No connection could be made because the target machine
actively refused it.

tnx smile

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
Something wrong with sourceforge.net, apparently... they are currently restoring services. Details are here.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
Rene, I want to work with templates. But I don't have a recent version of QMC2 nor I can build by myself anymore. Could you provide a new intermediate build? Thanks


"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
No, you can do that yourself. Here's the latest source: http://qmc2.arcadehits.net/tmp/qmc2-0.54-20150719160826.tar.bz2


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
No I can't.
I send the problems which I have compiling, but nobody cares.


"A user interface is like a joke. If you have to explain it, it's not that good."
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
I HATE to enter in this kind of discussion. You don't even notice that's compile QMC2 is ever a hell for me, don't you?


"A user interface is like a joke. If you have to explain it, it's not that good."
Page 82 of 116 1 2 80 81 82 83 84 115 116

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
1 members (Augusto), 15 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,102
Posts119,263
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