SFML community forums
General => General discussions => Topic started by: kinglime 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.
-
Does anyone have a WIN32 project template?
-
Worked for me on Visual Studio 2013 ultimate, Thank you!
-
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
-
Thank you for adding the Simple back into SFML for VS2013 users.
-
Works great on the regular release of Visual Studio 2013 as well! Thanks so much.
-
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!
-
And to vs2014?
-
And to vs2014?
Doesn't exist. ;)
There's Visual Studio "14" CTP (http://blogs.msdn.com/b/somasegar/archive/2014/06/03/first-preview-of-visual-studio-quot-14-quot-available-now.aspx) 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...
-
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:
xcopy /Y /C /E "F:\ToolKits\SFML2++\bin\*.*" "$(OutDir)"
replace the path "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.
-
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/
-
I get error,
Unhandled exception at 0x0265D09F (ig4dev32.dll) in SFML2D.exe: 0xC0000005: Access violation reading location 0x00000000.
-
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.
-
Any word on when binaries package will be available for VS 2013?
http://www.nightlybuilds.ch/project/show/1/SFML/
-
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.
-
I wouldn't want to point my students towards a build that does not match the documentation, or that is not stable.
The existing documentation is fine for the latest master, there has only been minor changes... Not to mention the latest master (aka nightly) is more stable than the 2.1 tagged version (2.1 has some nasty bugs and very shortly 2.2 will be released). ;)
-
Plus my Nightly Builds all ship with the documentation.
However if you wish to have a specific version and you are able to build it, why not provide a build of your own to the students? I'm sure you have some webspace somewhere to host the package - maybe even include some examples of your own etc.
-
ok, thanks! I will keep my eyes open for the 2.2 release, but also keep the option of just doing a build for the students.
-
I am glad to see I have helped many other developers. I'd like to let you all know I have posted new binaries here (http://en.sfml-dev.org/forums/index.php?topic=17455.0). :)