-
Notifications
You must be signed in to change notification settings - Fork 62
General:
- Why aren't there precompiled libraries available for download?
- Why isn't there support for older Visual Studio/GCC/whatever versions?
- Can SFGUI be used with SDL or other libraries/frameworks?
- What's
sfg::SFGUI
for?
Building:
- CMake can't find FindSFML.cmake
- CMake can't find SFML.
- CMake can't find GLEW.
- Can I build a static version of SFGUI?
- There are errors when I try to use my static SFGUI build.
- Can I link SFML statically into SFGUI?
Widgets:
In the past (prior to version 0.2.0) we provided precompiled binaries. However, starting with the massive C++11 changes we did in the codebase, it got harder to maintain those binaries for all possible setups (multiple GCC versions, multiple VC++ versions, multiple Clang versions, multiple MinGW versions, multiple operating systems etc.
Besides of that, we think that developers who want to try out SFGUI will have no difficulties building the library themselves.
SFGUI makes use of modern C++11 features,
such as range-based for
loops, std::function
, std::bind
, move semantics
and many more. If you're using a compiler that does not yet support those
features, you won't be able to use SFGUI. Please upgrade your toolchain.
That's not (yet) possible.
See the Hello World page in the user guide.
Set the CMake variable SFML_ROOT
to the path where you've installed SFML.
As explained on the installing page (section Build options),
simply set SFGUI_BUILD_SHARED_LIBS
to FALSE
. When using a static SFGUI
library in your project, make sure to define the macro SFGUI_STATIC
in your
project.
Make sure to define the macro SFGUI_STATIC
in your project. Additionally make
sure to link against all of SFGUI's dependencies.
Yes, set SFML_STATIC_LIBRARIES
to TRUE
.
We only implement widgets that we need ourselves. SFGUI is a non-profit open source project. We are happy if people contribute to the project.
You can either use the function SetProperty()
of sfg::Desktop
or load a
theme file using LoadThemeFromFile()
(also in sfg::Desktop
).
Read the style reference to see what properties exist and the API reference to lookup the mentioned functions to see how they work.