SFML community forums
Help => General => Topic started by: Srejv on November 27, 2007, 06:27:49 pm
-
I've been trying to compile the libaries using codeblocks (got the latest stuff from svn), but at first it depened on devIL, so I removed that, but now it only compiles the debug libs. :(
What to do?
-
Okay, I found what was wrong. I had chosen "Debug" as target build. :) My bad.
-
Okay, so I've built the static libraries (for MingW), and now I'm trying to compile a simple window application. I get reference errors to the opengl lib from the graphics lib. :/ Also getting reference errors to win32 specific stuff.
I dunno what to do. :(
-
In static build, the external libraries are not linked automatically, so you have to do it in each program using SFML.
To include the external libraries directly into the SFML ones, like I do, you would have to do an extra-step using some Linux utilities (basically it just consists of unpacking the static libraries and adding their contents to the SFML ones -- gcc libs are just archives of object files). Unfortunately, I still haven't found the way to integrate it as a post-process step into the compiling, so you have to download the utilities and do it manually. You can find those utilities in Cygwin, for example.
-
To include the external libraries directly into the SFML ones, like I do, you would have to do an extra-step using some Linux utilities (basically it just consists of unpacking the static libraries and adding their contents to the SFML ones -- gcc libs are just archives of object files). Unfortunately, I still haven't found the way to integrate it as a post-process step into the compiling, so you have to download the utilities and do it manually. You can find those utilities in Cygwin, for example.
Could you write some kind of howto? (even if a short one) Please? :roll:
-
Yep, I'll try to do it as soon as possible.