nmwsharp / geometry-central-tutorials

Tutorials for the geometry-central geometry processing library.
MIT License
11 stars 1 forks source link

Cannot build the tutorial #1

Open lukkio88 opened 3 years ago

lukkio88 commented 3 years ago

Hi, I am trying to build the tutorials on windows with visual studio 2019. I generated the solution using CMake but when opening the solution and trying to build I get a bunch of errors:

(Some errors cause the output is a bit long)

3>vulkan.c
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_mesh.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\manifold_surface_mesh.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\halfedge_factories.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\manifold_surface_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\manifold_surface_mesh.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\base_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(561,13): warning C4189: 'count': local variable is initialized but not referenced (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(551): message : while compiling class template member function 'void happly::TypedListProperty<double>::writeDataASCII(std::ostream &,size_t)' (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(754): message : see reference to class template instantiation 'happly::TypedListProperty<double>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(476,1): warning C4456: declaration of 'iss' hides previous local declaration (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(467,24): message : see declaration of 'iss' (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(465): message : while compiling class template member function 'void happly::TypedListProperty<double>::parseNext(const std::vector<std::string,std::allocator<std::string>> &,size_t &)' (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\meshio.cpp)
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\istream(512,1): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\istream(506): message : while compiling class template member function 'std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::read(_Elem *,std::streamsize)'
6>        with
6>        [
6>            _Elem=char
6>        ] (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp(307): message : see reference to function template instantiation 'std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::read(_Elem *,std::streamsize)' being compiled
6>        with
6>        [
6>            _Elem=char
6>        ]
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\istream(691): message : see reference to class template instantiation 'std::basic_istream<char,std::char_traits<char>>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>extrinsic_geometry_interface.cpp
3>window.c
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\rich_surface_mesh_data.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\base_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\base_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(1413,44): warning C4101: 'e': unreferenced local variable (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp(423): message : see reference to function template instantiation 'std::vector<std::vector<size_t,std::allocator<size_t>>,std::allocator<std::vector<size_t,std::allocator<size_t>>>> happly::PLYData::getFaceIndices<size_t>(void)' being compiled
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\halfedge_factories.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\halfedge_factories.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\intrinsic_geometry_interface.cpp)
6>embedded_geometry_interface.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(951,42): warning C4101: 'new_e': unreferenced local variable (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(1412): message : see reference to function template instantiation 'std::vector<std::vector<size_t,std::allocator<size_t>>,std::allocator<std::vector<size_t,std::allocator<size_t>>>> happly::Element::getListPropertyAnySign<T>(const std::string &)' being compiled
6>        with
6>        [
6>            T=size_t
6>        ] (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp(423): message : see reference to function template instantiation 'std::vector<std::vector<size_t,std::allocator<size_t>>,std::allocator<std::vector<size_t,std::allocator<size_t>>>> happly::PLYData::getFaceIndices<size_t>(void)' being compiled
6>edge_length_geometry.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\rich_surface_mesh_data.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\rich_surface_mesh_data.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(108,21): warning C4100: 't': unreferenced formal parameter (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(1116): message : see reference to function template instantiation 'S *happly::`anonymous-namespace'::addressIfSame<std::vector<size_t,std::allocator<size_t>>,std::vector<T,std::allocator<T>>>(std::vector<T,std::allocator<T>> &,char)' being compiled
6>        with
6>        [
6>            S=std::vector<size_t,std::allocator<size_t>>,
6>            T=Tcan
6>        ] (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_polygon_mesh.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\meshio.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\meshio.cpp)
3>win32_init.c
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\intrinsic_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\intrinsic_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>D:\Git\geometry-central-tutorials\deps\geometry-central\deps\happly\happly.h(110): warning C4702: unreachable code
6>vertex_position_geometry.cpp
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\embedded_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\extrinsic_geometry_interface.cpp)
3>win32_joystick.c
6>direction_fields.cpp
6>heat_method_distance.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\embedded_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\embedded_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\edge_length_geometry.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\extrinsic_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\extrinsic_geometry_interface.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\rich_surface_mesh_data.cpp(252,7): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
6>vector_heat_method.cpp
6>trace_geodesic.cpp
6>surface_centers.cpp
3>win32_monitor.c
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\edge_length_geometry.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\edge_length_geometry.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\direction_fields.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\direction_fields.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\direction_fields.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\vertex_position_geometry.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\heat_method_distance.cpp)
3>win32_time.c
6>signpost_intrinsic_triangulation.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\heat_method_distance.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\heat_method_distance.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\vertex_position_geometry.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\vertex_position_geometry.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\vector_heat_method.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\trace_geodesic.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_centers.cpp)
3>win32_thread.c
6>simple_idt.cpp
6>mesh_graph_algorithms.cpp
6>surface_point.cpp
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\signpost_intrinsic_triangulation.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_centers.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_centers.cpp)
6>fast_marching_method.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\trace_geodesic.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\trace_geodesic.cpp)
3>win32_window.c
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\vector_heat_method.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\vector_heat_method.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\signpost_intrinsic_triangulation.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\signpost_intrinsic_triangulation.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_point.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\mesh_graph_algorithms.cpp)
3>wgl_context.c
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_idt.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_point.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surface_point.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\mesh_graph_algorithms.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\mesh_graph_algorithms.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\fast_marching_method.cpp)
3>egl_context.c
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_idt.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\simple_idt.cpp)
6>uniformize.cpp
6>parameterize.cpp
3>osmesa_context.c
6>surgery.cpp
6>exact_polyhedral_geodesics.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\signpost_intrinsic_triangulation.cpp(326,41): warning C4456: declaration of 'vertCoords' hides previous local declaration
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\signpost_intrinsic_triangulation.cpp(317,26): message : see declaration of 'vertCoords'
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\fast_marching_method.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\fast_marching_method.cpp)
6>intrinsic_mollification.cpp
6>tufted_laplacian.cpp
6>linear_algebra_utilities.cpp
3>Generating Code...
6>suitesparse_utilities.cpp
6>linear_solvers.cpp
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\parameterize.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\exact_polyhedral_geodesics.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\uniformize.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\tufted_laplacian.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surgery.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\intrinsic_mollification.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\exact_polyhedral_geodesics.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\exact_polyhedral_geodesics.cpp)
6>D:\Git\geometry-central-tutorials\build\deps\geometry-central\deps\eigen-src\Eigen\src/Core/util/Memory.h(73,19): warning C4834: discarding return value of function with 'nodiscard' attribute (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\numerical\linear_algebra_utilities.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\parameterize.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\parameterize.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\uniformize.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\uniformize.cpp)
6>eigenproblem_solvers.cpp
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\tufted_laplacian.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\tufted_laplacian.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\intrinsic_mollification.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/surface/halfedge_element_types.h(51): message : see reference to class template instantiation 'geometrycentral::Element<geometrycentral::surface::Vertex,geometrycentral::surface::SurfaceMesh>' being compiled (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\intrinsic_mollification.cpp)
6>D:\Git\geometry-central-tutorials\deps\geometry-central\src\..\include\geometrycentral/utilities/element.h(108,1): error C2063: 'std::operator <<': not a function (compiling source file D:\Git\geometry-central-tutorials\deps\geometry-central\src\surface\surgery.cpp)
========== Build: 6 succeeded, 5 failed, 0 up-to-date, 1 skipped ==========

I didn't disable suitesparse but I assume that's not the problem as it's optional.

lukkio88 commented 3 years ago

Just realized you have this open already : https://github.com/nmwsharp/geometry-central/issues/32 Unless the version of geometry central being used as submodule is a different commit not sure what the issue might be.

jabruniessner commented 2 years ago

Hey there I also cannot build it. I am using g++ on an ubuntu 22.04 machine