Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML add-on for Visual Studio  (Read 6969 times)

0 Members and 2 Guests are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML add-on for Visual Studio
« on: July 17, 2013, 03:01:45 pm »
RadicalEd (from the french forum) has created and put online a template for SFML.Net, directly installable from the gallery.

Follow the link for more information ;)

http://visualstudiogallery.msdn.microsoft.com/856f52bc-b4a7-4a9d-a235-620565ccac32
Laurent Gomila - SFML developer

eyeliner

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: SFML add-on for Visual Studio
« Reply #1 on: July 17, 2013, 03:33:47 pm »
Nice!
I installed and ran with no issues!
Only thing is that the folder Libraries is spelled "Librairies".  :)

RadicalEd

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: SFML add-on for Visual Studio
« Reply #2 on: July 17, 2013, 04:14:44 pm »
Only thing is that the folder Libraries is spelled "Librairies".  :)

Oups  ;D
Sorry for that !

I will make an update ASAP ;)


eyeliner

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: SFML add-on for Visual Studio
« Reply #3 on: July 17, 2013, 04:19:17 pm »
This is actually a great way to start, so my thanks to you!
I managed to make it work, after setting things up by hand, and failing.

RadicalEd

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: SFML add-on for Visual Studio
« Reply #4 on: July 17, 2013, 04:32:32 pm »
This is actually a great way to start, so my thanks to you!

At your service ;)

There is an other bug with Visual Studio 2012.
The template is define to work with .Net 2.0 to 4.0, with Visual Studio 2012 by default it select .Net 4.5 and with AnyCPU build the game start fail with a BadImageFormatException ... rofl !

I've got an other bug, the name of the game project is'nt correctly set.

This extension need a little more work ;)

eyeliner

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: SFML add-on for Visual Studio
« Reply #5 on: July 17, 2013, 04:41:14 pm »
Because I immediately changed the build to x86, i didn't even notice it. :D
Either way, it's rockin'!

I finally found my framework. \o/

RadicalEd

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: SFML add-on for Visual Studio
« Reply #6 on: July 17, 2013, 05:58:39 pm »
I made an update :

- Folder name fix.
- Project Default name work.

Unfortunelty, i disable the Visual Studio 2012 compatibility because it doesn't consider the DefaultProjectName property and it cut a part of the MSBuild process that allow users to be Platform independant.

I don't know why the template not work with Visual Studio 2012. I suspect the Visual Studio 2010 SDK i use to be not really compatible with Visual Studio 2012.

Of course i will do my best to find the solution ;)

Have fun !

 

anything