Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get example to work #58

Open
ThorMalleuson opened this issue Jul 30, 2024 · 1 comment
Open

Cannot get example to work #58

ThorMalleuson opened this issue Jul 30, 2024 · 1 comment

Comments

@ThorMalleuson
Copy link

ThorMalleuson commented Jul 30, 2024

I am just cutting and pasting your example on the main page. It doesn't work, and I am not sure if it is something that I am doing. It is crashing on line 5609 in imgui.cpp:

IM_ASSERT((window_flags & ImGuiWindowFlags_AlwaysAutoResize) == 0 && "Cannot specify ImGuiWindowFlags_AlwaysAutoResize for BeginChild(). Use ImGuiChildFlags_AlwaysAutoResize!");

Going up the stack, it originates here on line 236 in imGuiFileBrowser.cpp:

ImGui::BeginChild("##NavigationWindow", nw_size, true, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoScrollbar);

@gallickgunner
Copy link
Owner

Hey, make sure you are using the supported imgui version. I haven't updated it in quite a while and currently I'm in the process of shifting my home so I don't have time to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants