SFML community forums

Help => General => Topic started by: FooFoo on May 07, 2013, 06:15:37 pm

Title: problems with SFML installation
Post by: FooFoo on May 07, 2013, 06:15:37 pm
I installed SFML before and didn't have problems. This time I can't make it work. I followed the tutorial, typed in the 'include' and 'lib' paths correctly, also typed in the smfl-graphics.lib, afml-system.lib etc.

I first had an error saying there were no files such as sfml-graphics-2.dll, sfml-system-2.dll etc. I copied the files from the included folder into Windows/System32 folder and SFML worked. An example with the circle from the tutorial was fine. However I encountered some basic errors during compilation e.g. sf::image.

What could be wrong? What should I fix? Please advise.
Title: Re: problems with SFML installation
Post by: zsbzsb on May 07, 2013, 11:18:18 pm
Please post more information. Exactly what error message did you get? When did you get the message? When compiling? Runtime? What compiler and os do you have? Where did you get SFML?

Also make sure you are not mixing release/debug versions of SFML.

Quote
I copied the files from the included folder into Windows/System32 folder and SFML worked.
Do not just copy stuff into System32 folder. Keep the SFML dlls along side your compiled .exe application.