#108695 - 01/31/17 08:53 PM
compile error
|
Joined: Nov 2011
Posts: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
Hello Rene, i try compile with mamedev tool and see a lot of errors 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,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
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,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
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: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
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"  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" tnxfound 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: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
Hi Rene , qmc2 fine compile with mingw from updated mamedev tool, but tottaly crashed  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,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
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!
|
|
|
#108764 - 02/08/17 08:11 PM
Re: compile error
[Re: oddi]
|
Joined: Nov 2011
Posts: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
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 [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 @echo off
echo IDI_ICON1 ICON DISCARDABLE "data\\img\\mame.ico" > qmc2-mame.rc many tnx 
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,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
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!
|
|
|
#108805 - 02/10/17 02:45 PM
Re: compile error
[Re: oddi]
|
Joined: May 2008
Posts: 4,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
Germany
|
There is nothing to fix. Sorry. It works with latest MSYS2 as I said above.
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!
|
|
|
#108806 - 02/10/17 03:44 PM
Re: compile error
[Re: oddi]
|
Joined: Nov 2011
Posts: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
ok tested 3 separate systems - 2 x win10x64 , win7 x64 ( not LINUX ) mamedev tools 20170205 - full updated download clean copy of qmc2 r7934. results : msys2: oddi@DESKTOP-A0234NI MSYS /c
$ cd /c/msys64/src/qmc2
oddi@DESKTOP-A0234NI MSYS /c/msys64/src/qmc2
$ make
lrelease data/lng/qmc2_de.ts
make: lrelease: Command not found
make: *** [Makefile:1461: data/lng/qmc2_de.qm] Error 127
oddi@DESKTOP-A0234NI MSYS /c/msys64/src/qmc2
$
for test mingw64: now compile fine !!! and i'm wonder oОpreviously had a problem with qmc2 and then you do not believe me, but I was right. Now - I'm again right. 3 different systems - one result -> qmc2 have problem !!! and second problem : compile qmc2 with previous mamedev tools - tottaly crashed ( take libraries from this pack) !!!!!! open NOTES - crashed open PDF viewer - crashed cache icons - crashed that is
Last edited by oddi; 02/10/17 03:45 PM.
|
|
|
#108808 - 02/10/17 03:51 PM
Re: compile error
[Re: oddi]
|
Joined: May 2008
Posts: 4,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
Germany
|
But that's a completely different error above. It can't find "lrelease". I'm not sure which package or path this is in. It *should* be in one of the paths of your $PATH variable. My installation doesn't show any issues here. So I'm also right  . And you're confusing me when you say "now compile fine !!!" in between. Does it work for you or doesn't it? Also, I see zero crashes here.
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!
|
|
|
#108809 - 02/10/17 04:35 PM
Re: compile error
[Re: oddi]
|
Joined: Nov 2011
Posts: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
Heheh :)) me too confused because i tested with different svn revisions  Now - with r7934 (the last). with msys2 : not compile , see above . with mingw64: compile fine but problem with crash is stay : i take qmc2.exe and all libraries for standalone installation . All dlls i take from the last mamedev tools. start config from scratch and: when open tab NOTES - qmc2.exe crashed open PDF viewers - qmc2.exe crashed start cached icons - qmc2.crashed. here upload my build, see, may u found something. http://www55.zippyshare.com/v/pELiRyY1/file.htmlmany tnx 
|
|
|
#108810 - 02/10/17 05:56 PM
Re: compile error
[Re: oddi]
|
Joined: May 2008
Posts: 4,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
Germany
|
OK, so it *builds* when you're using the right environment... good. I'm still not sure what you mean with "mingw64" vs. "msys2". You're supposed to use mingw64 from msys2. Anyway, I can't help you with your crash though. There's probably some library conflict (or a missing one for QtWebKit which is dlopen()'ed?). It works fine with the official build (VC++). That's the only method allowed to report crashes on Windows  .
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!
|
|
|
#110682 - 08/29/17 11:19 AM
Re: compile error
[Re: oddi]
|
Joined: May 2008
Posts: 4,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
Germany
|
FWIW, I've "fixed" the build-issues with the newer MAME-dev tools (SVN r8100+). Please carefully read the updated build instructions in our wiki!
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!
|
|
|
#110730 - 09/05/17 03:32 PM
Re: compile error
[Re: oddi]
|
Joined: Nov 2011
Posts: 165
oddi
Senior Member
|
Senior Member
Joined: Nov 2011
Posts: 165
|
Hi Rene, i'm back to the front  Compile with QT5 , libraries it's differents from qt4. Create standalone installation, maybe all it's fine, but i'm not sure , please check my setup and tell me if have any problem . here upload build QMC2_x64_r8130.ZIP http://www61.zippyshare.com/v/A8EK8kQR/file.htmlMany tnx 
|
|
|
#110733 - 09/05/17 04:20 PM
Re: compile error
[Re: oddi]
|
Joined: May 2008
Posts: 4,892
qmc2
|
Very Senior Member
Joined: May 2008
Posts: 4,892
Germany
|
I don't know if you have any problems  , only when you use Qt 5 now, you can't simply go back to Qt 4 because of the changed ini-format. It should work more or less fine with Qt 5, but it's not "official" yet, so if you see issues you're "on your own" at the moment. I try to keep Qt 5 support clean, but I can't promise always. When Qt 5.10 will include QtWebKit officially (I get the impression it will), then this will be the right time to switch to Qt 5 completely.
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!
|
|
|
|
Forums9
Topics8,527
Posts111,309
Members4,792
|
Most Online225 May 26th, 2014
|
|
|