[hatari-devel] Compiling with SDL2 without osx-bundle on OSX fails |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Compiling with SDL2 without osx-bundle on OSX fails
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sun, 7 Sep 2014 15:54:07 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=GZqZcxcfj41OH3J7JeHR9bo8SXBVxOdb7wySBPNcEu8=; b=oHo0oJxG2I5vQQqJJGqzAqBG/+bvBWIYh8sefqypAiaEsPwdikBibUPmay1u4zSIa8 MvN2zs8uAd0ieoAOVhJxwFKfPTyiiLZqd/nO/DNpIwIdFaOtkSuYH1Arvlpygnl2ntJ4 3m5/msbzo3tmHIO0hzQBviuojUKKNpqZHXiakOb+lpc/wm2jg5TRRIahHFjMKYkVJDnK HdLmt3oJbs9uFw+Vx/EpXXnEhR65TdXZHi19yGYBZ7IOZVBpOugmlpwxGxbzChP9kjGj yrnWKMc5Ck2B4pf2Hd1a45BBkdPMR+ckdvGK5xe9oRm8U5DLF1koN5hg0SYuoFHhVa7Q sSzA==
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)