Visual studio 2010 download sdl2
- Visual studio 2010 download sdl2 upgrade#
- Visual studio 2010 download sdl2 portable#
- Visual studio 2010 download sdl2 code#
That page will grow as I add tutorials, as each is added to it. You’ll see I’ve added a tutorials link to the top menu. It's the same project from Sourceware.This is the first of a number of longer-piece game related tutorials.
For Release it's also worth removing the Debug Information Format. Libpng needs to remove Treat Warnings as Errors otherwise you get errors when a warning about applying Spectre mitigation occurs. The same above for bzip2 applies to freetype.
Visual studio 2010 download sdl2 portable#
The former is more easily portable as the debug info is inside the lib it's the option used for this build.
Release can't be used if compiling with assembly because of some security check.īzip2 debug requires either enabling Function-level Linking or changing Debug Information Format to C7 compatible /Z7. You also need to remove ZLIB_WINAPI from the Preprocessor of both debug and release or add it to Simutrans. Zlib debug requires to change the Runtime Library setting to Multi-threaded Debug (/MTd). And tweaking the old vcxproj is more time consuming than just updating it.įor minupnpc in Librarian add iphlpapi.lib to Additional Dependencies. Miniupnpc will simply refuse to work with static linking, and for dynamic you need to download the project file from GitHub ( miniupnpc.vcxproj) as the stable release is older than this change and the old vcxproj does not contain a dll setting. If compiling yourself consider turning this flag on for more optimisations. Some information about compiling the dependencies as I ran into trouble compiling them:Īll Release libraries were compiled without Whole Program Optimisation /GL to make them portable. * You'll have to compile the dependency libs yourself. All libraries are available as Debug and Release.ĭownload Dependencies (Compatible with VS 2015+)
Visual studio 2010 download sdl2 upgrade#
The attached solutions expect them, most notably pthread-win32 version 3 which is an upgrade from the current outdated version 2 we are using. I also compiled all the latest versions of the libraries required for Simutrans with Visual Studio Community 2019 (MSVC v14.21). Please test as if they have backwards compatibility as promised I'll replace the files in trunk
These project files should also be easier to maintain, when new source files are added to Simutrans you just need to add those files in the Simutrans-Main.vcxitems file in alphabetical order and it will compile correctly just like the Makefile.
Visual studio 2010 download sdl2 code#
Debug remains the same, meant for developing Stable is the old Release, meant for compiling stable versions and Release continues to build optimised code but now using revision data just like debug, this is meant for creating optimised nightly builds for servers. Simutrans-Main is the project that holds the shared, non back-end specific, files Simutrans GDI, Simutrans SDL2 and Simutrans Server all use Main to build the specific back-end executables.Īnd a final difference is that now there are 3 compilation configurations for the main executable. One of the changes I did is to always compile inside the build/ dir just like GCC (it won't conflict with GCC unless you really want to).Īnother change for the Simutrans solution is that now it's a single solution file with 4 projects. If you are using a VS older than 2019 and newer than 2012 please try to load the attached solutions and let me know how they work for you. I've both used Visual Studio Community 2019 and manually edited them to make them better.Īccording to Microsoft these files should be backwards compatible down to ~VS2012. I'm currently trying to improve our Visual Studio solutions as they are pretty messy and outdated.