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,749
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member

Joined: Feb 2004
Posts: 1,749
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: 638
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 638
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: 808
Duke Offline
Senior Member
Duke  Offline
Senior Member

Joined: May 2004
Posts: 808
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: 638
rfka01 Offline
Senior Member
rfka01  Offline
Senior Member

Joined: Jan 2012
Posts: 638
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
Page 36 of 36 1 2 34 35 36

Who's Online Now
3 registered members (Drucifer, judge, Praxis), 20 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,319
Posts107,561
Members4,734
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.033s Queries: 14 (0.014s) Memory: 4.9657 MB (Peak: 5.1443 MB) Zlib enabled. Server Time: 2017-04-28 12:04:55 UTC