Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rumgot

Pages: [1]
1
But later, when I executed a command
ndk-build
I got an error:
undefined reference to 'sf::String::String(char const*, std::__ndk1::locale const&)'
So while I will use android-ndk-r12b.

2
Build SFML-library not so:
cmake -DANDROID_ABI=armeabi-v7a -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchains/android.toolchain.cmake ../..

But like this:
cmake -DANDROID_ABI=armeabi-v7a -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchains/android.toolchain.cmake -DANDROID_STL=stlport_static ../..

Or this:
cmake -DANDROID_ABI=armeabi-v7a -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchains/android.toolchain.cmake -DANDROID_STL=stlport_shared ../..

Allowed values for the parameter ANDROID_STL can be seen in the file
<SFML_DIRECTORY>/cmake/toolchains/android.toolchain.cmake

These steps I checked on SFML-2.4.1.

Pages: [1]