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: Compile Linux Groovymame with cave support  (Read 2529 times)

0 Members and 1 Guest are viewing this topic.

blontic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:December 21, 2020, 08:03:28 am
Compile Linux Groovymame with cave support
« on: December 12, 2013, 07:27:49 pm »
I know there are a few topics talking about this but I haven't seen any with step by step instructions on how to do it. Can anyone let me know how to do this for Ubuntu 13.10 and the latest version of Groovymame with Cave support?

I can build a version of mame without patching diffs but when I patch in the hiscore/cave/groovy diffs they say it's correct but after a while of compiling I get an error.

Code: [Select]
Compiling src/osd/sdl/watchdog.c...
Compiling src/osd/sdl/sdlmidi.c...
Compiling src/osd/sdl/switchres.c...
make: *** No rule to make target `obj/sdl64/osd/sdl/dview.o', needed by `obj/sdl64/libosd.a'.  Stop.
make: *** Waiting for unfinished jobs....
Compiling src/osd/sdl/debugwin.c...

This is how I do it.

1. Fresh install of Ubuntu 13.10
2. Install tools needed:
sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libsdl1.2-dev libqt4-dev libqt4-gui libsdl-ttf2.0-dev
3. Get mame source from http://www.mamedev.org/release.html
4. Get groovymame diff from https://code.google.com/p/groovyarcade/downloads/list
5. Get latest hiscore and cave diff from http://www.systempixel.fr/extra/
6. I found that the diff files cannot be found correctly unless I run this from the /mame/src directory
Code: [Select]
~/mame/src$ find . -type f -not -name uismall.png | xargs perl -pi -e 's/\r\n?/\n/g'
~/mame/src$ patch -p1 < hi_151.diff
~/mame/src$ patch -p1 < 0151_groovymame_015.diff
~/mame/src$ patch -p1 < cavesh3_0151_new.diff
~/mame$ make TARGET=mame PYTHON=python2 OPTIMIZE=2

If I don't patch the diffs mame builds fine. Any ideas?

thanks.
« Last Edit: December 12, 2013, 11:06:20 pm by blontic »

blontic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:December 21, 2020, 08:03:28 am
Re: Compile Linux Groovymame with cave support
« Reply #1 on: December 12, 2013, 11:01:38 pm »
So it looks like a problem with the Groovy diff file. I'm still not sure what I need to do to fix this. Is this how other people compile in linux?

HERE WE GO! (hopefully)
You uncommented "NO_USE_QTDEBUG = 1" into "src/osd/sdl/sdl.mak" and this makes my system go crazy.
Now I have re-commented "NO_USE_QTDEBUG = 1" and trying to recompile.

PS: is there any reason you did that?

blontic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:December 21, 2020, 08:03:28 am
Re: Compile Linux Groovymame with cave support
« Reply #2 on: December 15, 2013, 09:05:39 pm »
Using the groovymame diff from this post I was able to compile the latest build in Linux using the above steps.

http://forum.arcadecontrols.com/index.php/topic,135823.msg1408492.html#msg1408492

machyavel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 67
  • Last login:December 25, 2016, 10:23:52 am
Re: Compile Linux Groovymame with cave support
« Reply #3 on: December 19, 2013, 04:47:34 pm »
I usually use this template for patching  "patch -p0 -E --binary < yourpatch"