Previous Thread
Next Thread
Print Thread
Page 36 of 36 1 2 34 35 36
#109264 - 03/28/17 01:26 AM Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts]  
Joined: Feb 2004
Posts: 1,756
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member

Joined: Feb 2004
Posts: 1,756
Sydney, Australia
You have to add the sources to the appropriate lua file or it won't compile/link them.

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

Joined: Jan 2012
Posts: 639
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 smile

mfabfz.cpp

I've added the entries


Code
createMESSProjects(_target, _subtarget, "mfa")
files {
	MAME_DIR .. "src/mame/drivers/mfabfz.cpp",
}


to mess.lua
Code
@source:mfabfz.cpp
mfabfz                          // (c) 1982 Berufsfoerderungszentrum Essen


to mame.lst

and

Code
mfabfz.cpp


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

Code
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
#109268 - 03/28/17 07:26 AM Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts]  
Joined: May 2004
Posts: 810
Duke Offline
Senior Member
Duke  Offline
Senior Member

Joined: May 2004
Posts: 810
Germany
You forgot to add it to the linkProjects_mame_mess function.

#109278 - 03/29/17 03:01 PM Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts]  
Joined: Jan 2012
Posts: 639
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 639
Bavaria
Thanks, Duke.
I added it but it looks like the problem is still with my cobbled together driver file, although the compilation pass finishes.


NCR DMV- DEC Rainbow- Siemens PCD- ITT 3030-Oly People- Acorn A5000- Olivetti M20
#109600 - 05/17/17 02:04 PM Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts]  
Joined: Nov 2010
Posts: 66
Breiztiger Online content
Member
Breiztiger  Online Content
Member

Joined: Nov 2010
Posts: 66
Rennes (35) FRANCE
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 !!!

#109601 - 05/17/17 03:30 PM Re: Can't compile latest MAME? READ THIS THREAD [Re: Just Desserts]  
Joined: Aug 2004
Posts: 1,310
Robbbert Offline
Very Senior Member
Robbbert  Offline
Very Senior Member

Joined: Aug 2004
Posts: 1,310
Still works with 5.3.0

Page 36 of 36 1 2 34 35 36

Who's Online Now
6 registered members (MAMEBase, Heihachi_73, mfm005, Cpt. Pugwash, 2 invisible), 13 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,339
Posts107,774
Members4,738
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.039s Queries: 16 (0.020s) Memory: 4.9835 MB (Peak: 5.2012 MB) Zlib enabled. Server Time: 2017-05-27 19:27:10 UTC