We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1492 - Visual Studio builds sdl.lib and sdl.dll for version 2.0
Summary: Visual Studio builds sdl.lib and sdl.dll for version 2.0
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.0
Hardware: x86 Windows 7
: P2 minor
Assignee: Andreas Schiffler
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-12 13:32 UTC by Jeff Shanab
Modified: 2013-05-30 23:05 UTC (History)
1 user (show)

See Also:


Attachments
Patch for VS2012 project files (29.38 KB, patch)
2013-05-30 15:34 UTC, Jan Reitz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Shanab 2012-05-12 13:32:51 UTC
An inconvienance but the build products are the same name as the 1.2 line and the previous 1.3. Windows gets confuzed and can use the wrong dll with the right lib. 

Symptom I encountered when linked to 2.0 lib but windows loaded 1.3 dll
All events came thru but had no data.
Comment 1 Jan Reitz 2013-05-30 15:34:24 UTC
Created attachment 1159 [details]
Patch for VS2012 project files

I stumbled over this problem too, but I have seen that it was fixed in the solutions for VS2010/VS2008.
But it still persists in VS2012.

I have patched all necessary files and made the following patchset.
It was made against a clean checkout of version 58ce56d2cfdaa8aa72dbfa833392dbb482cbe527 from the hg repository.

Most of these files where created and modified by aschiffler@ferzkopp.net only, so I reassign it to him... I hope this is fine.
Comment 2 Andreas Schiffler 2013-05-30 22:40:45 UTC
Thanks for the patch - I'll try to work it in ASAP.
Comment 3 Andreas Schiffler 2013-05-30 23:05:57 UTC
Fixed by applying patch with
http://hg.libsdl.org/SDL/rev/606c8fcfef2f