You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you. Could you check if it also occurs with the provided Visual Studio projects?
I checked and since shell32 is part of the default librairies and we don't explicit omit them it works.
Committed the changes in 2403ed9 and adding the missing batch file for SDL+Vulkan example.
Version/Branch of Dear ImGui:
Version: 1.83 WIP
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_sdl.cpp + imgui_impl_opengl3.cpp
Compiler: Visual Studio 2019, v 16.8.4
Operating System: Windows 10
My Issue:
When using
build_win32.bat
to compile the SDL + OpenGL 3 example on Windows while using SDL 2.0.12 or newer, the build fails with a linker error:This error does not occur when using SDL 2.0.10 or earlier. Adding
Shell32.lib
as a link dependency also fixes the error.I haven't tested yet if the error also occurs when building with the provided Visual Studio solution.
This dependency was introduced into the
SDLmain
library in the following commit: libsdl-org/SDL@f8400cbHow to reproduce
examples/example_sdl_opengl3
set SDL2_DIR=<PATH-TO-SDL>
build_win32.bat
The text was updated successfully, but these errors were encountered: