SFML community forums
Help => General => Topic started by: VisualProgrammer on August 14, 2011, 02:08:25 pm
-
Hi There,
I'm pretty new to SFML Programming with C++ and i just followed some tutorials on the site' where the explain where you can put the SFML Libraries and link them to you're project. But unfortunately when i compile i dont see nothing or i get a error message that sfml-system "-s"-d" are missing from my computer, and i didn't get any dynamic libraries with me: downloading the full source development kit. I've followed everything widely from the tutorial section and some other videos on YouTube where they put the sfml-system "-s"-d" lib in the Debug Category | ActiveWin32 Category | etc.. So whats the problem?
-
What IDE/compiler? Which SFML version?
The ones with "-s" are static libraries, they don't need DLLs. The libraries without "-s" are dynamic/shared libraries, you need to put the directory of the DLLs to the path environment variable.
By the way, there are hundreds of topics like this on the forum, the search could help you, too.
-
What IDE/compiler? Which SFML version?
The ones with "-s" are static libraries, they don't need DLLs. The libraries without "-s" are dynamic/shared libraries, you need to put the directory of the DLLs to the path environment variable.
By the way, there are hundreds of topics like this on the forum, the search could help you, too.
I'm using Visual Studio C++ Express 2010 and SMFL Version 1.6 "Current Version" it says
Source: http://www.sfml-dev.org/tutorials/
-
Part of a tutorial I am writing, but isn't quite ready for prime time has exactly the answers you are looking for.
I can use you as a gueinea pig, let me know if it helps you out.
Part One (http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition-The-Introduction.aspx)
Part Two (http://www.gamefromscratch.com/page/Game-From-Scratch-CPP-Edition-Part-1.aspx)
Visual Studio 2010 has a few quirks for a beginner developer to get using SFML. I hope its not an issue to provide compiled for 2k10 binaries?
-
Well you know, all of these shit's sfml-system lib by placing it where you solution is can be easily done by placing it in the real directory:
C:\\Windows\\System\\ place all dll's there
And I've all ready tried that my friend. Let's say everything i just get that 0x5 error. when i start playing sfml/graphics.. Don't know about the rest yet because im now focusing on that now.
the application was unable to start correctly (0xc0150002) click ok to close etc...
-
Oh trust me, you don't want to put development libraries in the system32 folder, it is going to make your debugging process an absolute nightmare! It adds a whole layer of "which dll am I running???"
Granted, dll loading preference goes
1) implicitly defined locations
2) executables run directory
3) system32 directory
4) in system path
However, sometimes figuring out just where the heck the executable run directory actually is can be a nightmare!
By putting them in System32, it is going to be run by default if you made a mistake.
-
I didn't say system32, i said system.
-
I didn't say system32, i said system.
Same deal, except that system has been deprecated. System is simply the legacy version of System32 from the win32 days.
Same end result.