bignsyd / gqe

Automatically exported from code.google.com/p/gqe
MIT License
0 stars 0 forks source link

find_package no finds SFML #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. mkdir build
2. cd build
3. cmake -G "Unix Makefiles" ..

What is the expected output? What do you see instead?

CMake Error at cmake/Modules/FindSFML.cmake:165 (message):
  Could NOT find SFML (missing: SFML_AUDIO_LIBRARY SFML_GRAPHICS_LIBRARY
  SFML_WINDOW_LIBRARY SFML_SYSTEM_LIBRARY)
Call Stack (most recent call first):
  src/GQE/Core/CMakeLists.txt:55 (find_package)

What version of the product are you using? On what operating system?

GNU/Linux Mint 11.

Please provide any additional information below.
SFML 1.6 installed trough debian package system.

Original issue reported on code.google.com by teritri...@gmail.com on 26 Jun 2011 at 11:22

GoogleCodeExporter commented 8 years ago
I have confirmed that I can reproduce this bug and a few other Linux/MacOS 
build related problems.

Original comment by RyanLind...@gmail.com on 28 Jun 2011 at 3:25

GoogleCodeExporter commented 8 years ago
I have confirmed a fix for this and am working on making sure Doxygen and the 
examples will compile under Linux.

Original comment by RyanLind...@gmail.com on 28 Jun 2011 at 3:26

GoogleCodeExporter commented 8 years ago
I have correct this and a few other build warnings under linux.

Original comment by RyanLind...@gmail.com on 28 Jun 2011 at 4:41

GoogleCodeExporter commented 8 years ago
This is only fixed under Linux.  It still doesn't work under MacOSX.  It's been 
years since I've worked with CMake except to build other people's scripts so 
I'm not sure how to fix it.

Original comment by samueldc...@gmail.com on 1 Jul 2011 at 3:56

GoogleCodeExporter commented 8 years ago
Thanks for the heads up.  Can you please provide the exact path to where the 
SFML libraries can be found and the exact filename shown.  Usually there is a 
generic link to the real file shown (at least under linux that was the case).  
Also, the exact path to the INCLUDE headers as well.

Original comment by RyanLind...@gmail.com on 1 Jul 2011 at 12:58

GoogleCodeExporter commented 8 years ago
Under windows to config CMake you need to add a new variable 'SFMLDIR' to the 
settings with the path to SFML.
Isn't it possible to provid already an empty 'SFMLDIR' variable?

Also would it be nice if CMake adds the location of SFML automaticly to the 
VS2010 project files, so I don't have to add them in GQE core & tictactoe.

Original comment by youtube@my-gate.net on 29 Aug 2011 at 11:49

GoogleCodeExporter commented 8 years ago
I found an issue with the FindSFML cmake file when using MinGW compilers. This 
issue should be fixed with version 0.12.

Original comment by RyanLind...@gmail.com on 29 Jan 2012 at 3:57