Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MC64 compile errors -- compile fails, and I'm stumped!  (Read 1045 times)

0 Members and 1 Guest are viewing this topic.

bmuse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:August 22, 2018, 09:44:09 pm
MC64 compile errors -- compile fails, and I'm stumped!
« on: September 19, 2013, 03:58:10 pm »
Hi all,

I'm trying to compile MAME 149 with the hi_score diff.  (Vanilla MAME, not MameUI.)  I've never compiled before, so have been following the instructions on the MC64 page and referencing Mr. Do's tutorial.  I've tried twice with no success, so I'm hoping someone can see where I've gone wrong.

I've installed MinGW, MC64 v1.3.  Downloaded the 149 source files.  Downloaded and applied the hi_score patch for 149. 

On my first try, it compiled for just over 4 hours.  At the end, I had a new 235mb file called mame.zip.  But no mame.exe.  And there was no mame.exe within the zip file either.

For my second try, I re-downloaded the source and patch into new folders and tried again.  3.5 hours this time -- but at the end, there was nothing... no mame.exe, not even a mame.zip file like the first time.

There were some error messages at the very end, so I'm posting those here, along with some settings.  Hoping someone can help me troubleshoot!

Using MinGW
MameCompiler 64 v1.3

Optimize for:
Auto Detect
  (on my first try, Optimize for was set to None.)

- Clean compile
- No Warnings as Errors

Target OS - Win32
Target - MAME
OSD - Windows

Applied patch: hi_149.diff

-----

Compiling Mame...
Using Parameters  TARGETOS=win32 TARGET=mame OSD=windows ARCHOPTS=-march=native NOWERROR=1

-----

And here are the error messages generated at the end of attempt #2:

src/osd/windows/video.c:257:6: error: redefinition of 'void windows_osd_interface::update_hi(bool)'

src/osd/windows/video.c:235:6: error: 'virtual void windows_osd_interface::update_hi(bool)' previously defined here

make: *** [obj/windows/osd/windows/video.o] Error 1

Finished!
3 Hours 33 Minutes and 23 Seconds Elapsed.


-----

As I said, I've never compiled before so I don't know what to expect... but the tutorials indicated that I should have a mame.exe at the end.  How did it compile for hours without generating anything?  These are amazing tools, with terrific tutorials, I just don't know where I'm missing something.

Any help will be appreciated!

Many thanks...
B

EMDB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 865
  • Last login:September 05, 2023, 09:18:51 am
  • Project RetroCade
Re: MC64 compile errors -- compile fails, and I'm stumped!
« Reply #1 on: September 19, 2013, 04:16:07 pm »
Were there no errors when applying the diff? You could try unpatched and leave all MAME Compiler settings to default (delete MameCompiler64.ini before starting it).

I built the new 0.150 sources today, applying the non nag/hiscore and a small donkey kong - pauline edition diff. It took less than 15 minutes on my i5 8GB Windows 7 machine...