Skip to content

Out of sync with downloaded libigl? #13

@alecjacobson

Description

@alecjacobson

I get build errors like this:

[ 93%] Building CXX object CMakeFiles/scaf_pack_bin.dir/src/UI/TextureGUI_extended_menu.cpp.o
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI_extended_menu.cpp:147:34: error: reference to non-static member function must be called; did you mean
      to call it with no arguments?
            viewer_core_2d_ = v_.core;
                              ~~~^~~~
                                     ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1084:40: note: possible target for call
  IGL_INLINE const ViewerCore& Viewer::core(unsigned core_id /*= 0*/) const
                                       ^
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI_extended_menu.cpp:148:16: error: reference to non-static member function must be called; did you mean
      to call it with no arguments?
            v_.core = viewer_core_3d_;
            ~~~^~~~
                   ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1084:40: note: possible target for call
  IGL_INLINE const ViewerCore& Viewer::core(unsigned core_id /*= 0*/) const
                                       ^
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI_extended_menu.cpp:150:34: error: reference to non-static member function must be called; did you mean
      to call it with no arguments?
            viewer_core_3d_ = v_.core;
                              ~~~^~~~
                                     ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1084:40: note: possible target for call
  IGL_INLINE const ViewerCore& Viewer::core(unsigned core_id /*= 0*/) const
                                       ^
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI_extended_menu.cpp:151:16: error: reference to non-static member function must be called; did you mean
      to call it with no arguments?
            v_.core = viewer_core_2d_;
            ~~~^~~~
                   ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1084:40: note: possible target for call
  IGL_INLINE const ViewerCore& Viewer::core(unsigned core_id /*= 0*/) const
                                       ^
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI.cpp:192:28: error: reference to non-static member function must be called; did you mean to call it with
      no arguments?
      viewer_core_3d_ = v_.core;
                        ~~~^~~~
                               ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1084:40: note: possible target for call
  IGL_INLINE const ViewerCore& Viewer::core(unsigned core_id /*= 0*/) const
                                       ^
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI.cpp:193:28: error: reference to non-static member function must be called; did you mean to call it with
      no arguments?
      viewer_core_2d_ = v_.core;
                        ~~~^~~~
                               ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1084:40: note: possible target for call
  IGL_INLINE const ViewerCore& Viewer::core(unsigned core_id /*= 0*/) const
                                       ^
/Users/ajx/Repos/scaffold-map/src/UI/TextureGUI.cpp:210:10: error: reference to non-static member function must be called; did you mean to call it with
      no arguments?
      v_.core = uv_space ? viewer_core_2d_ : viewer_core_3d_;
      ~~~^~~~
             ()
/Users/ajx/Repos/scaffold-map/external/libigl/cmake/../include/igl/opengl/glfw/Viewer.cpp:1072:34: note: possible target for call
  IGL_INLINE ViewerCore& Viewer::core(unsigned core_id /*= 0*/)
                                 ^
/Users/ajx/Repos/scaffold-map/external/libigl/

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