MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1

Llaffer
MAME Fan
Reged: 05/04/11
Posts: 231
Send PM


compiling MacOS version of 156 problems?
#334725 - 11/29/14 06:46 PM


Not sure if this is a good place to put it since the old "compiling board" no longer exists.

I usually compile a MacOS version of MAME when new source code comes out. I've been doing so for maybe 6-9 months now and posting the binaries on Usenet.

With 156, I get the following error:


Code:

Compiling src/osd/sdl/sdlwork.c...
In file included from src/osd/sdl/sdlsync_ntc.c:16:
src/osd/sdl/sdlinc.h:5:10: fatal error: 'SDL2/SDL.h' file not found
#include
^
1 error generated.
make: *** [obj/sdl64/osd/sdl/sdlsync_ntc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/osd/sdl/sdlos_macosx.c:20:
src/osd/sdl/sdlinc.h:5:10: fatal error: 'SDL2/SDL.h' file not found
#include
^
1 error generated.
make: *** [obj/sdl64/osd/sdl/sdlos_macosx.o] Error 1





Looks like a file is missing from the SDL subdirectory? anyone else still compile Mac versions able to get it working?

thanks.



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4463
Loc: Melbourne, Australia
Send PM


Re: compiling MacOS version of 156 problems? new [Re: Llaffer]
#334737 - 11/30/14 01:26 AM


You need to install SDL2. It's just like installing SDL, but you use SDL2.framework now.



etabeta
Reged: 08/25/04
Posts: 2036
Send PM


Re: compiling MacOS version of 156 problems? new [Re: Vas Crabb]
#334758 - 11/30/14 03:48 PM


> You need to install SDL2. It's just like installing SDL, but you use SDL2.framework
> now.

or if you don't want to update to SDL2 for whatever reason, you can still compile with your current setup by adding


Quote:


SDL_LIBVER=sdl




in the command line



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: compiling MacOS version of 156 problems? new [Re: etabeta]
#335357 - 12/22/14 04:47 AM


> > You need to install SDL2. It's just like installing SDL, but you use SDL2.framework
> > now.
>
> or if you don't want to update to SDL2 for whatever reason, you can still compile
> with your current setup by adding
>
> SDL_LIBVER=sdl
>
> in the command line

But SDL2 lets you go full screen on multiple monitors, so you'd really be missing out


Pages: 1

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
0 registered and 50 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3340