Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL2.lib lacks SDL_CreateRGBSurfaceWithFormat(From) #2447

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

SDL2.lib lacks SDL_CreateRGBSurfaceWithFormat(From) #2447

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments


Copy link

@SDLBugzilla SDLBugzilla commented Feb 11, 2021

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.5
Reported for operating system, platform: Windows (All), x86

Comments on the original bug report:

On 2017-04-30 11:13:26 +0000, wrote:

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?

On 2017-05-18 23:17:25 +0000, Ryan C. Gordon wrote:

Reassigning to Sam; this looks like a simple oversight in 2.0.5 that we'll fix when 2.0.6 finalizes, shortly.


On 2017-05-21 10:32:26 +0000, wrote:

Ah thanks. I'm looking forward to it.

On 2017-08-11 18:16:23 +0000, Sam Lantinga wrote:

This will be fixed in the 2.0.6 release, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant