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

Author Topic: sfml 1.6 on visual studio 2012  (Read 3293 times)

0 Members and 1 Guest are viewing this topic.

wladcaN

  • Guest
sfml 1.6 on visual studio 2012
« on: November 02, 2012, 11:13:35 am »
Hi, can some one tell me how can i make that this version will work on visual 2012? Yes, i know that 2.0 is better than 1.6 but i must use old version.

And if you don't understand, sorry but i little speak english :P

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sfml 1.6 on visual studio 2012
« Reply #1 on: November 02, 2012, 11:21:09 am »
Recompile it, and follow the same instructions as for VS 2008 (should be quite similar).
Laurent Gomila - SFML developer

wladcaN

  • Guest
Re: sfml 1.6 on visual studio 2012
« Reply #2 on: November 02, 2012, 11:24:13 am »
How recompile ti?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sfml 1.6 on visual studio 2012
« Reply #3 on: November 02, 2012, 11:36:34 am »
Open SFML.sln, let the assistant convert it, select your configuration (Debug/Release, static/DLL), and compile.
Laurent Gomila - SFML developer

wladcaN

  • Guest
Re: sfml 1.6 on visual studio 2012
« Reply #4 on: November 02, 2012, 11:47:54 am »
I did it but i have message:

One-way upgrade
Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able to open these projects in the version of Visual Studio in which they were originally created.
    - sfml-audio, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\sfml-audio.vcproj"
    - sfml-graphics, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\sfml-graphics.vcproj"
    - sfml-main, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\sfml-main.vcproj"
    - sfml-network, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\sfml-network.vcproj"
    - sfml-system, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\sfml-system.vcproj"
    - sfml-window, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\sfml-window.vcproj"
    - ftp, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\ftp.vcproj"
    - opengl, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\opengl.vcproj"
    - pong, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\pong.vcproj"
    - postfx, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\postfx.vcproj"
    - qt, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\qt.vcproj"
    - sockets, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\sockets.vcproj"
    - sound, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\sound.vcproj"
    - sound-capture, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\sound-capture.vcproj"
    - voip, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\voip.vcproj"
    - win32, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\win32.vcproj"
    - window, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\window.vcproj"
    - wxwidgets, "C:\Users\_User\Desktop\SFML-1.6\samples\build\vc2008\wxwidgets.vcproj"
    - SFML, "C:\Users\_User\Desktop\SFML-1.6\build\vc2008\SFML.sln"


No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.
    - Samples, "Samples"
    - SFML, "SFML"


And then i have another message (is in attach)

And last when i debugging i have :

Unable to start program
'D:Downloads\SFML-1.6\build\vc2008\..\..\Temp\vc2008\sfml-audio\Debug static\sfml-audio.lib'.
Can not find the file specifed

[attachment deleted by admin]

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sfml 1.6 on visual studio 2012
« Reply #5 on: November 02, 2012, 11:51:00 am »
I remember, yes. This problem has already been solved on this forum, but you'll have to find the corresponding threads yourself, I have no idea where they are ;D
Laurent Gomila - SFML developer

wladcaN

  • Guest
Re: sfml 1.6 on visual studio 2012
« Reply #6 on: November 02, 2012, 11:57:12 am »
I have no idea how find it ;/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sfml 1.6 on visual studio 2012
« Reply #7 on: November 02, 2012, 12:16:28 pm »
Use the search function of the forum... :P
Laurent Gomila - SFML developer

wladcaN

  • Guest
Re: sfml 1.6 on visual studio 2012
« Reply #8 on: November 02, 2012, 12:21:54 pm »
Yes i know but i don't know what to write.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sfml 1.6 on visual studio 2012
« Reply #9 on: November 02, 2012, 02:24:07 pm »
The relevant parts of the relevant error messages of the conversion log.
Laurent Gomila - SFML developer

wladcaN

  • Guest
Re: sfml 1.6 on visual studio 2012
« Reply #10 on: November 02, 2012, 02:38:53 pm »
I tried but I don't found. But my mistake was that i did debugging rather than build solution.