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,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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

#108805 - 02/10/17 02:45 PM Re: compile error [Re: oddi]  
Joined: May 2008
Posts: 4,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
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:
Code:
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,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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 smile.

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: 164
oddi Offline
Senior Member
oddi  Offline
Senior Member

Joined: Nov 2011
Posts: 164
Heheh :))
me too confused because i tested with different svn revisions smile
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.html

many tnx smile

#108810 - 02/10/17 05:56 PM Re: compile error [Re: oddi]  
Joined: May 2008
Posts: 4,797
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,797
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 smile.


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!
#108814 - 02/10/17 06:57 PM Re: compile error [Re: oddi]  
Joined: Apr 2011
Posts: 263
B2K24 Offline
Senior Member
B2K24  Offline
Senior Member

Joined: Apr 2011
Posts: 263
Maybe it's best to just stick with what's officially released wink

It's what I do and all is fine.

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

Joined: Nov 2011
Posts: 164
pfffff troll !!


tnx Rene, thread closed.

Page 1 of 2 1 2

Moderated by  qmc2 

Who's Online Now
4 registered members (AJR, JonasP, R. Belmont, Robbbert), 22 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,340
Posts107,780
Members4,738
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.036s Queries: 14 (0.011s) Memory: 5.0865 MB (Peak: 5.3664 MB) Zlib enabled. Server Time: 2017-05-28 12:17:34 UTC