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 3641 - SDL2.lib lacks SDL_CreateRGBSurfaceWithFormat(From)
Summary: SDL2.lib lacks SDL_CreateRGBSurfaceWithFormat(From)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.5
Hardware: x86 Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-30 11:13 UTC by strawberry1546
Modified: 2017-08-11 18:16 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 strawberry1546 2017-04-30 11:13:26 UTC
The SDL 2.0.5 prebuilt development libraries for Visual C++ don't work with SDL_CreateRGBSurfaceWithFormat and SDL_CreateRGBSurfaceWithFormatFrom. When linking against SDL2.lib and SDL2.dll, it says ‘unresolved external symbol _SDL_CreateRGBSurfaceWithFormat’ or something like that.

I'm using the .lib from SDL2-2.0.5\lib\x86. Appearently the .lib doesn't include these symbols. As the DLLs are okay, by recompiling the .lib file everything'll work properly.

It is possible to remake the .lib though. I remade the SDL2.lib from the DLL for my own use. But could someone update the prebuilt libraries on the website?
Comment 1 Ryan C. Gordon 2017-05-18 23:17:25 UTC
Reassigning to Sam; this looks like a simple oversight in 2.0.5 that we'll fix when 2.0.6 finalizes, shortly.

--ryan.
Comment 2 strawberry1546 2017-05-21 10:32:26 UTC
Ah thanks. I'm looking forward to it.
Comment 3 Sam Lantinga 2017-08-11 18:16:23 UTC
This will be fixed in the 2.0.6 release, thanks!