Replies: 2 comments
-
Okay I found the problem it's the call to the demo, function, is it really still working ? Without it, it works perfectly! |
Beta Was this translation helpful? Give feedback.
0 replies
-
One of the overloads looks like this: IMGUI_SFML_NODISCARD IMGUI_SFML_API bool Init(sf::RenderWindow& window,
bool loadDefaultFont = true); The second argument has a default value so it's optional. Please provide the stack trace where exactly it crashes (which line, what variable it tries to access etc.) - it's impossible to tell what goes wrong otherwise. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
README: Segmentation Fault Issue on MacOS M3 with ImGui-SFML Integration
Environment Details
Issue Description
Encountering a segmentation fault when attempting to initialize ImGui with SFML in a MacOS M3 environment. This issue arises specifically during the execution of the
ImGui::SFML::Init(window)
function.Steps to Reproduce
Initialization of the SFML window in the main function:
This setup is based on the guidelines provided in the ImGui-SFML README.md.
The project is built using CMake, ensuring the correct fetching and use of specified versions of SFML, ImGui, and ImGui-SFML.
Additional Observations
Init
function seems to require two parameters. This is inconsistent with the provided example where only the SFML window is passed.Request for Assistance
I am seeking:
ImGui::SFML::Init
function in this context.Any help or guidance from the community to troubleshoot this issue would be appreciated. Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions