-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Description
Version/Branch of Dear ImGui:
Version: Dear ImGui 1.88 WIP (18725)
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_glfw.cpp + imgui_impl_metal.cpp
Compiler: clang-1316.0.21.2.5
Operating System: Mac OS Monterey 12.4
When running the example_glfw_metal
example, on quit (whether by clicking to close the window, or pressing Apple-Q), the program 'quits unexpectedly'. The full report including stack trace and imgui about info is attached.
imgui_crash_report.txt
steps to reproduce:
what is the correct FIRST thing to do with an absolutely brand new apple macbook pro? install imgui, of course. steps:
- acquire brand new shiny macbook pro, glory at its M1 shinyness. ponder its expense in a time of global warming.
- endure the new mac onboarding process
- install all automatic updates (to monterey 12.4, at time of writing)
- run clang from the commandline to trigger the dev tools CLI installer
- install homebrew
- brew install glfw
- git clone --recursive imgui (as of about 2 hours before this issue)
- cd examples/example_glfw_metal
- make
- ./example_glfw_metal
- Apple-Q or click the red close button -> observe crash
Note that this does not happen with glfw+opengl2, nor glfw+opengl3.
I havent been able to get the SDL based example compiling yet, it fails to find SDL.h despite having run brew install sdl; Im guessing thats a separate issue though...