MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

casm
Cinematronics > *
Reged: 08/27/07
Posts: 668
Send PM
Compile failure under OS X 10.10 / XCode 6.1
10/27/14 09:04 AM


Just did a complete clean install of OS X 10.10, XCode 6.1 (with 6.1 commandline tools), and SDL 1.2.15 native on the MacBook Pro. `make -j8` fails for 0.155 with the following:


Code:


Objective-C compiling src/osd/sdl/SDLMain_tmpl.m...
Compiling src/osd/sdl/sdlmain.c...
Compiling src/osd/sdl/input.c...
Compiling src/osd/modules/sound/sdl_sound.c...
Compiling src/osd/sdl/video.c...
Compiling src/osd/sdl/drawsdl.c...
Compiling src/osd/sdl/window.c...
Compiling src/osd/sdl/output.c...
src/osd/sdl/SDLMain_tmpl.m:228:24: error: incompatible pointer types sending
'SDLMain *' to parameter of type 'id'
[-Werror,-Wincompatible-pointer-types]
[NSApp setDelegate:sdlMain];
^~~~~~~
1 error generated.
make: *** [obj/sdl64/osd/sdl/SDLMain_tmpl.o] Error 1
make: *** Waiting for unfinished jobs....
roflcopter:mame casm$



After some issues with doing an in-place upgrade from OS X 10.9 to 10.10, I did a complete slash & burn of the machine and reinstalled the OS from scratch; there's no cruft from the previous OS, libsdl, or XCode hanging around.

I can't remember which version of libsdl I was building against under 10.9, but I'm fairly certain that it was 1.2.15. My suspicion is that something changed in XCode 6.1, but I'm not quite sure what (or if that's even a correct assumption on my part). Anyone else running into this?







Entire thread
Subject Posted by Posted on
* Compile failure under OS X 10.10 / XCode 6.1 casm 10/27/14 09:04 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 513 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1271