SDL2 Android - Build with LLVM/Clang throws error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SDL2 Android - Build with LLVM/Clang throws error

Maarten Engels - Visual Productions
Hello everyone,

I am trying to port an application on android, and major parts of the src are written in c++11 so I need to build the source with LLVM/clang instead of GCC, because GCC 4.6 which is the last supported version has a bug and doesn't support major features.

Is there a known problem with SDL2 on android and LLVM/Clang?

Is there a workaround?

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SDL2 Android - Build with LLVM/Clang throws error

EternalLands
What error are you getting?
For me, it compiled just fine with clang for Android (I downloaded the latest ndk in October).

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SDL2 Android - Build with LLVM/Clang throws error

Maarten Engels - Visual Productions
In reply to this post by Maarten Engels - Visual Productions
Yeah I just tried to make it happen again to see the error and it works just fine Shocked

It was some sort of linking error, I guess the linking flag might had been wrong.

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Loading...