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

Fix error building on Windows w/ 2019 Build Tools. #951

Merged
merged 1 commit into from
Dec 9, 2019

Conversation

joshuabenuck
Copy link
Contributor

When building on Windows with Visual Studio Build Tools 2019 using the bundled feature, I get this error:
error LNK2019: unresolved external symbol memset referenced in function SDL_vsnprintf_REAL

This Stack Overflow provides a solution that works if I manually patch CMakeLists.txt.

This PR leverages the patching functionality of the bundled feature to automatically make this change as part of the build.

@Cobrand
Copy link
Member

Cobrand commented Dec 9, 2019

Thanks!

@Cobrand Cobrand merged commit e69b548 into Rust-SDL2:master Dec 9, 2019
sypwex pushed a commit to sypwex/rust-sdl2 that referenced this pull request Jun 2, 2024
Fix error building on Windows w/ 2019 Build Tools.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants