casm |
Cinematronics > *
|
|
|
Reged: 08/27/07
|
Posts: 668
|
|
|
Send PM
|
|
|
Problems compiling 0.146 on OS X 10.8.1
#295591 - 09/12/12 05:08 AM
|
|
|
Apologies if this is the wrong place for this post, but I evidently don't have access to the compiling board. Anyway...
I'm trying to build MAME 0.146 on OS X 10.8.1 under XCode 4.4.1, SDL 1.2.15 from libsdl.org (.dmg installer version), and the bundled Apple version of X11. This is for a 64-bit target on an i7 MacBook Pro. Here's what I keep getting at build time:
Compiling src/osd/sdl/sdlos_macosx.c... In file included from src/osd/sdl/sdlinc.h:16, from src/osd/sdl/sdlos_macosx.c:20: /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:58:22: error: X11/Xlib.h: No such file or directory /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:59:23: error: X11/Xatom.h: No such file or directory In file included from src/osd/sdl/sdlinc.h:16, from src/osd/sdl/sdlos_macosx.c:20: /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:76: error: ‘XEvent’ does not name a type /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:89: error: expected ‘;’ before ‘*’ token /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:90: error: ‘Window’ does not name a type /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:104: error: ‘Window’ does not name a type /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:105: error: ‘Window’ does not name a type /Library/Frameworks/SDL.framework/Headers/SDL_syswm.h:110: error: expected ‘;’ before ‘*’ token make: *** [obj/sdl64/osd/sdl/sdlos_macosx.o] Error 1
I've tried pointing the makefile towards SDL built out of Macports, but that's not any better. Not quite sure where the issue is... But I should mention that this machine just had a failed HDD replaced under warranty, which means I may not have the environment set back up correctly yet, or could be missing tools needed for the build.
Any ideas? Google hasn't given me anything solid to go on yet.
Edited by casm (09/12/12 05:10 AM)
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Problems compiling 0.146 on OS X 10.8.1
[Re: casm]
#295603 - 09/12/12 06:50 AM
|
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Problems compiling 0.146 on OS X 10.8.1
[Re: casm]
#295627 - 09/12/12 05:33 PM
|
|
|
> I'm trying to build MAME 0.146 on OS X 10.8.1 under XCode 4.4.1, SDL 1.2.15 from > libsdl.org (.dmg installer version), and the bundled Apple version of X11. This is > for a 64-bit target on an i7 MacBook Pro. Here's what I keep getting at build time:
10.8 is supported by current SVN and will be fully supported in 0.147; 0.146 can't be built on that OS as you've noticed.
|
|
|
casm |
Cinematronics > *
|
|
|
Reged: 08/27/07
|
Posts: 668
|
|
|
Send PM
|
|
|
Re: Problems compiling 0.146 on OS X 10.8.1
[Re: R. Belmont]
#296290 - 09/22/12 12:42 AM
|
|
|
> 10.8 is supported by current SVN and will be fully supported in 0.147; 0.146 can't be > built on that OS as you've noticed.
Thanks for that; the OS change hadn't even occurred to me. They returned the machine with a fresh install of Mountain Lion as a courtesy, and because I didn't run the upgrade myself it hadn't really sunk in as to what I was running yet. I'll bump up to 0.147 tonight and see how it goes
|
|
|