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
Running make for one examples found in the repo, gives me:
g++ -std=c++11 -I../.. -I../../backends -g -Wall -Wformat sdl2-config --cflags -c -o imgui_impl_sdlrenderer.o ../../backends/imgui_impl_sdlrenderer.cpp
../../backends/imgui_impl_sdlrenderer.cpp: In function ‘void ImGui_ImplSDLRenderer_RenderDrawData(ImDrawData*)’:
../../backends/imgui_impl_sdlrenderer.cpp:192:17: error: ‘SDL_RenderGeometryRaw’ was not declared in this scope; did you mean ‘SDL_RenderGetMetalLayer’?
192 | SDL_RenderGeometryRaw(bd->SDLRenderer, tex,
| ^~~~~~~~~~~~~~~~~~~~~
| SDL_RenderGetMetalLayer
make: *** [Makefile:70: imgui_impl_sdlrenderer.o] Error 1
Running debian 11 with vcpkg installed to manage SDL. Have changed header definitions to <SDL2/SDL.h> still no luck, any suggestions?
This discussion was converted from issue #6413 on May 08, 2023 07:27.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Running make for one examples found in the repo, gives me:
g++ -std=c++11 -I../.. -I../../backends -g -Wall -Wformat
sdl2-config --cflags
-c -o imgui_impl_sdlrenderer.o ../../backends/imgui_impl_sdlrenderer.cpp../../backends/imgui_impl_sdlrenderer.cpp: In function ‘void ImGui_ImplSDLRenderer_RenderDrawData(ImDrawData*)’:
../../backends/imgui_impl_sdlrenderer.cpp:192:17: error: ‘SDL_RenderGeometryRaw’ was not declared in this scope; did you mean ‘SDL_RenderGetMetalLayer’?
192 | SDL_RenderGeometryRaw(bd->SDLRenderer, tex,
| ^~~~~~~~~~~~~~~~~~~~~
| SDL_RenderGetMetalLayer
make: *** [Makefile:70: imgui_impl_sdlrenderer.o] Error 1
Running debian 11 with vcpkg installed to manage SDL. Have changed header definitions to <SDL2/SDL.h> still no luck, any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions