Hey
I tried to set up SFML for Android by following many guides like the Thread in this forum or the guide on Git but every way i found i get errors
I searched 3 days for a solution but i didn't find any so i hope i get help.
Forum Guide:
http://en.sfml-dev.org/forums/index.php?topic=13716.0Git Guide:
https://github.com/SFML/SFML/wiki/Building-SFML-for-AndroidBut every time i build it i get errors :/
Error by using MinGW MakeFiles on cmd: Command I used:
cmake -G "MinGW Makefiles" -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=9 -DANDROID_USE_STLPORT=TRUE -DCMAKE_TOOLCHAIN_FILE=B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\cmake\toolchains\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=B:\Bearbeitung\ProgrammierungAppAndroid\libs\android-ndk-r9\prebuilt\windows-x86_64\bin\make.exe
Error by using Visual C++ 2010 with CMake-Gui:Translated: The programm "B:\Bearbeitung\...\Debug\ALL_BUILD" could not be started. failed to find the target device
Compiler-Error Visual C++ by using CMD for building SFML:Command I used:
cmake -DANDROID_ABI=armeabi -DCMAKE_TOOLCHAIN_FILE=../../cmake/toolchains/android.toolchain.cmake ../..
1>------ Erstellen gestartet: Projekt: ZERO_CHECK, Konfiguration: Debug Win32 ------
1> Checking Build System
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/System/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/Main/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/Window/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/Network/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/Graphics/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/build/armeabi/src/SFML/Audio/CMakeFiles/generate.stamp is up-to-date.
2>------ Erstellen gestartet: Projekt: sfml-system, Konfiguration: Debug Win32 ------
3>------ Erstellen gestartet: Projekt: sfml-activity, Konfiguration: Debug Win32 ------
4>------ Erstellen gestartet: Projekt: sfml-main, Konfiguration: Debug Win32 ------
2> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/System/CMakeLists.txt
2> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\System\CMakeFiles\generate.stamp is up-to-date.
3> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/Main/CMakeLists.txt
4> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/Main/CMakeLists.txt
3> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\Main\CMakeFiles\generate.stamp is up-to-date.
4> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\Main\CMakeFiles\generate.stamp is up-to-date.
2>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
4>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
3>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
5>------ Erstellen gestartet: Projekt: sfml-window, Konfiguration: Debug Win32 ------
6>------ Erstellen gestartet: Projekt: sfml-audio, Konfiguration: Debug Win32 ------
5> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/Window/CMakeLists.txt
6> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/Audio/CMakeLists.txt
5> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\Window\CMakeFiles\generate.stamp is up-to-date.
6> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\Audio\CMakeFiles\generate.stamp is up-to-date.
6>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
5>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
7>------ Erstellen gestartet: Projekt: sfml-network, Konfiguration: Debug Win32 ------
7> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/Network/CMakeLists.txt
7> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\Network\CMakeFiles\generate.stamp is up-to-date.
8>------ Erstellen gestartet: Projekt: sfml-graphics, Konfiguration: Debug Win32 ------
7>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
8> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/src/SFML/Graphics/CMakeLists.txt
8> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\src\SFML\Graphics\CMakeFiles\generate.stamp is up-to-date.
8>cl : Befehlszeile error D8021: Ungültiges numerisches Argument /Wno-psabi.
9>------ Erstellen gestartet: Projekt: ALL_BUILD, Konfiguration: Debug Win32 ------
9> Building Custom Rule B:/Bearbeitung/ProgrammierungAppAndroid/libs/SFML/CMakeLists.txt
9> CMake does not need to re-run because B:\Bearbeitung\ProgrammierungAppAndroid\libs\SFML\build\armeabi\CMakeFiles\generate.stamp is up-to-date.
9> Build all projects========== Erstellen: 2 erfolgreich, Fehler bei 7, 0 aktuell, 0 übersprungen ==========
System:Windows 7 64bit
Programms:CMake 2.8.12.2
Android NDK 9r
newest Android SDK[/font]
If there's any information missing, i will add it.
I hope my English isn't so bad :S I beg your pardon.