Skip to content

build failed #334

Description

@sonoro1234

Hi,

trying to build with cmake -S examples -B build -G "Visual Studio 17 2022" ../../anima/LuaJIT-imgui/cimnodes_editor/imgui-node-editor/examples

throws errors:

4>C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_node_editor.cpp(42,22): error C3861: 'IM_TRUNC': no se encontró el identificador
4>C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_node_editor.cpp(43,22): error C3861: 'IM_TRUNC': no se encontró el identificador
4>C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_node_editor.cpp(44,22): error C3861: 'IM_TRUNC': no se encontró el identificador
4>C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_node_editor.cpp(45,22): error C3861: 'IM_TRUNC': no se encontró el identificador
4>C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_node_editor.cpp(51,9): error C3861: 'IsNamedKey': no se encontró el identificador

with latest imgui and mingw64 it is even worse:

C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_extra_math.inl:34:15: error: redefinition of 'ImVec2 operator*(float, const ImVec2&)'
   34 | inline ImVec2 operator*(const float lhs, const ImVec2& rhs)
      |               ^~~~~~~~

C:\LuaGL\gitsources\anima\LuaJIT-ImGui\cimnodes_editor\imgui-node-editor\imgui_node_editor_internal.h:71:35: error: 'remove_const_t' in namespace 'std' does not name a template type; did you mean 'remove_const'?
   71 |         using check_type = ::std::remove_const_t<__boost_has_member_T__>;     

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions