1
General discussions / Build SFML to Android-Port with VS 2015
« on: March 28, 2016, 03:39:12 pm »
Hey @all,
at first let me point out, that i'm new to this forum (forwarded from the german SFML-forum) and maybe this topic need to be moved!
Microsoft introduced native-android-development with VS 2015. I tried to build the SFML-libs with VS 2015 but had no success.
I tried some different "google-results", but nothing worked:
I've used this tutorial with the following result:
Next, i found an interesting MS-article, about a patched CMake-Version.
By following the steps, CMake starts working, but i got this error-msg:
I'm not that familiar with CMake to fix this error. So maybe u can help me?
Or at least u've some tips or experience building SFML to Android with VS 2015.
Also i could use Android Studio, but i don't like the eclipse-like IDE, but if its more easier, i would try it ;-)
thanks!
Hlymur
at first let me point out, that i'm new to this forum (forwarded from the german SFML-forum) and maybe this topic need to be moved!
Microsoft introduced native-android-development with VS 2015. I tried to build the SFML-libs with VS 2015 but had no success.
I tried some different "google-results", but nothing worked:
I've used this tutorial with the following result:
Code: [Select]
CMAKE_SYSTEM_NAME is 'Android' but CMAKE_GENERATOR specifies a platform to: 'Visual Studio 14 2015 ARM'
Next, i found an interesting MS-article, about a patched CMake-Version.
By following the steps, CMake starts working, but i got this error-msg:
Code: [Select]
CMake Error at src/SFML/Graphics/CMakeLists.txt:119 (find_host_package):
Unknown CMake command "find_host_package".
By using this command:Code: [Select]
cmake -G "Visual Studio 14 2015 ARM" -DCMAKE_SYSTEM_NAME=VCMDDAndroid -DANDROID_ABI=armeabi -DANDROID_NDK=C:\ProgramData\Microsoft\AndroidNDK\android-ndk-r10e ..\..
I'm not that familiar with CMake to fix this error. So maybe u can help me?
Or at least u've some tips or experience building SFML to Android with VS 2015.
Also i could use Android Studio, but i don't like the eclipse-like IDE, but if its more easier, i would try it ;-)
thanks!
Hlymur