Jump to content



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

  • You cannot reply to this topic
1 reply to this topic

#1 nickme   Members   -  Reputation: 106

Like
0Likes
Like

Posted 24 February 2012 - 12:33 AM

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.

Ad:

#2 Cornstalks   Members   -  Reputation: 1217

Like
0Likes
Like

Posted 24 February 2012 - 12:52 AM

View Postnickme, on 24 February 2012 - 12:33 AM, said:

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.
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.
[ Realistic Rendering ] [ School + Dublin = Boom ] [ I've been ninja'd 70 times ] [ f.k.a. MikeTacular ] [ My Blog ]






We are working on generating results for this topic
PARTNERS