Re: [hatari-devel] SDL2 support (OS X)

[ Thread Index | Date Index | More Archives ]

Am Sun, 3 Aug 2014 21:54:48 -0500
schrieb Bob Carpenter <hatari@xxxxxxxxxx>:

> In my attempts to get the OS X bundle to compile, I am stuck by one
> last error (unless more errors appear after I solve this error):
> Undefined symbols for architecture x86_64:
>   "_SDL_main", referenced from:
>       -[HatariAppDelegate applicationDidFinishLaunching:] in SDLMain.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)

Just for a test ... could you try to rename the main() function in
src/main.c to SDL_main() instead?


Mail converted by MHonArc 2.6.19+