Hi,
I'm running 64bit Windows 8 and am having trouble with the initial setup.
I've managed to get the basic native-activity sample from android built using the command line, but am having difficulty setting up SFML for Android.
I've never used cmake before now so I'm not sure if I was doing it right, but I'll run you through the steps I took.
1. Downloaded the android-ndk
(Placed in C:/NVPACK/android-ndk)
2. Cloned the repo, and switched to the ios & android branch
(Placed in C:\Users\Matthew\Documents\GitHub\SFML)
3. Downloaded cmake 2.8.12.2 and ran the cmake-gui
3.1. Set source as C:/Users/Matthew/Documents/GitHub/SFML
3.2. Set destination as C:/Users/Matthew/Desktop/AndroidSMFL
3.3. Clicked configure
3.4. Specified generator as Visual Studio 10 with custom toolchain file for cross-compiling
(Toolchain at C:/Users/Matthew/Documents/GitHub/SFML/cmake/toolchains/android.toolchain.cmake)
3.5. Finish
3.6. (Receive error Could not find neither Android NDK nor Android standalone toolcahin.)
(Must specify ANDROID_NDK)
3.7. Added entry ANDROID_NDK as FILEPATH; C:/NVPACK/android-ndk
3.8. Ticked ANDROID_USE_STLPORT
http://i.imgur.com/Kq8hJaU.png3.9. Clicked configure again
http://i.imgur.com/RPG1Giq.png3.10. Clicked generate (no errors)
Contents of build location;
http://i.imgur.com/f86JLsy.png4. Downloaded cygwin64 with make
(Placed in C:/cygwin64)
4.1. Ran the following command;
C:/cygwin64/bin/make C:/Users/Matthew/Desktop/AndroidSFML
Failed
http://i.imgur.com/bAJRTlV.png4.2. Ran the following command;
C:/cygwin64/bin/make install C:/Users/Matthew/Desktop/AndroidSFML
Failed
5. Instead opened the C:/Users/Matthew/Desktop/AndroidSFML/SFML.sln using Visual Studios 10 Express
5.1. Right clicked on the INSTALL project and clicked Build
Failed
Build log -
http://pastebin.com/raw.php?i=qMRXSXAt5.2. C:\NVPACK\android-ndk\sources\sfml after INSTALL build was as follows;
http://i.imgur.com/AAru0cn.png(Images were large so I left them as links)
As I said I don't have much experience with cmake or the like, so any help would be greatly appreciated
Thanks,
Matthew