ofxImGui icon indicating copy to clipboard operation
ofxImGui copied to clipboard

Example Demo will not compile Ubuntu version 24.04 and Openframeworks version 0.12.0 both fresh install

Open bar2098 opened this issue 1 year ago • 1 comments

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_None

Also 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())

bar2098 avatar May 22 '24 15:05 bar2098

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.

Daandelange avatar May 26 '24 10:05 Daandelange

No response, closing...

Daandelange avatar Jul 28 '24 13:07 Daandelange