SFML community forums
Help => General => Topic started by: kitchen on June 14, 2010, 01:03:54 am
-
Is there a way to do this using make for the current snapshot of SFML 2? A variable to set to true perhaps? If not, what do I need to change so it will work.
-
There's no way to build static libraries on Linux. It's usually a bad idea, why do you need to do that?
-
There's no way to build static libraries on Linux. It's usually a bad idea, why do you need to do that?
I'm having trouble with linking the dynamic libraries without installing them. I've got it working now though (building the static libraries, that is).
-
And on Windows, can we compile the sfml 2 as a static library?
-
Sure.
Now that I use CMake it's even available on other OSes, but not convenient (you have to link to all the SFML dependencies in your own project). Static build is encouraged only on Windows.
-
Ok.
But how can I do to compile in static on Windows? I can't find this :oops:
Must I add the SFML_STATIC preproc variable in every vcproj (sfml-windows, sfml-graphics, etc.)?
-
Everything you need to know is there
http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php