entry point (_main) undefined |
divad
|
Is it kosher to bump threads? I just can't believe no one else has run into this where the SDL entry point works in the ios simulator but not on a real device... especially with ~700 views of this question...
|
|||||||||||
|
entry point (_main) undefined |
Ryan C. Gordon
Guest
|
On 06/22/2015 11:43 AM, divad wrote:
Is it possible you don't have SDLmain included in the build when targeting a real device, or maybe SDLmain doesn't have support for the real device's architecture so the linker is rejecting it? --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
divad
|
So, the problem is that I was calling the configure script before before building the ios project, because I was building for a different platform beforehand. What arguments should I pass the configure script as to make building ios equivalent to never having run it? I don't really know what that script does, but it changes some source code #defines or something right?
|
|||||||||||
|
entry point (_main) undefined |
Ryan C. Gordon
Guest
|
On 06/24/2015 02:09 PM, divad wrote:
build in a separate directory: mkdir build1 cd build1 ../configure for whatever for platform make cd .. mkdir build2 cd build2 ../configure for whatever _different_ platform Alternately, you can try deleting your build dir manually, or "make distclean" to delete everything away from a previous configure. --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|