The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
2.0.4 android compilation error
psinus


Joined: 18 Jun 2016
Posts: 2
Hi.
I try to compile sdl version 2.0.4 to android.
Get error message:

[armeabi] SharedLibrary : libSDL2.so
jni/SDL/src/dynapi/SDL_dynapi_procs.h:172: error: undefined reference to 'SDL_GetBasePath_REAL'
jni/SDL/src/dynapi/SDL_dynapi_procs.h:172: error: undefined reference to 'SDL_GetPrefPath_REAL'
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi/libSDL2.so] Error 1

if i comment out this lines libs compiling , but on android apps does not work.

with 2.0.3 app compiling fine.

What should i do to remove this error ?
psinus


Joined: 18 Jun 2016
Posts: 2
ubuntu 14.04
ubuntu 16.04