Sign in to follow this  
nickme

SFML:how to install 2.0 on vc++2010 express.

Recommended Posts

hi,
i had already successfully installed sfml 1.6 on vc++2010 but want to install 2.0. i wonder if it be as easy as replace the old lib and include files with the 2.0's. i dont want to do that before i am sure that it won't corrupts my setup.

thanks.

Share this post


Link to post
Share on other sites
[quote name='nickme' timestamp='1330065214' post='4916118']
hi,
i had already successfully installed sfml 1.6 on vc++2010 but want to install 2.0. i wonder if it be as easy as replace the old lib and include files with the 2.0's. i dont want to do that before i am sure that it won't corrupts my setup.

thanks.
[/quote]
It's pretty close to that, but not quite exactly. You'll have to download the 2.0 libs and use CMake to make a Visual Studio project so you can build the libs. Then delete the old libs and headers and paste in the new ones. You'll want to double check that the names of the libs haven't changed (I can't remember if they have or not), and if they have you'll have to update the settings in your linker.

You should be aware though that SFML's 2.0 API is not compatible with the 1.6 API. There were some changes made and it will probably break your code. The changes shouldn't be too big, but just be ready to see some errors and to check the docs/headers to see what's different and how you should be calling things.

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