The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
I've made a VS2013EE template for 32-bit SDL2 applications
Georger Araujo
Guest

Hi,

I've made a VS2013EE template for 32-bit SDL2 applications, which I'd like to contribute.

How to use:
1) Create a system environment variable called SDL2_HOME pointing to the folder where you installed SDL2.
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 "SDL2 Application" Visual C++ template is now available. Create your project.
4) The project is all set up, and the small bundled sample program is ready to compile.

The template was 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.

Regards,

Georger

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
I've made a VS2013EE template for 32-bit SDL2 applications
Georger Araujo
Guest

Just noticed that people who don't have the SDL2 DLLs in their PATH environment variable nor in their output folders won't be able to run the program they just built with the template... So I've updated the template to include a Post-Build Event that copies the DLLs from $SDL2_HOME\lib\x86 to the output folder in case they're not there already.

Changelog:
- Added a Post-Build Event to the template that copies the DLLs from $SDL2_HOME\lib\x86 to the output folder in case they're not there already.

Georger

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Re: I've made a VS2013EE template for 32-bit SDL2 applicatio
georger_br


Joined: 29 Jan 2014
Posts: 3
Forum readers: should you want to download the template, the ZIP file is available at the mailing list archives. It looks like the forum only mirrors the text from emails sent to the mailing list, but not their attachments.

Georger
I've made a VS2013EE template for 32-bit SDL2 applications
georger_br


Joined: 29 Jan 2014
Posts: 3
Forum readers: should you want to download the template, the ZIP file is available at the mailing list archives [1]. It looks like the forum only mirrors the text from emails sent to the mailing list, but not their attachments.

[1] http://lists.libsdl.org/pipermail/sdl-libsdl.org/2014-January/092926.html

Georger
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org