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 - johnjoemcbob

Pages: [1]
1
General discussions / Re: Android and iOS ports available for testing
« on: March 07, 2014, 09:53:06 pm »
Thanks, this helps a lot.
However I now have problems during the make install process,

I used the cmake-gui and had CMAKE_MAKE_PROGRAM set as C:/MinGW/bin/g++.exe

(Built it to C:/Users/Matthew/Desktop/AndroidSFML using the gui)
Then when I ran 'make install' in the directory this happened;
http://pastebin.com/raw.php?i=t4ErTTLN

Edit:
Changed STLPORT to disabled and it compiles but then crashes with no errors as Sonkun said it would

(Only crashes when trying to load in assets, otherwise runs fine.)

2
General discussions / Re: Android and iOS ports available for testing
« on: March 07, 2014, 05:47:52 pm »
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.png

3.9. Clicked configure again
http://i.imgur.com/RPG1Giq.png

3.10. Clicked generate (no errors)
Contents of build location;
http://i.imgur.com/f86JLsy.png

4. 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.png

4.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=qMRXSXAt

5.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

Pages: [1]