Open glitchfreakvisuals opened 1 month ago
Hi,
That's very weird because both master
and develop
both define it correctly. see here.
If you are indeed using a clean install, can you fix it by explicitly including "imgui.h" ?
Note that I haven't tested ofxImGui/develop
on openframeworks 0.12 but I guess some people are already using it correctly. I don't know about master
. Are you using develop
?
Same for the 2nd error, it's correctly defined here so you seem to be running into a quite strange error.
addons/ofxImGui/example-demo/src/ofApp.cpp:11:35: error: ‘ImGuiConfigFlags_DockingEnable’ was not declared in this scope; did you mean ‘ImGuiConfigFlags_None’? 11 | ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_DockingEnable; | ^
~~~~~~~~~ | ImGuiConfigFlags_NoneAlso another error when attempting to compile app that uses this addon
addons/ofxImGui/src/Helpers.cpp:28:37: error: ‘struct ofxImGui::WindowOpen’ has no member named ‘usedNames’ 28 | while (std::find(windowOpen.usedNames.top().begin(), windowOpen.usedNames.top().end(), result) != windowOpen.usedNames.top().end())