bignsyd / gqe

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

GQE for SFML 2rc and CMake 2.8 #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
At the moment GQE is not compatible with SFML 2rc and CMake 2.8.
But the fixes are rather small:

CMake - the set_option isn't a valid command anymore. Creating a macro does 
solve this problem:

macro(set_option var default type docstring)
    if(NOT DEFINED ${var})
        set(${var} ${default})
    endif()
    set(${var} ${${var}} CACHE ${type} ${docstring} FORCE)
endmacro()

SFML's string class moved from the graphics package to the system package, thus 
the new include path is now:
<SFML/System/String.hpp>

Original issue reported on code.google.com by youtube@my-gate.net on 20 Apr 2012 at 12:25

GoogleCodeExporter commented 8 years ago
Uh can you explain to me where i have to put that in order to get things 
working as long this isn't changed in the package?

Original comment by niquedeg...@gmail.com on 20 Apr 2012 at 9:39

GoogleCodeExporter commented 8 years ago
For the CMake stuff: you just need to add this to the CMakeLists.txt in the 
root folder of GQE. (Or use my attached CMakeLists.txt)

The String thing: you'll have to replace every "#include 
<SFML/Graphics/String.hpp>" through "#include <SFML/System/String.hpp>" in 
every source file.

Original comment by l.duerre...@gmail.com on 20 Apr 2012 at 10:41

Attachments:

GoogleCodeExporter commented 8 years ago
I believe all of these issues are resolved in version 0.18, please let me know 
if it still doesn't work.  SFML 2.0 RC should work with version 0.18.

Original comment by RyanLind...@gmail.com on 22 Apr 2012 at 1:03