Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
#108695 - 01/31/17 08:53 PM compile error  
Joined: Nov 2011
Posts: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Hello Rene, i try compile with mamedev tool and see a lot of errors
Code:
lfallbacksettings.o debug/moc_catverinioptimizer.o debug/moc_filterconfigurationdialog.o debug/moc_rankitemdelegate.o debug/moc_htmleditor.o debug/moc_highlighter.o debug/qrc_qmc2.o
rm -f debug/qmc2-mame_res.o
rm -f debug/qmc2-mame.exe
rm -f Makefile.qmake.Debug
make.exe[2]: Leaving directory 'c:/Msys64/src/qmc2'
rm -f Makefile.qmake
make.exe[1]: Leaving directory 'c:/Msys64/src/qmc2'
The system cannot find the file specified.
makefile:1149: recipe for target 'clean' failed
make.exe: *** [clean] Error 2
make.exe: Leaving directory 'c:/Msys64/src/qmc2'
make.exe: Entering directory 'c:/Msys64/src/qmc2'
'scripts' is not recognized as an internal or external command,
operable program or batch file.
arch: extra operand '/Windows/dirname.bat'
Try 'arch --help' for more information.
arch: extra operand '/Windows/dirname.bat'
Try 'arch --help' for more information.
arch: extra operand '/Windows/dirname.bat'
Try 'arch --help' for more information.
arch: extra operand '/Windows/osrel.bat'
Try 'arch --help' for more information.
"Configuring build of QMC2 v0.183"
qmake -makefile -o Makefile.qmake -spec win32-g++ VERSION=0.183 QMC2_MINGW=1 SDL=2 TARGET=qmc2-mame CONFIG+=warn_off CONFIG+=release QMC2_LIBS+=-L QMC2_INCLUDEPATH+=../include QMC2_INCLUDEPATH+=../include/SDL2   QT+=phonon
   'DEFINES+=QMC2_MAME QMC2_VERSION=0.183 QMC2_SVN_REV=7901 BUILD_OS_NAME=Windows BUILD_OS_RELEASE= BUILD_MACHINE=x86_64-w64-mingw32 PREFIX=. DATADIR="data" SYSCONFDIR="" QMC2_JOYSTICK=1 QMC2_PHONON=1 QMC2_MULTIMEDIA=0 QMC2_FADER_SPEED=2000 QMC2_BROWSER_EXTRAS_ENABLED QMC2_BROWSER_PLUGINS_ENABLED QMC2_BROWSER_JAVA_ENABLED QMC2_BROWSER_JAVASCRIPT_ENABLED QMC2_YOUTUBE_ENABLED QMC2_NOEFFECTDIALOGS QMC2_WIP_ENABLED QMC2_BUNDLED_MINIZIP QMC2_BUNDLED_ZLIB' qmc2.pro
arch: extra operand '/Windows/rcgen.bat'
Try 'arch --help' for more information.
makefile:1038: recipe for target 'qmc2-mame.rc' failed
make.exe: *** [qmc2-mame.rc] Error 1
make.exe: *** Waiting for unfinished jobs....
WARNING: Failure to find: release/qmc2-mame_res.o
WARNING: Failure to find: debug/qmc2-mame_res.o
make.exe: Leaving directory 'c:/Msys64/src/qmc2'


tnx:)

#108700 - 02/01/17 07:22 AM Re: compile error [Re: oddi]  
Joined: May 2008
Posts: 4,827
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,827
Germany
It's not even starting to compile... you seem to have a major issue with the environment. Are you using "conemu"? If not, do it. If yes, huh?


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108711 - 02/02/17 01:26 PM Re: compile error [Re: oddi]  
Joined: May 2008
Posts: 4,827
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,827
Germany
FWIW, I just updated my MSYS2 environment, started "conemu.bat" and "svn updated" my QMC2 source... and QMC2 built without any issues.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108719 - 02/03/17 05:16 PM Re: compile error [Re: oddi]  
Joined: Nov 2011
Posts: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Hi Rene, i used win32con.bat
btw - mame compile without problem with win32con.bat

2 PS - Rene i'm champion :)))

now compile with conemu , all is fine.
start my bat environment with "./ my.bat" smile
and revised my environment !!
many tnx for your help

the last edit:

Rene now rebuild qmc2 from scratch , absolutly clean build .
Take all dlls from msys64 / share / qt4
but not found folder "imageformats"
tnx

found it

Last edited by oddi; 02/03/17 06:28 PM.
#108723 - 02/05/17 06:01 AM Re: compile error [Re: oddi]  
Joined: Nov 2011
Posts: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Hi Rene , qmc2 fine compile with mingw from updated mamedev tool, but tottaly crashed frown
When click tab "NOTES" - crashed
when load icons cache - crashed
and randomly crash when play
i read and play your tutorial step by step from here, bottom page:
http://wiki.batcom-it.net/index.php?title=The_%27ultimate%27_guide_to_QMC2

#108724 - 02/05/17 08:28 AM Re: compile error [Re: oddi]  
Joined: May 2008
Posts: 4,827
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,827
Germany
It doesn't crash anywhere on my system - I heard it did in the last release under certain conditions when filtering by ROM states. That's been fixed meanwhile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108743 - 02/06/17 05:10 PM Re: compile error [Re: oddi]  
Joined: Nov 2011
Posts: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Rene, my OS win10 x64.

With old QT 4.8.6 all is fine - compile , play and etc etc.

#108764 - 02/08/17 08:11 PM Re: compile error [Re: oddi]  
Joined: Nov 2011
Posts: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Hello Rene, i think your tutorial how compile qmc2 mingw build not work. Play tutorial step by step
Download the last mamedev tools and start win32env.bat
see result

Code:
[MINGW64] c:\Msys64\src>cd qmc2

[MINGW64] c:\Msys64\src\qmc2>make
arch: extra operand '/Windows/rcgen.bat'
Try 'arch --help' for more information.
makefile:1038: recipe for target 'qmc2-mame.rc' failed
make: *** [qmc2-mame.rc] Error 1


btw - checked rcgen.bat :
c:\Msys64\src\qmc2\arch\Windows\rcgen.bat
Code:
@echo off
echo IDI_ICON1 ICON DISCARDABLE "data\\img\\mame.ico" > qmc2-mame.rc

many tnx smile

Last edited by oddi; 02/08/17 08:17 PM.
#108771 - 02/09/17 06:21 AM Re: compile error [Re: oddi]  
Joined: May 2008
Posts: 4,827
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,827
Germany
Well, the instructions do NOT say to start "win32env.bat" but "conemu.bat", where this works. Otherwise blame MSYS2. This is an unofficial way to build QMC2 anyway.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#108804 - 02/10/17 02:26 PM Re: compile error [Re: oddi]  
Joined: Nov 2011
Posts: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Hi Rene, please fix qmc2 source for compile under new mamedev tools from 20170205.
I try with mingw64, mingw32, msys2 - and not luck.
Many tnx

Page 1 of 2 1 2

Moderated by  qmc2 

Who's Online Now
7 registered members (MAMEBase, Pernod, Praxis, R. Belmont, AJR, 2 invisible), 20 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,381
Posts108,482
Members4,750
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.028s Queries: 14 (0.008s) Memory: 5.0167 MB (Peak: 5.2638 MB) Zlib enabled. Server Time: 2017-07-22 00:41:27 UTC