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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LPeter1997

Pages: [1]
1
General / Re: Odd things in Visual Studio 2013
« on: June 04, 2014, 08:46:46 pm »
You guys are right. I'm just too picky sometimes  ;D

2
General / Re: Odd things in Visual Studio 2013
« on: June 04, 2014, 05:14:23 pm »
Really? There is no just a simple template to set up the project? Always have to do the same again if I want to create a new project? That's disappointing...  :-\

There's no offical download for VS 2013... now what?

3
General / Odd things in Visual Studio 2013
« on: June 04, 2014, 02:09:47 pm »
Hi!
I've successfully installed SFML with VS2013 (with a template). It works, the provided tutorial code works perfectly. But... in the editor I get a lot of red underlines, like it's a mistake. Another thing is I get 12 errors in the error list if I run the  program. For example the first one: Cannot open source file "SFML/Graphics.hpp".
Lastly, in the Output panel I get a lot of these:
'SFML2 Application1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'SFML2 Application1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.

I don't think it's normal. Could anyone help fixing these?

Oh, before I forget, I used this guide:
Could I get some help installing this?
In order to make things easier, I took a shot at doing a bundle (VS2013 binaries + template) that is simpler to install and use. Here are the steps:

BINARIES
1) Download the binaries from here.
2) Unzip anywhere you want. As a suggestion, you could use C:\SFML-2.1.
3) Create a system environment variable called SFML2_HOME pointing to the folder where you unzipped the file.

TEMPLATE
1) Download the binaries from here.
2) Copy the attached ZIP file to Documents\Visual Studio 2013\Templates\ProjectTemplates under your home folder.
3) Open Visual Studio and click FILE, New Project... The "SFML2 Application" Visual C++ template is now available. Create your project.
4) The project is all set up, and the small bundled sample program (the one from the tutorial) is ready to compile.

Details:
The binaries and the template were made with Visual Studio 2013 Express Edition Update 1 running on Windows 8.1 Pro x64. Since VS2013EE only ships with a x86 SDK, I couldn't try and make the template x64-compatible. I also didn't bother building static libraries.
Also, it doesn't matter if you have the SFML2 DLLs in your PATH environment variable nor in the output folder. The template includes a Post-Build Event that copies the DLLs from $SFML2_HOME\bin to the output folder in case they're not there already.

Pages: [1]