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

Pages: [1]
1
C / Shape.h missing?
« on: February 11, 2012, 06:41:02 pm »
SFML/Graphics.h includes SFML/Graphics/Shape.h, which is currently missing in the CSFML sources. Is this known?

And while we're at it: Will CSFML follow the new SFML naming convention and switch to lowercase letters (i.e. sfFloatRect_contains instead of sfFloatRect_Contains)?

2
C / Problem configuring csfml2 with cmake
« on: February 10, 2012, 10:34:53 am »
I got it to work now! The problem was, that I should have compiled SFML into a static library (see line 19 in the CSFML/src/SFML/CMakeLists.txt).

Thanks for your help!

Quote
Where did you read that?

You posted it here: http://www.sfml-dev.org/forum/viewtopic.php?p=31246#31246

3
C / Problem configuring csfml2 with cmake
« on: February 10, 2012, 09:31:20 am »
Quote
Did you compile SFML first?

Yes, I have all the sfml-*-2.dll files in "C:/dev/libs/SFML/bin" and all the libsfml-*.a (without the 2 suffix - is that correct?) files in "C:/dev/libs/SFML/lib".

Quote
This is the expected behaviour.

Ah, I misinterpreted this statement then: "You must have installed SFML 2 before, and if you did it successfully, the FindSFML.cmake file should have been copied to your CMake directory."

4
C / Problem configuring csfml2 with cmake
« on: February 09, 2012, 11:31:28 pm »
I'm also having trouble configuring CSFML. I built and installed SFML2 successfully in "C:/dev/libs/SFML" using MinGW and MSYS and the current files from GitHub. However when trying to build CSFML, I get the following error message:
Code: [Select]
CMake Error at c:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindSFML.cmake:165 (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:22 (find_package)


This is my configuration (using cmake-gui):



Did I forget to define a variable?

Btw: mingw32-make install didn't install the Find*.cmake files in the corresponding directory of my CMake installation - I had to copy them myself.

Pages: [1]