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
Thread 1 "MetalNes" received signal SIGSEGV, Segmentation fault.
0x000000000056ee4f in ImGuiSupport_Init (context=std::shared_ptr<render::Context> (empty) = {...}, assetDir="./", userDir=".metalnes/") at /home/morb/build/metalnes/source/imgui_support.cpp:429
429 auto _shader = context->LoadShaderFromFile("data/shaders/imgui.fx");
While doing some more digging on the MacOS side here, I found that there was a Xcode project file created at some point (probably when running CMake, but not 100% sure on that). Running from Xcode allow the project to build successfully and not segmentation fault when running.
Also I noticed that the CMakeLists.txt file has the Linux main.cpp file being used on MacOS instead of the main.mm. That probably explains why the segmentation fault happens on both Linux and MacOS when running the command line version. I'm going to leave this issue open since it appears there is still a problem on Linux.
Running MetalNes from the command line on MacOS 12.2.1 on Apple Silicon (M1 Max) causes a segmentation fault:
Running it under lldb shows it crashing here:
The text was updated successfully, but these errors were encountered: