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 3437 - build error for WinRT/UWP .dlls, caused by fix for SDL bug 3336
Summary: build error for WinRT/UWP .dlls, caused by fix for SDL bug 3336
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: All Windows 10
: P2 major
Assignee: David Ludwig
QA Contact: David Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-01 20:23 UTC by David Ludwig
Modified: 2016-10-01 23:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Ludwig 2016-10-01 20:23:38 UTC
The fix for SDL bug 3336, "Failure to build with MinGW-w64", which was submitted via https://hg.libsdl.org/SDL/rev/6cf7d55773b3, leads to linker errors when building WinRT/UWP .dlls.  For example, when building UWP (Win10) .dlls:

------ Build started: Project: SDL2-UWP, Configuration: Release Win32 ------
     Creating library C:\Users\davidl\Documents\Code\SDL\SDLWinRTTestApp\VisualC-WinRT\Release\SDL-UWP\SDL2.lib and object C:\Users\davidl\Documents\Code\SDL\SDLWinRTTestApp\VisualC-WinRT\Release\SDL-UWP\SDL2.exp
SDL_render_d3d11.obj : error LNK2001: unresolved external symbol _IID_ID3D11Texture2D
SDL_render_d3d11.obj : error LNK2001: unresolved external symbol _IID_ID3D11DeviceContext1
SDL_render_d3d11.obj : error LNK2001: unresolved external symbol _IID_IDXGIDevice1
SDL_render_d3d11.obj : error LNK2001: unresolved external symbol _IID_ID3D11Device1
SDL_render_d3d11.obj : error LNK2001: unresolved external symbol _IID_IDXGIDevice3
C:\Users\davidl\Documents\Code\SDL\SDLWinRTTestApp\VisualC-WinRT\Release\SDL-UWP\SDL2.dll : fatal error LNK1120: 5 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Comment 1 David Ludwig 2016-10-01 23:05:45 UTC
Fixed via https://hg.libsdl.org/SDL/rev/1649b56bfad5