Sign in to follow this  
Ferazu

SDL vs SFML

Recommended Posts

Hi all!
I've been studying C++ for a while now and I want to start with 2d-programming and then work my way towards 3d-programming (heard opengl is a good way to start). I have some background in C# and XNA where I have programmed couple of small games such as Asteroids, Pac-man and a 2d-platformer. I've heard alot about SDL and SFML but can't really decide which one to choose. The main goal is to learn more C++ through game-programming.

Any recommendations from you guys? Would appreciate if you could share your own personal experience and perhaps some good tutorials etc.


Sorry for my english btw, it's not my native language :)

Share this post


Link to post
Share on other sites

Thx all! Decided to look into sfml. Seems like it's not compatible with VS2012? Do you use VS2010 or is there an easy way to make with work with VS2012? Or is it just better to use VS2010 when working with sfml?
 

Edited by Ferazu

Share this post


Link to post
Share on other sites

Thx all! Decided to look into sfml. Seems like it's not compatible with VS2012? Do you use VS2010 or is there an easy way to make with work with VS2012? Or is it just better to use VS2010 when working with sfml?

It's compatible with VS2012, though you might have to build the libraries yourself. It's a fairly simple process, if you follow the tutorial for building.

Edited by Cornstalks

Share this post


Link to post
Share on other sites

Get on the sfml forum, search for "nightly" you should find a thread with sfml 2.0 built from the repo, there is a package for vs2012.

This. Here, I'll even provide the link to eXpl0it3r's builds: linky. If you're using VS 2012, you want the "Visual C++ 11" binaries.

Share this post


Link to post
Share on other sites

Thx all! Decided to look into sfml. Seems like it's not compatible with VS2012? Do you use VS2010 or is there an easy way to make with work with VS2012? Or is it just better to use VS2010 when working with sfml?

It's compatible with VS2012, though you might have to build the libraries yourself. It's a fairly simple process, if you follow the tutorial for building.

 

I did a somewhat more detailed tutorial on building for Visual Studio 2010 with CMake, but other than changing a value in the drop down, I think the process is identical for 2012.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this