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 - SeanRamey

Pages: [1]
1
Alright! Finally got the template fixed! Should work perfectly now!

Download: https://sourceforge.net/projects/sfmlsimpleandfastinstaller/

2
No problem, I am, however, having problems with making the templates use the correct directory if the user customizes the installation. VS2013 doesn't want to work correctly with environment variables. I tried making a variable and VS2013 will find it and use it, but it acts more like a constant than a variable. It just seems to replace $(SFML) with "C:\Program Files (x86)\SFML" instead of actually reading from the variable and using it to find the actual directory.... SO, it might be a while before I can actually fix this.

3
Hm this is not working for me.

I installed Visual C++ Express 2013, downloaded the .exe and installed it.
I see the examples in my VS, but when I try to build them it just fails, telling me it can't find the SFML libraries.

Also I don't like all this pragma directives... but if that saves me set-up time, I guess it's fine.

I'm not sure why it isn't finding the sfml libs. I have a question, did you change the installation directory of SFML? If you did, then that's probably the problem. I am, admittedly, a pretty big dumbass at times, but I apparently forgot to make sure the include directories in the templates matched the installation directory if the user customized it... :P

As for the pragma directives, I just used Fitzy's, from his binaries and templates, because I don't know of any other work around for the static libraries. I'm not really very experienced, just trying to help out the community where I can.

4
So, I decided that I would make an easy way for everybody to setup SFML and add it to Visual Studio 2013 via a simple installer.

This installer installs SFML 2.1 snapshot to "program files (x86)/SFML" by default. It also adds a start menu folder with a shortcut to the uninstaller and the SFML help. In addition to that, I included template projects I made for VS2013. They include a basic SFML application, and a Win32 SFML application. Each template has 4 build configurations: debug, debug static, release, and release static. They both have an empty version, and the non-empty version includes the example source from the SFML tutorials, and I used Fitzy's preprocessor library linking which is in a precompiled header ,"stdafx.h", so that the static SFML libraries would work. These templates are installed to "C:\Users\CurrentUser\Documents\Visual Studio 2013\Templates\Project Templates\Visual C++ Project\". As long as your VS2013 uses the default directories, this installer should work fine.

Download: https://sourceforge.net/projects/sfmlsimpleandfastinstaller/files/latest/download

Lemme know if you have any problems!

Pages: [1]