#109267 - 03/28/17 06:08 AM
Re: Can't compile latest MAME? READ THIS THREAD
[Re: Just Desserts]
|
Joined: Jan 2012
Posts: 878
rfka01
Senior Member
|
Senior Member

Joined: Jan 2012
Posts: 878
Bavaria
|
This is the driver I'm toying with ... I hope that a kind soul will scrap that completely and make a nice bus/card system for the MFA mfabfz.cppI've added the entries createMESSProjects(_target, _subtarget, "mfa")
files {
MAME_DIR .. "src/mame/drivers/mfabfz.cpp",
}
to mess.lua
@source:mfabfz.cpp
mfabfz // (c) 1982 Berufsfoerderungszentrum Essen to mame.lst and to mess.flt Then I've compiled with REGENIE=1 The driver file gets compiled, but after that every attempt to get it linked results in
Linking mess64.exe...
../../../../mingw-gcc/obj/x64/Release/generated/
z'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [mess.make:253: ../../../../../mess
make[1]: *** [Makefile:733: mess] Fehler 2
make: *** [makefile:994: windows_x64] Fehler 2
NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
|
|
|
#109601 - 05/17/17 03:30 PM
Re: Can't compile latest MAME? READ THIS THREAD
[Re: Just Desserts]
|
Joined: Aug 2004
Posts: 1,351
Robbbert
Very Senior Member
|
Very Senior Member

Joined: Aug 2004
Posts: 1,351
|
|
|
|
#109724 - 05/31/17 08:44 AM
Re: Can't compile latest MAME? READ THIS THREAD
[Re: Breiztiger]
|
Joined: Apr 2015
Posts: 361
EoceneMiacid
Senior Member
|
Senior Member
Joined: Apr 2015
Posts: 361
|
hi
just for info
with my old gcc 6.2 mame does'nt compil anymore
just update to gcc 6.3 and it's ok !!! Yeah i'm running into problems with 6.2 as well How did you update to 6.3? I'm on a custom Kubuntu derivative and I can't find a working repository. Not looking forward to compiling GCC first 
|
|
|
#109726 - 05/31/17 09:23 AM
Re: Can't compile latest MAME? READ THIS THREAD
[Re: EoceneMiacid]
|
Joined: Feb 2004
Posts: 1,943
Vas Crabb
Very Senior Member
|
Very Senior Member

Joined: Feb 2004
Posts: 1,943
Sydney, Australia
|
How did you update to 6.3? I'm on a custom Kubuntu derivative and I can't find a working repository. Not looking forward to compiling GCC first  It's not actually GCC that's the problem, it's the libstdc++ headers, so if you build a new GCC you need to make it build against an updated libstdc++ or it won't solve anything. It's pretty easy to build GCC and make it install to an alternate path. Just add something like this to whatever other configure options you need: --prefix=/opt/gcc63 --mandir=/opt/gcc63/share/man --infodir=/opt/gcc63/share/info Then put options like this in useroptions.mak for MAME: OVERRIDE_CC=/opt/gcc63/bin/gcc
OVERRIDE_CXX=/opt/gcc63/bin/g++
ARCHOPTS=-Wl,-R,/opt/gcc63/lib64
|
|
|
#110030 - 06/28/17 06:14 PM
Re: Can't compile latest MAME? READ THIS THREAD
[Re: Just Desserts]
|
Joined: May 2007
Posts: 534
mizapf
Senior Member
|
Senior Member
Joined: May 2007
Posts: 534
Germany
|
Since I usually only work in Linux, gcc/clang is the typical tool chain for me. However, I consider to build mame binaries (for a subset of drivers) for Windows also. So I tried Visual Studio ... for the first time, following http://wiki.mamedev.org/index.php/Building_MAME_using_Microsoft_Visual_Studio_compilers On that path, I found some points that are unclear to me. - Once you've done that, simply run: make ...
make is not found in the plain cmd. I suppose I have to run win32env.bat in msys64 first, then go to the mame folder. - Browse to folder containing solution file and open it with Visual Studio
I have no idea what a solution file is; sorry, utter newbie, as I said. Google said these are files with suffix .sln, so I searched the mame folder for such a file and got 24 of them. The one that sounds most promising, mame.sln, is located in a deep subdirectory (C:\prg\mame\build\projects\windows\mame\vs2015); is that the one to be opened?
|
|
|
|
9 registered members (AJR, shattered, hap, Praxis, Dorando, Breiztiger, B2K24, krick, R. Belmont),
36
guests, and
3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics8,527
Posts111,310
Members4,792
|
Most Online225 May 26th, 2014
|
|
|