Wich one do i need to download? |
I recommend getting SFML 2.0, as it's significantly better than 1.6. You have to download the source and compile it yourself.
Download link is here:
https://github.com/LaurentGomila/SFML/tarball/master
It's in .tar.gz format, so you will need an archiving program to extract it. I use 7-Zip, which is free:
http://www.7-zip.org/ (installer download links are at the very top of the page, can't miss them)
Once you extract the source, you can compile it. There's a step-by-step tutorial here:
http://sfml-dev.org/tutorials/2.0/compile-with-cmake.php
I think Dev-C++ uses MinGW, so follow the steps that the page tells you to do for MinGW environment (ie, make a MinGW makefile, etc).
I also recommend making a "static library" build, rather than dynamic. So tweak that option in CMake as well.
Once it's installed:
#include <sfml/graphics.hpp>
Does it work for other compilators apart from visual c++? |
It works with any reasonably modern compiler.
Note that Dev-C++ uses an extremely old and outdated compiler so I don't know if it will work with that. I might --- it's worth a try. But you might have to upgrade.
Does everyone wich use the programs i make with sfml need it? |
If you build sfml so that it links statically (like I recommended above), then no. SFML will be built right into your program and anyone will be able to run it without installing anything extra.
Can't i just make windows applications without this? |
Yes, but it's much more difficult.
Google WinAPI tutorials.
Note that using WinAPI for graphics is slow because it's all done in software, and it just generally sucks. Graphic libs are much easier to use (although, granted, getting SFML set up for the first time is a pain... but once you do it, you'll be glad you did).
Is there any simple way for this? |
If getting SFML set up is too hard, you can try SDL instead. SDL is much easier to install and use (you can just download the dll files -- you don't have to worry about building anything). Though I'm not really a fan of SDL because it uses outdated concepts and supports less features out of the box (doesn't even allow for sprite flipping!).
SDL is available here:
http://www.libsdl.org/
EDIT:
I might be willing to build sfml for you. Or try to anyway. Give me a link to whatever version of Dev-C++ you're using and I'll see if I can get it working there.