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

Pages: 1 [2] 3 4 5
16
DotNet / Re: System.AccessViolation
« on: May 26, 2014, 11:18:57 am »
Update: The last remaining AccessViolations dissappeared after I started using another texture constructor:

https://github.com/SFML/SFML.Net/pull/60

myl

17
C / Re: CSFML cmake broken?
« on: May 22, 2014, 06:19:52 pm »
It's not a minor issue, blending won't work without that. I suggest you use an older SFML revision (b7c536c) until this is implemented.

By minor I meant that the problem is not related to my CSFML on iOS foray :)

Thanks! I will roll back.

myl

18
C / Re: CSFML cmake broken?
« on: May 22, 2014, 04:45:31 pm »
Thanks Laurent for the -NOTFOUND tip!

I still have no idea what caused the issue, but I filled in the -NOTFOUND paths for the lib files, which now let's me generate and build CSFML statically in XCode based on my iOS SFML libs. Yay!

To build CSFML, I changed the Base SDK to iOS 7.1 for the generated CSFML project. Can you think of anything I forgot or should my CSFML iOS libs be all set for consuming in an iOS project now (champagne bottle popping time)?

I did run into one build error on the way, which i suspect is minor (I commented out the line for now, to let me build).

This line of SFML/Graphics/ConvertRenderStates.hpp throws the attached error:
sfmlStates.blendMode = static_cast<sf::BlendMode>(states->blendMode);

myl

19
C / Re: CSFML cmake broken?
« on: May 22, 2014, 01:26:17 pm »
My mistake. Built for release. The updated file listing:
http://pastebin.com/ZVzh5NLu

I get the same error though :/

myl

20
C / Re: CSFML cmake broken?
« on: May 22, 2014, 01:10:01 pm »
I've just verified that BUILD_SHARED_LIBS was false in SFML CMake (Although I guess the IOS true flag enforces that?).

The full listing for the files in the Install directory:
http://pastebin.com/29CH3ryx

Thanks!
myl

21
C / Re: CSFML cmake broken?
« on: May 22, 2014, 12:40:03 pm »
Aah ok. The CSFML CMake mystery is starting to dawn on me :)

I've set the CMAKE_INSTALL_PREFIX for SFML to a custom path (SFMLiOS/lib/Install/) and built install in XCode, this produces a directory containing the headers, libs and some cmake files where I want it. So far so good.

CMake configure for CSFML is giving the same error. So just to clarify, all I've done with CSFML CMake:
CMAKE_MODULE_PATH is SFMLiOS/lib/Install/cmake/Modules
SFML_ROOT is SFMLiOS/lib/Install/

Exact error:

CMake Error at /Users/myl/Projects/beat/github/SFMLiOS/lib/Install/cmake/Modules/FindSFML.cmake:307 (message):
  Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY
  SFML_NETWORK_LIBRARY SFML_GRAPHICS_LIBRARY SFML_AUDIO_LIBRARY)
Call Stack (most recent call first):
  src/SFML/CMakeLists.txt:24 (find_package)


Configuring incomplete, errors occurred!
See also "/Users/myl/Projects/beat/github/CSFMLiOS/CMakeFiles/CMakeOutput.log".


myl

22
C / Re: CSFML cmake broken?
« on: May 22, 2014, 11:46:24 am »
That must be the problem. I am just using the build directory. Where is my Install directory (how do I install after building in XCode?).

myl

23
C / Re: CSFML cmake broken?
« on: May 22, 2014, 11:33:06 am »
The error message i get:

CMake Error at /Users/myl/Projects/beat/github/SFML/cmake/Modules/FindSFML.cmake:307 (message):
  Could NOT find SFML (missing: SFML_SYSTEM_LIBRARY SFML_WINDOW_LIBRARY
  SFML_NETWORK_LIBRARY SFML_GRAPHICS_LIBRARY SFML_AUDIO_LIBRARY)
Call Stack (most recent call first):
  src/SFML/CMakeLists.txt:24 (find_package)


Configuring incomplete, errors occurred!
See also "/Users/myl/Projects/beat/github/CSFMLiOS/CMakeFiles/CMakeOutput.log".


myl

24
C / Re: CSFML cmake broken?
« on: May 22, 2014, 11:07:24 am »
Heheh, on it!

But I've stalled at CMake of CSFML. What parameters should be set to what exactly? I've tried adding CMAKE_MODULE_PATH to SFML/cmake/Modules where SFML is the path of cloned SFML repo. I get "Could NOT find SFML" from FindSFML.cmake .

I also tried setting SFML_ROOT to the path of my freshly built SFML for iOS libs.

myl

25
C / Re: CSFML cmake broken?
« on: May 22, 2014, 10:49:05 am »
Maybe it is possible, with some hacks. I don't know. I've never done it, actually. So... go ahead and try ;)

Hahaha, you don't sound very convinced :)

Do you mean hacks when compiling CSFML statically for iOS? Or hacks with the .Net binding?

myl

26
C / Re: CSFML cmake broken?
« on: May 22, 2014, 10:27:48 am »
You'll never be able to do that. iOS only accepts static libraries, and CSFML / SFML.Net is full of shared libraries, and nothing can be done about it.

So you are saying it will never be possible to build CSFML statically for iOS? The .Net bridge from there shouldn't cause major problems:
Quote
Xamarin.iOS supports linking with both native C libraries and Objective-C libraries.
(from http://docs.xamarin.com/guides/ios/advanced_topics/native_interop/)

myl

27
C / Re: CSFML cmake broken?
« on: May 21, 2014, 10:02:09 pm »
Hey.

I agree with the above. It would really be nice with a step by step guide to building CSFML. I've done it before, but it is never a breeze like SFML.

My current goal is to have the .Net binding (that uses CSFML) working on iOS. For this to happen, I've:
1. Cloned SFML repo
2. Used CMake to generate build scripts for iOS by adding the parameter IOS to true.
3. Built SFML in xcode
4. Cloned CSFML
5. I've stalled at CMake of CSFML. What parameters should be set to what exactly? I've tried adding CMAKE_MODULE_PATH to SFML/cmake/Modules where SFML is the path of cloned SFML repo. I get "Could NOT find SFML" from FindSFML.cmake .

Help is appreciated!

myl

28
I thought it was already fixed... I'll take care of that ASAP.

Thanks! :)

29
The current master branch does not compile for iOS. I have generated build scripts with the IOS parameter set to true.

JoystickImpl member getIdentification is missing (I see the android version for this was fixed a month ago). In addition I get a couple of GL related errors (ss attached).

myl

30
General discussions / Re: Android and iOS ports available for testing
« on: April 07, 2014, 11:40:28 am »
Hi,

Am I the only one getting an error message telling that 'EGL/egl.h file not found', when building for iOS?

I've looked through the whole post, and it doesn't seem that anyone else have the same problem.

I'm running OSX 10.9 Mavericks, iOS 7 on x64 simulator.

/Kenneth

I have the same issue (and the same system configuration).

I also have this issue on the same system configuration.

It seems building for iOS is broken at this point. But I successfully build https://github.com/SFML/SFML/tree/7ba4458bea396434eb29b0e1cc19fe0104747d1c

myl

Pages: 1 [2] 3 4 5