[hatari-devel] Compiling with SDL2 without osx-bundle on OSX fails

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Linking C executable hatari
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
     (maybe you meant: _SDL_main)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/hatari] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2

If I don't supply --disable-osx-bundle it compiles (or links, which
really is the problem)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/