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

Author Topic: SFML 2.1 Visual Studio 2013 Binaries + Template  (Read 23045 times)

0 Members and 2 Guests are viewing this topic.

kinglime

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Github
    • Email
SFML 2.1 Visual Studio 2013 Binaries + Template
« on: November 13, 2013, 04:04:23 am »
SFML 2.1 Visual Studio 2013 Binaries + Template

I just compiled the binaries on my machine and I figured I would share them.

Link: (Binaries) http://www.mediafire.com/download/utc43i4zaptur3e/SFML.zip
(Template) http://www.mediafire.com/download/1r3818e8k7sgn0u/SFML-template.zip

I compiled using CMake and then NMake. Everything works fine on my end, if you run into errors let me know.

Instructions:
  • Download the files
  • Extract SFML.zip to C:\SFML\
  • Copy SFML-template.zip to C:\Users\%user%\Documents\Visual Studio 2013\Templates\ProjectTemplates\
  • Create a new SFML project
  • Copy "sfml-audio-d-2.dll", "sfml-graphics-d-2.dll", "sfml-network-d-2.dll", "sfml-system-d-2.dll", "sfml-window-d-2.dll" to C:\Users\%user%\Documents\Visual Studio 2013\Projects\%project%\Debug\
  • Copy "sfml-audio-2.dll", "sfml-graphics-2.dll", "sfml-network-2.dll", "sfml-system-2.dll", "sfml-window-2.dll" to C:\Users\%user%\Documents\Visual Studio 2013\Projects\%project%\Release\

Again, let me know if you run into any issues. I hope I was able to help! ;D By the way, I'm running VS Express 2013 for Desktop if it matters.

Edit: If anyone knows how to automatically copy the .dll files as part of the template, please instruct me on how to do so.
« Last Edit: November 13, 2013, 04:12:42 am by kinglime »

Grimlen

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • Email
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #1 on: November 18, 2013, 08:10:53 pm »
Does anyone have a WIN32 project template?

argcargv

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #2 on: November 22, 2013, 10:20:14 pm »
Worked for me on Visual Studio 2013 ultimate, Thank you!

LanceJZ

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #3 on: March 27, 2014, 06:51:37 am »
This works great! Windows 8.1 with VS 2013 Ultimate as Win32. Thank you, I edited the template slightly to use my dll folder, I just add it to the path instead of copying it over and over.
I did it by adding this:
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <LocalDebuggerEnvironment>path=D:\User\Documents\Visual Studio 2013\C++\SFML-2.1\bin\
   </LocalDebuggerEnvironment>
    <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
  </PropertyGroup>

:D

ApertureScience

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #4 on: March 29, 2014, 10:35:47 pm »
Thank you for adding the Simple back into SFML for VS2013 users.

vespergo

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #5 on: June 01, 2014, 08:47:07 am »
Works great on the regular release of Visual Studio 2013 as well! Thanks so much.

Slandercakes

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #6 on: June 16, 2014, 10:55:14 am »
Thank you!!
Had endless problems trying to get SFML working with VS2013, even tried compiling SFML from source and I was still getting errors.
Works perfectly now though (my heart may have stopped momentarily when that blessed green circle popped up on the screen) :P

Thanks again!

Xafi

  • Newbie
  • *
  • Posts: 18
  • My project, http://1ndieidea.hol.es/
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #7 on: June 30, 2014, 01:31:47 pm »
And to vs2014?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #8 on: June 30, 2014, 01:42:06 pm »
And to vs2014?
Doesn't exist. ;)
There's Visual Studio "14" CTP which is just a preview for Visual Studio "14" and shouldn't really be used for development. The "14" also indicates that it might end up with probably more like Visual Studio 2015.

Plus who knows what it destroys when installing it over VS 2013, wouldn't want to find out...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

lid6j86

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Email
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #9 on: July 01, 2014, 04:52:12 am »
in order to have it auto copy (at least for windows) go into properties > Build Events > Post-Build Event and in Command Line, type the following:

Quote
xcopy /Y /C /E "F:\ToolKits\SFML2++\bin\*.*" "$(OutDir)"

replace the path
Quote
"F:\ToolKits\SFML2++\bin\"
with the path to your sfml dll path.  Also, with the above it copies the debug and release versions, you could probably refine it by changing the *.* to look for the -d.

Has anyone CMake'd the static lib as well? I've been trying for VS2013 but having problems with it.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #10 on: July 01, 2014, 07:57:47 am »
Has anyone CMake'd the static lib as well? I've been trying for VS2013 but having problems with it.
Make sure to link all the SFML dependencies in your application. Also http://www.nightlybuilds.ch/
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

katebasoft

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #11 on: July 21, 2014, 06:49:51 am »
I get error,

Unhandled exception at 0x0265D09F (ig4dev32.dll) in SFML2D.exe: 0xC0000005: Access violation reading location 0x00000000.

cpainterwakefield

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #12 on: July 24, 2014, 10:53:23 am »
Any word on when binaries package will be available for VS 2013?  I am evaluating using SFML in a classroom setting where our lab machines have VS 2013 installed and I expect most of the students will use VS 2013 on their personal machines.  I can compile myself (although I have to fix some errors in the .vxproj files manually for some reason) and provide the libraries etc. to the students, but it would be nice if they could simply install from the website for their personal machines.

binary1248

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1405
  • I am awesome.
    • View Profile
    • The server that really shouldn't be running
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #13 on: July 24, 2014, 11:04:30 am »
SFGUI # SFNUL # GLS # Wyrm <- Why do I waste my time on such a useless project? Because I am awesome (first meaning).

cpainterwakefield

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: SFML 2.1 Visual Studio 2013 Binaries + Template
« Reply #14 on: July 25, 2014, 05:42:35 am »
Any word on when binaries package will be available for VS 2013?
http://www.nightlybuilds.ch/project/show/1/SFML/

These nightly builds are not the same as version 2.1, yes?  I wouldn't want to point my students towards a build that does not match the documentation, or that is not stable.