What's new

Help compiling SFGUI

mendus

New member
Hi everyone,

I recently retook a GB emu project I started some time ago and I wanted to write a GUI for it and for a debugger. I thought of using SFGUI for that because I am using SFML for video output and it seems really simple, exactly what I wanted for a project like this one.

However, I have a problem. SFGUI must be compiled from code, and even following the instructions in their website I have been unable to build it.

I have been able to use CMake to create the project, but when I try to do the last step I get the following error:

Code:
[  1%] Linking CXX shared library lib\sfgui.dll
g++.exe: error: unrecognized command line option '-shared-libstdc++'
CMakeFiles\sfgui.dir\build.make:2205: recipe for target 'lib/sfgui.dll' failed
mingw32-make[2]: *** [lib/sfgui.dll] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/sfgui.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/sfgui.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

I dont know how to interpret this. I am using Windows and MinGW compiler I downloaded (version 4.8). I am not sure if it is this one that is being used or the one that was installed previously with codeblocks, however.

Can anyone help me in the matter?
Thank you beforehand.
 

Top