thedmd / imgui-node-editor

Node Editor built using Dear ImGui
MIT License
3.73k stars 551 forks source link

compile error #252

Closed arshavirmirzakhani closed 1 year ago

arshavirmirzakhani commented 1 year ago

Hi When I compile this source with mingw (g++) I get errors related to imgui internal

This is a part of errors (there are a lot of errors)


In file included from imgui/imgui_extra_math.h:69:0,
                 from imgui/imgui_node_editor_internal.h:25,
                 from imgui/imgui_node_editor_api.cpp:12:
imgui/imgui_extra_math.inl:32:15: note: candidate: ImVec2 operator*(float, const ImVec2&)
 inline ImVec2 operator*(const float lhs, const ImVec2& rhs)
               ^~~~~~~~
imgui/imgui_extra_math.inl:32:15: note:   no known conversion for argument 1 from 'ImVec2' to 'float'

Thanks 
thedmd commented 1 year ago

Resolved on develop, thanks!