Hi, I am trying to include imgui-node-editor in my project but I get the following compilation error:
imgui_node_editor.cpp
In file included from ../vendor/NodeEditor/src/imgui_node_editor.cpp:12:
In file included from ../vendor/NodeEditor/include/imgui_node_editor_internal.h:27:
In file included from ../vendor/NodeEditor/include/imgui_extra_math.h:71:
../vendor/NodeEditor/include/imgui_extra_math.inl:22:13: error: redefinition of 'operator=='
inline bool operator==(const ImVec2& lhs, const ImVec2& rhs)
^
../vendor/ImGui/include/imgui.h:2801:23: note: previous definition is here
static inline bool operator==(const ImVec2& lhs, const ImVec2& rhs) { return lhs.x == rhs.x && lhs.y == rhs.y; }
I included the imgui .cpp's and the imgui-node-editor .cpp's in my project and try to compile...any idea what could be wrong here?
This operator has been included in ImGui a few month ago but is already present in the node editor, hence the conflict. I think this has been fixed in the dev branch of the node editor.
Hi, I am trying to include imgui-node-editor in my project but I get the following compilation error:
I included the imgui .cpp's and the imgui-node-editor .cpp's in my project and try to compile...any idea what could be wrong here?