cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.17k stars 891 forks source link

Build Process is Failing #948

Open abhimanyuchadha96 opened 1 year ago

abhimanyuchadha96 commented 1 year ago

Describe the bug Following the steps listed in the wiki but it fails.

[ 16%] Built target Common
[ 24%] Built target Math
[ 45%] Built target IO
[ 47%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o
In file included from /home/jupyter/vcglib-2022.02/vcg/complex/complex.h:53,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:51:
/home/jupyter/vcglib-2022.02/vcg/simplex/tetrahedron/pos.h: In member function ‘void vcg::tetra::Pos<MTTYPE>::Assert()’:
/home/jupyter/vcglib-2022.02/vcg/simplex/tetrahedron/pos.h:388:9: error: ‘HETYPE’ was not declared in this scope
         HETYPE ht=*this;
         ^~~~~~
/home/jupyter/vcglib-2022.02/vcg/simplex/tetrahedron/pos.h:388:9: note: suggested alternative: ‘MTTYPE’
         HETYPE ht=*this;
         ^~~~~~
         MTTYPE
/home/jupyter/vcglib-2022.02/vcg/simplex/tetrahedron/pos.h:389:9: error: ‘ht’ was not declared in this scope
         ht.FlipT();
         ^~
/home/jupyter/vcglib-2022.02/vcg/simplex/tetrahedron/pos.h:389:9: note: suggested alternative: ‘_t’
         ht.FlipT();
         ^~
         _t
In file included from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h: In static member function ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::chooseBestCrossCollapse(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair&, std::vector<typename CleanMeshType::FaceType*>&)’:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:1089:5: warning: no return statement in function returning non-void [-Wreturn-type]
     }
     ^
/home/jupyter/openMVS/libs/MVS/Mesh.cpp: In member function ‘bool MVS::Mesh::LoadPLY(const SEACAVE::String&)’:
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1582:48: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class SEACAVE::TPoint3<unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
      memcpy(pFace, face.pFace, sizeof(VIndex)*3);
                                                ^
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/Types.h:1351:7: note: ‘class SEACAVE::TPoint3<unsigned int>’ declared here
 class TPoint3 : public cv::Point3_<TYPE>
       ^~~~~~~
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1597:62: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘SEACAVE::cList<SEACAVE::TPoint3<unsigned int>, const SEACAVE::TPoint3<unsigned int>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint3<unsigned int>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
      memcpy(faces.data()+f, face.face.pFace, sizeof(VIndex)*3);
                                                              ^
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/Types.h:1351:7: note: ‘SEACAVE::cList<SEACAVE::TPoint3<unsigned int>, const SEACAVE::TPoint3<unsigned int>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint3<unsigned int>’} declared here
 class TPoint3 : public cv::Point3_<TYPE>
       ^~~~~~~
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1603:72: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘SEACAVE::cList<SEACAVE::TPoint2<float>, const SEACAVE::TPoint2<float>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint2<float>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
      memcpy(faceTexcoords.data()+f*3, face.tex.pTex, sizeof(TexCoord)*3);
                                                                        ^
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/Types.h:1258:7: note: ‘SEACAVE::cList<SEACAVE::TPoint2<float>, const SEACAVE::TPoint2<float>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint2<float>’} declared here
 class TPoint2 : public cv::Point_<TYPE>
       ^~~~~~~
/home/jupyter/openMVS/libs/MVS/Mesh.cpp: In member function ‘bool MVS::Mesh::LoadGLTF(const SEACAVE::String&, bool)’:
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1726:67: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘SEACAVE::cList<SEACAVE::TPoint3<float>, const SEACAVE::TPoint3<float>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint3<float>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
      memcpy(mesh.vertices.data(), pData, gltfBufferView.byteLength);
                                                                   ^
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/Types.h:1351:7: note: ‘SEACAVE::cList<SEACAVE::TPoint3<float>, const SEACAVE::TPoint3<float>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint3<float>’} declared here
 class TPoint3 : public cv::Point3_<TYPE>
       ^~~~~~~
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1749:64: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘SEACAVE::cList<SEACAVE::TPoint3<unsigned int>, const SEACAVE::TPoint3<unsigned int>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint3<unsigned int>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
      memcpy(mesh.faces.data(), pData, gltfBufferView.byteLength);
                                                                ^
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/Types.h:1351:7: note: ‘SEACAVE::cList<SEACAVE::TPoint3<unsigned int>, const SEACAVE::TPoint3<unsigned int>&, 0, 8192, unsigned int>::value_type’ {aka ‘class SEACAVE::TPoint3<unsigned int>’} declared here
 class TPoint3 : public cv::Point3_<TYPE>
       ^~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:390,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/List.h: In instantiation of ‘void SEACAVE::cList<TYPE, ARG_TYPE, useConstruct, grow, IDX_TYPE>::Memset(uint8_t) [with TYPE = SEACAVE::TPoint3<float>; ARG_TYPE = const SEACAVE::TPoint3<float>&; int useConstruct = 0; int grow = 8192; IDX_TYPE = unsigned int; uint8_t = unsigned char]’:
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:358:24:   required from here
/home/jupyter/openMVS/libs/MVS/../Common/List.h:292:9: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class SEACAVE::TPoint3<float>’ with no trivial copy-assignment [-Wclass-memaccess]
   memset(_vector, val, _size * sizeof(TYPE));
   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/Types.h:1351:7: note: ‘class SEACAVE::TPoint3<float>’ declared here
 class TPoint3 : public cv::Point3_<TYPE>
       ^~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static int vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:288:27:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:350:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             if ((forceTag || !params.userSelectedCreases) && (testCreaseEdge(p, params.creaseAngleCosThr) /*&& areaCheck*/ /* && qualityCheck*/) || p.IsBorder())
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:372:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<CLEAN::Face*, std::allocator<CLEAN::Face*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
                     for (int i = 0; i < faces.size(); ++i)
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:347:24: warning: unused variable ‘qualityCheck’ [-Wunused-variable]
             const bool qualityCheck = quality > 0.00000001 && qualityAdj > 0.00000001;
                        ^~~~~~~~~~~~
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ImproveValence(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:314:31:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:673:33: warning: unused variable ‘foldCheckRad’ [-Wunused-variable]
         const static ScalarType foldCheckRad = math::ToRad(5.);
                                 ^~~~~~~~~~~~
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::removeColinearFaces(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:249:28:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::cleanMesh(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:281:22:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable ‘f1’ [-Wunused-variable]
                     auto f1 = f.cFFp(longestIdx);
                          ^~
In file included from /home/jupyter/vcglib-2022.02/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28,
                 from /home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:32,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/edge_collapse.h: In instantiation of ‘static int vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::Do(vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::TriMeshType&, VertexPair&, const vcg::Point3<typename ComputeMeshType::VertexType::ScalarType>&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::TriMeshType = CLEAN::Mesh; typename ComputeMeshType::VertexType::ScalarType = float]’:
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:1000:42:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/isotropic_remeshing.h:309:35:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable ‘f’ [-Wunused-variable]
           FaceType  & f = *((*i).f);
                       ^
/home/jupyter/vcglib-2022.02/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable ‘f’ [-Wunused-variable]
               FaceType  & f = *((*i).f);
                           ^
make[2]: *** [libs/MVS/CMakeFiles/MVS.dir/build.make:115: libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:345: libs/MVS/CMakeFiles/MVS.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
cdcseacave commented 1 year ago

did you try latest VCG or at least use my fork which I know works https://github.com/cdcseacave/VCG

abhimanyuchadha96 commented 1 year ago

I didn't know this was a VCG issue, could you show me how you figured that out? (Looking to learn :D)

cdcseacave commented 1 year ago

what do u mean? the error is in a VCG library file:

/home/jupyter/vcglib-2022.02/vcg/simplex/tetrahedron/pos.h:388:9: error: ‘HETYPE’ was not declared 
abhimanyuchadha96 commented 1 year ago

Oh right, must have missed that. Sorry about that. Tried the forked version and looks like that error is solved but now we have a new one.

__CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h: In instantiation of ‘CUresult SEACAVE::CUDA::addKernelParam(CUfunc_st*&, int&, const T&) [with T = MeshRefineCUDA::<unnamed enum>; CUresult = cudaError_enum; CUfunction = CUfunc_st*]’:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:422:24:   required from ‘CUresult SEACAVE::CUDA::KernelRT::_AddParam(const T&) [with T = MeshRefineCUDA::<unnamed enum>; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:448:14:   recursively required from ‘CUresult SEACAVE::CUDA::KernelRT::AddParam(T&&, Args&& ...) [with T = SEACAVE::CUDA::MemDevice&; Args = {const int&, const int&, MeshRefineCUDA::<unnamed enum>}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:448:14:   required from ‘CUresult SEACAVE::CUDA::KernelRT::AddParam(T&&, Args&& ...) [with T = SEACAVE::CUDA::MemDevice&; Args = {SEACAVE::CUDA::MemDevice&, const int&, const int&, MeshRefineCUDA::<unnamed enum>}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:373:14:   required from ‘CUresult SEACAVE::CUDA::KernelRT::operator()(const SEACAVE::TPoint2<int>&, Args&& ...) [with Args = {SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, const int&, const int&, MeshRefineCUDA::<unnamed enum>}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:2623:2:   required from here
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h: In instantiation of ‘CUresult SEACAVE::CUDA::addKernelParam(CUfunc_st*&, int&, const T&) [with T = float; CUresult = cudaError_enum; CUfunction = CUfunc_st*]’:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:422:24:   required from ‘CUresult SEACAVE::CUDA::KernelRT::_AddParam(const T&) [with T = float; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:448:14:   recursively required from ‘CUresult SEACAVE::CUDA::KernelRT::AddParam(T&&, Args&& ...) [with T = SEACAVE::CUDA::MemDevice&; Args = {SEACAVE::CUDA::MemDevice&, unsigned int&, const float&}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:448:14:   required from ‘CUresult SEACAVE::CUDA::KernelRT::AddParam(T&&, Args&& ...) [with T = SEACAVE::CUDA::MemDevice&; Args = {SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, unsigned int&, const float&}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:352:14:   required from ‘CUresult SEACAVE::CUDA::KernelRT::operator()(int, Args&& ...) [with Args = {SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, unsigned int&, const float&}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:2753:3:   required from here
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h: In instantiation of ‘CUresult SEACAVE::CUDA::addKernelParam(CUfunc_st*&, int&, const T&) [with T = unsigned char; CUresult = cudaError_enum; CUfunction = CUfunc_st*]’:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:422:24:   required from ‘CUresult SEACAVE::CUDA::KernelRT::_AddParam(const T&) [with T = unsigned char; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:448:14:   recursively required from ‘CUresult SEACAVE::CUDA::KernelRT::AddParam(T&&, Args&& ...) [with T = SEACAVE::CUDA::MemDevice&; Args = {SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, unsigned int&, unsigned char}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:448:14:   required from ‘CUresult SEACAVE::CUDA::KernelRT::AddParam(T&&, Args&& ...) [with T = SEACAVE::CUDA::MemDevice&; Args = {SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, unsigned int&, unsigned char}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:352:14:   required from ‘CUresult SEACAVE::CUDA::KernelRT::operator()(int, Args&& ...) [with Args = {SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, SEACAVE::CUDA::MemDevice&, unsigned int&, unsigned char}; CUresult = cudaError_enum]’
/home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:2722:2:   required from here
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneRefineCUDA.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h: In instantiation of ‘CUresult SEACAVE::CUDA::addKernelParam(CUfunc_st*&, int&, const T&) [with T = long long unsigned int; CUresult = cudaError_enum; CUfunction = CUfunc_st*]’:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:426:65:   required from here
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneTexture.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
[ 45%] Building CUDA object libs/MVS/CMakeFiles/MVS.dir/PatchMatchCUDA.cu.o
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp: In member function ‘void DELAUNAY::vert_info_t::AllocateInfo()’:
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:290:58: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct DELAUNAY::view_info_t’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
  memset(viewsInfo, 0, sizeof(view_info_t)*views.GetSize());
                                                          ^
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:279:8: note: ‘struct DELAUNAY::view_info_t’ declared here
 struct view_info_t {
        ^~~~~~~~~~~
/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(97): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(97): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __host__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __device__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("~variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("~variable_if_dynamic") that is explicitly defaulted on its first declaration

/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp: In member function ‘bool MVS::Scene::ReconstructMesh(float, bool, bool, unsigned int, float, float, float, float, float, float, float, float)’:
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:1103:38: error: ‘(3.40282347e+38f * 9.99999975e-5f)’ is not a constant expression
   constexpr edge_cap_t maxCap(FLT_MAX*0.0001f);
                                      ^
/usr/local/include/eigen3/Eigen/src/Core/DenseBase.h(681): warning: __host__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseBase.h(681): warning: __device__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(485): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(485): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __host__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __device__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(158): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(158): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __host__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __device__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(189): warning: __host__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(189): warning: __device__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(191): warning: __host__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(191): warning: __device__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(192): warning: __host__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(192): warning: __device__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(193): warning: __host__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(193): warning: __device__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(77): warning: __host__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(77): warning: __device__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(119): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(119): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __host__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __device__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(189): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(189): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(304): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(304): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Map.h(161): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Map.h(161): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(92): warning: __host__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(92): warning: __device__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(326): warning: __host__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(326): warning: __device__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(113): warning: __host__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(113): warning: __device__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(163): warning: __host__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(163): warning: __device__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(183): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(183): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(354): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(354): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/IndexedView.h(116): warning: __host__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/IndexedView.h(116): warning: __device__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(105): warning: __host__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(105): warning: __device__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(139): warning: __host__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(139): warning: __device__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(157): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(157): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(217): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(217): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(68): warning: __host__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(68): warning: __device__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(128): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(128): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __host__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __device__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Diagonal.h(80): warning: __host__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Diagonal.h(80): warning: __device__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h: In instantiation of ‘CUresult SEACAVE::CUDA::addKernelParam(CUfunc_st*&, int&, const T&) [with T = long long unsigned int; CUresult = cudaError_enum; CUfunction = CUfunc_st*]’:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:426:65:   required from here
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:115:35: warning: ‘CUresult cuParamSetv(CUfunction, int, void*, unsigned int)’ is deprecated [-Wdeprecated-declarations]
  const CUresult result(cuParamSetv(hKernel, paramOffset, (void*)&param, sizeof(T)));
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/jupyter/openMVS/libs/MVS/../Common/UtilCUDA.h:17,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Types.h:2812,
                 from /home/jupyter/openMVS/libs/MVS/../Common/Common.h:176,
                 from /home/jupyter/openMVS/libs/MVS/Common.h:42,
                 from /home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:32:
/usr/local/cuda/include/cuda.h:12138:36: note: declared here
 __CUDA_DEPRECATED CUresult CUDAAPI cuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes);
                                    ^~~~~~~~~~~
/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(223): warning: __host__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(223): warning: __device__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(561): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(561): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __host__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __device__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reverse.h(92): warning: __host__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reverse.h(92): warning: __device__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(49): warning: __host__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(49): warning: __device__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(147): warning: __host__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(147): warning: __device__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(227): warning: __host__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(227): warning: __device__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __host__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __device__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __host__ annotation is ignored on a function("~QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __device__ annotation is ignored on a function("~QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(283): warning: __host__ annotation is ignored on a function("Quaternion") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(283): warning: __device__ annotation is ignored on a function("Quaternion") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(409): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(409): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(446): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(446): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

make[2]: *** [libs/MVS/CMakeFiles/MVS.dir/build.make:206: libs/MVS/CMakeFiles/MVS.dir/SceneReconstruct.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(97): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(97): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __host__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(98): warning: __device__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("~variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("~variable_if_dynamic") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseBase.h(681): warning: __host__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseBase.h(681): warning: __device__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(485): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(485): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __host__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MatrixBase.h(486): warning: __device__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(158): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(158): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __host__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayBase.h(159): warning: __device__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(189): warning: __host__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(189): warning: __device__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(191): warning: __host__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(191): warning: __device__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(192): warning: __host__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(192): warning: __device__ annotation is ignored on a function("DenseStorage") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(193): warning: __host__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h(193): warning: __device__ annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(77): warning: __host__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(77): warning: __device__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(119): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(119): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __host__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/CwiseUnaryView.h(138): warning: __device__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(189): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(189): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(190): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(304): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(304): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/MapBase.h(305): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Map.h(161): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Map.h(161): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(92): warning: __host__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(92): warning: __device__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(326): warning: __host__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Ref.h(326): warning: __device__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(113): warning: __host__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(113): warning: __device__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(163): warning: __host__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(163): warning: __device__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(183): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(183): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(354): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Block.h(354): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/IndexedView.h(116): warning: __host__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/IndexedView.h(116): warning: __device__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(105): warning: __host__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(105): warning: __device__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(139): warning: __host__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(139): warning: __device__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(157): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(157): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(217): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reshaped.h(217): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(68): warning: __host__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(68): warning: __device__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(128): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(128): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __host__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Transpose.h(159): warning: __device__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Diagonal.h(80): warning: __host__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Diagonal.h(80): warning: __device__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(223): warning: __host__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(223): warning: __device__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(561): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(561): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __host__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/TriangularMatrix.h(562): warning: __device__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reverse.h(92): warning: __host__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/Reverse.h(92): warning: __device__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(49): warning: __host__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(49): warning: __device__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(147): warning: __host__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Core/ArrayWrapper.h(147): warning: __device__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(227): warning: __host__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(227): warning: __device__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __host__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __device__ annotation is ignored on a function("QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __host__ annotation is ignored on a function("~QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(228): warning: __device__ annotation is ignored on a function("~QuaternionBase") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(283): warning: __host__ annotation is ignored on a function("Quaternion") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(283): warning: __device__ annotation is ignored on a function("Quaternion") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(409): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(409): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(446): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/include/eigen3/Eigen/src/Geometry/Quaternion.h(446): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

make[1]: *** [CMakeFiles/Makefile2:345: libs/MVS/CMakeFiles/MVS.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
abhimanyuchadha96 commented 1 year ago

TL,DR:-

/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp: In member function ‘bool MVS::Scene::ReconstructMesh(float, bool, bool, unsigned int, float, float, float, float, float, float, float, float)’:
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:1103:38: error: ‘(3.40282347e+38f * 9.99999975e-5f)’ is not a constant expression
   constexpr edge_cap_t maxCap(FLT_MAX*0.0001f);
                                      ^
cdcseacave commented 1 year ago

your compiler does not support C++17, pls upgrade or replace constexpr with const

abhimanyuchadha96 commented 1 year ago

Are you referring to the GCC compiler? If yes, then which version should I go for?

gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
abhimanyuchadha96 commented 1 year ago
(base) jupyter@retina-ds-abhimanyu:~/openMVS/make$ sudo cmake --build . -j 4
[ 13%] Built target Common
[ 20%] Built target Math
[ 38%] Built target IO
[ 63%] Built target MVS
[ 68%] Linking CXX executable ../../bin/DensifyPointCloud
[ 68%] Linking CXX executable ../../bin/InterfaceCOLMAP
[ 68%] Linking CXX executable ../../bin/InterfaceMVSNet
[ 68%] Linking CXX executable ../../bin/InterfaceMetashape
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::filesystem::__cxx11::path::format)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx114pathC2EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE[_ZNSt10filesystem7__cxx114pathC5EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS1_6formatE]+0x53): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::operator/=(std::filesystem::__cxx11::path const&)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx114pathdVERKS1_[_ZNSt10filesystem7__cxx114pathdVERKS1_]+0x3c): undefined reference to `std::filesystem::__cxx11::path::has_filename() const'
/usr/bin/ld: InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx114pathdVERKS1_[_ZNSt10filesystem7__cxx114pathdVERKS1_]+0x9b): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::is_absolute() const':
InterfaceMVSNet.cpp:(.text._ZNKSt10filesystem7__cxx114path11is_absoluteEv[_ZNKSt10filesystem7__cxx114path11is_absoluteEv]+0x12): undefined reference to `std::filesystem::__cxx11::path::has_root_directory() const'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::operator==(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx11eqERKNS0_4pathES3_[_ZNSt10filesystem7__cxx11eqERKNS0_4pathES3_]+0x1d): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::stem() const':
InterfaceMVSNet.cpp:(.text._ZNKSt10filesystem7__cxx114path4stemEv[_ZNKSt10filesystem7__cxx114path4stemEv]+0x16): undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::extension() const':
InterfaceMVSNet.cpp:(.text._ZNKSt10filesystem7__cxx114path9extensionEv[_ZNKSt10filesystem7__cxx114path9extensionEv]+0x16): undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx1118directory_iteratorC2ERKNS0_4pathE[_ZNSt10filesystem7__cxx1118directory_iteratorC5ERKNS0_4pathE]+0x24): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `(anonymous namespace)::ParseSceneMVSNet(MVS::Scene&)':
InterfaceMVSNet.cpp:(.text._ZN12_GLOBAL__N_116ParseSceneMVSNetERN3MVS5SceneE+0x247): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: InterfaceMVSNet.cpp:(.text._ZN12_GLOBAL__N_116ParseSceneMVSNetERN3MVS5SceneE+0xd39): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::path<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::filesystem::__cxx11::path>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path::format)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx114pathC2INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_EERKT_NS1_6formatE]+0x69): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::path<char [7], std::filesystem::__cxx11::path>(char const (&) [7], std::filesystem::__cxx11::path::format)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA7_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IA7_cS1_EERKT_NS1_6formatE]+0x63): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: CMakeFiles/InterfaceMVSNet.dir/InterfaceMVSNet.cpp.o: in function `std::filesystem::__cxx11::path::path<char [5], std::filesystem::__cxx11::path>(char const (&) [5], std::filesystem::__cxx11::path::format)':
InterfaceMVSNet.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA5_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IA5_cS1_EERKT_NS1_6formatE]+0x63): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `SEACAVE::Util::GetDiskInfo(SEACAVE::String const&)':
Util.cpp:(.text._ZN7SEACAVE4Util11GetDiskInfoERKNS_6StringE+0x4d): undefined reference to `std::filesystem::space(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `std::filesystem::__cxx11::path::path<char const*, std::filesystem::__cxx11::path>(char const* const&, std::filesystem::__cxx11::path::format)':
Util.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IPKcS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IPKcS1_EERKT_NS1_6formatE]+0x69): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/InterfaceMVSNet/CMakeFiles/InterfaceMVSNet.dir/build.make:227: bin/InterfaceMVSNet] Error 1
make[1]: *** [CMakeFiles/Makefile2:1460: apps/InterfaceMVSNet/CMakeFiles/InterfaceMVSNet.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `SEACAVE::Util::GetDiskInfo(SEACAVE::String const&)':
Util.cpp:(.text._ZN7SEACAVE4Util11GetDiskInfoERKNS_6StringE+0x4d): undefined reference to `std::filesystem::space(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `std::filesystem::__cxx11::path::path<char const*, std::filesystem::__cxx11::path>(char const* const&, std::filesystem::__cxx11::path::format)':
Util.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IPKcS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IPKcS1_EERKT_NS1_6formatE]+0x69): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/InterfaceMetashape/CMakeFiles/InterfaceMetashape.dir/build.make:227: bin/InterfaceMetashape] Error 1
make[1]: *** [CMakeFiles/Makefile2:1402: apps/InterfaceMetashape/CMakeFiles/InterfaceMetashape.dir/all] Error 2
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `SEACAVE::Util::GetDiskInfo(SEACAVE::String const&)':
Util.cpp:(.text._ZN7SEACAVE4Util11GetDiskInfoERKNS_6StringE+0x4d): undefined reference to `std::filesystem::space(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `std::filesystem::__cxx11::path::path<char const*, std::filesystem::__cxx11::path>(char const* const&, std::filesystem::__cxx11::path::format)':
Util.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IPKcS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IPKcS1_EERKT_NS1_6formatE]+0x69): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/InterfaceCOLMAP/CMakeFiles/InterfaceCOLMAP.dir/build.make:227: bin/InterfaceCOLMAP] Error 1
make[1]: *** [CMakeFiles/Makefile2:1344: apps/InterfaceCOLMAP/CMakeFiles/InterfaceCOLMAP.dir/all] Error 2
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `SEACAVE::Util::GetDiskInfo(SEACAVE::String const&)':
Util.cpp:(.text._ZN7SEACAVE4Util11GetDiskInfoERKNS_6StringE+0x4d): undefined reference to `std::filesystem::space(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../../lib/libCommon.a(Util.cpp.o): in function `std::filesystem::__cxx11::path::path<char const*, std::filesystem::__cxx11::path>(char const* const&, std::filesystem::__cxx11::path::format)':
Util.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IPKcS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IPKcS1_EERKT_NS1_6formatE]+0x69): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/DensifyPointCloud/CMakeFiles/DensifyPointCloud.dir/build.make:227: bin/DensifyPointCloud] Error 1
make[1]: *** [CMakeFiles/Makefile2:1518: apps/DensifyPointCloud/CMakeFiles/DensifyPointCloud.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
(base) jupyter@retina-ds-abhimanyu:~/openMVS/make$ 
abhimanyuchadha96 commented 1 year ago

Even with C++-17 we have the same error.

(base) jupyter@retina-ds-abhimanyu:~/openMVS/make$ sudo cmake .. -DOpenMVS_USE_CUDA=OFF -DVCG_ROOT=/home/jupyter/VCG/
-- Detected version of GNU GCC: 74 (704)
Compiling with C++17
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
-- Can't find OpenGL. Continuing without it.
-- WARNING: BREAKPAD was not found: Please specify BREAKPAD directory using BREAKPAD_ROOT env. variable
-- Can't find BreakPad. Continuing without it.
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   iostreams
--   program_options
--   system
--   serialization
--   regex
-- Eigen 3.3.7 found (include: /usr/include/eigen3)
-- OpenCV 3.2.0 found (include: /usr/include;/usr/include/opencv)
-- __cplusplus is 201703
--   --> Do not link with Boost.Thread
-- Boost version: 1.67.0
-- Boost include dirs: /usr/include
-- Boost libraries:    
-- VCG  found (include: /home/jupyter/VCG)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/CGAL/CGAL_enable_end_of_configuration_hook.cmake:32 (message):
  =======================================================================

  CGAL performance notice:

  The variable CMAKE_BUILD_TYPE is set to "".  For performance reasons, you
  should set CMAKE_BUILD_TYPE to "Release".

  Set CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE to TRUE if you want to disable
  this warning.

  =======================================================================
Call Stack (most recent call first):
  CMakeLists.txt:9999 (CGAL_run_at_the_end_of_configuration)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/jupyter/openMVS/make
(base) jupyter@retina-ds-abhimanyu:~/openMVS/make$ sudo cmake --build . -j 4
Scanning dependencies of target Common
[  1%] Building CXX object libs/Common/CMakeFiles/Common.dir/ConfigTable.cpp.o
[  3%] Building CXX object libs/Common/CMakeFiles/Common.dir/Common.cpp.o
[  4%] Building CXX object libs/Common/CMakeFiles/Common.dir/EventQueue.cpp.o
[  6%] Building CXX object libs/Common/CMakeFiles/Common.dir/Log.cpp.o
[  7%] Building CXX object libs/Common/CMakeFiles/Common.dir/SML.cpp.o
[  9%] Building CXX object libs/Common/CMakeFiles/Common.dir/Timer.cpp.o
[ 11%] Building CXX object libs/Common/CMakeFiles/Common.dir/Types.cpp.o
[ 12%] Building CXX object libs/Common/CMakeFiles/Common.dir/Util.cpp.o
[ 14%] Building CXX object libs/Common/CMakeFiles/Common.dir/UtilCUDA.cpp.o
[ 15%] Linking CXX static library ../../lib/libCommon.a
[ 15%] Built target Common
Scanning dependencies of target Math
Scanning dependencies of target IO
[ 17%] Building CXX object libs/Math/CMakeFiles/Math.dir/SimilarityTransform.cpp.o
[ 19%] Building CXX object libs/Math/CMakeFiles/Math.dir/IBFS/IBFS.cpp.o
[ 20%] Building CXX object libs/Math/CMakeFiles/Math.dir/Common.cpp.o
[ 22%] Building CXX object libs/IO/CMakeFiles/IO.dir/Common.cpp.o
[ 23%] Building CXX object libs/Math/CMakeFiles/Math.dir/LMFit/lmmin.cpp.o
[ 25%] Building CXX object libs/IO/CMakeFiles/IO.dir/Image.cpp.o
[ 26%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageBMP.cpp.o
[ 28%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageDDS.cpp.o
[ 30%] Linking CXX static library ../../lib/libMath.a
[ 31%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageJPG.cpp.o
[ 31%] Built target Math
[ 33%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImagePNG.cpp.o
[ 34%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageSCI.cpp.o
[ 36%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageTGA.cpp.o
[ 38%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageTIFF.cpp.o
[ 39%] Building CXX object libs/IO/CMakeFiles/IO.dir/OBJ.cpp.o
[ 41%] Building CXX object libs/IO/CMakeFiles/IO.dir/PLY.cpp.o
[ 42%] Building CXX object libs/IO/CMakeFiles/IO.dir/TinyXML2.cpp.o
[ 44%] Linking CXX static library ../../lib/libIO.a
[ 44%] Built target IO
Scanning dependencies of target MVS
[ 47%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Camera.cpp.o
[ 47%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Common.cpp.o
[ 50%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/DepthMap.cpp.o
[ 50%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Image.cpp.o
[ 52%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o
[ 53%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/PatchMatchCUDA.cpp.o
[ 55%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Platform.cpp.o
[ 57%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/PointCloud.cpp.o
[ 58%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/RectsBinPack.cpp.o
[ 60%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Scene.cpp.o
In file included from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:0:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool)::<lambda(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType&)> [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:378:17:   required from ‘struct vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]::<lambda(vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::PosType&)>’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:336:23:   required from ‘static int vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:288:27:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:350:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             if ((forceTag || !params.userSelectedCreases) && (testCreaseEdge(p, params.creaseAngleCosThr) /*&& areaCheck*/ /* && qualityCheck*/) || p.IsBorder())
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:372:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (int i = 0; i < faces.size(); ++i)
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:347:24: warning: unused variable ‘qualityCheck’ [-Wunused-variable]
             const bool qualityCheck = quality > 0.00000001 && qualityAdj > 0.00000001;
                        ^~~~~~~~~~~~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ImproveValence(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:314:31:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:673:33: warning: unused variable ‘foldCheckRad’ [-Wunused-variable]
         const static ScalarType foldCheckRad = math::ToRad(5.);
                                 ^~~~~~~~~~~~
[ 61%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneDensify.cpp.o
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::removeColinearFaces(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:249:28:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::cleanMesh(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:281:22:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:197:36: warning: variable ‘n1’ set but not used [-Wunused-but-set-variable]
                         const auto n1 = vcg::TriangleNormal(t1);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:198:36: warning: variable ‘n2’ set but not used [-Wunused-but-set-variable]
                         const auto n2 = vcg::TriangleNormal(t2);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:199:36: warning: variable ‘n3’ set but not used [-Wunused-but-set-variable]
                         const auto n3 = vcg::TriangleNormal(t3);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:200:36: warning: variable ‘n4’ set but not used [-Wunused-but-set-variable]
                         const auto n4 = vcg::TriangleNormal(t4);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable ‘f1’ [-Wunused-variable]
                     auto f1 = f.cFFp(longestIdx);
                          ^~
In file included from /home/jupyter/VCG/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28:0,
                 from /home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:32,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:
/home/jupyter/VCG/vcg/complex/algorithms/edge_collapse.h: In instantiation of ‘static int vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::Do(vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::TriMeshType&, VertexPair&, const vcg::Point3<typename ComputeMeshType::VertexType::ScalarType>&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::TriMeshType = CLEAN::Mesh; typename ComputeMeshType::VertexType::ScalarType = float]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:1000:42:   required from ‘vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&)::<lambda(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType&)> [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType = CLEAN::Face]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:1000:43:   required from ‘struct vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]::<lambda(vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::FaceType&)>’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:988:24:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:309:35:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable ‘f’ [-Wunused-variable]
           FaceType  & f = *((*i).f);
                       ^
/home/jupyter/VCG/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable ‘f’ [-Wunused-variable]
               FaceType  & f = *((*i).f);
                           ^
In file included from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:0:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::checkCanMoveOnCollapse(const PosType&, const std::vector<typename CleanMeshType::FaceType*>&, const std::vector<int>&, const Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; typename CleanMeshType::FaceType = CLEAN::Face; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:901:54:   required from ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::checkCollapseFacesAroundVert1(const PosType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair&, vcg::Point3<typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType>&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; typename TRI_MESH_TYPE::FaceType::VertexType = CLEAN::Vertex; typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType = float; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:930:49:   required from ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::testCollapse1(const PosType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair&, vcg::Point3<typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType>&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ScalarType, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ScalarType, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; typename TRI_MESH_TYPE::FaceType::VertexType = CLEAN::Vertex; typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType = float; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ScalarType = float; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:998:41:   required from ‘vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&)::<lambda(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType&)> [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType = CLEAN::Face]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:1000:43:   required from ‘struct vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]::<lambda(vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::FaceType&)>’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:988:24:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:309:35:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:800:17: warning: variable ‘pi’ set but not used [-Wunused-but-set-variable]
         PosType pi = p;
                 ^~
[ 63%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneReconstruct.cpp.o
[ 65%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneRefine.cpp.o
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp: In member function ‘bool MVS::Scene::ReconstructMesh(float, bool, bool, unsigned int, float, float, float, float, float, float, float, float)’:
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:1103:38: error: ‘(3.40282347e+38f * 9.99999975e-5f)’ is not a constant expression
   constexpr edge_cap_t maxCap(FLT_MAX*0.0001f);
                                      ^
make[2]: *** [libs/MVS/CMakeFiles/MVS.dir/build.make:206: libs/MVS/CMakeFiles/MVS.dir/SceneReconstruct.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:345: libs/MVS/CMakeFiles/MVS.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Twilight89 commented 1 year ago

Even with C++-17 we have the same error.

(base) jupyter@retina-ds-abhimanyu:~/openMVS/make$ sudo cmake .. -DOpenMVS_USE_CUDA=OFF -DVCG_ROOT=/home/jupyter/VCG/
-- Detected version of GNU GCC: 74 (704)
Compiling with C++17
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) 
-- Can't find OpenGL. Continuing without it.
-- WARNING: BREAKPAD was not found: Please specify BREAKPAD directory using BREAKPAD_ROOT env. variable
-- Can't find BreakPad. Continuing without it.
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   iostreams
--   program_options
--   system
--   serialization
--   regex
-- Eigen 3.3.7 found (include: /usr/include/eigen3)
-- OpenCV 3.2.0 found (include: /usr/include;/usr/include/opencv)
-- __cplusplus is 201703
--   --> Do not link with Boost.Thread
-- Boost version: 1.67.0
-- Boost include dirs: /usr/include
-- Boost libraries:    
-- VCG  found (include: /home/jupyter/VCG)
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/CGAL/CGAL_enable_end_of_configuration_hook.cmake:32 (message):
  =======================================================================

  CGAL performance notice:

  The variable CMAKE_BUILD_TYPE is set to "".  For performance reasons, you
  should set CMAKE_BUILD_TYPE to "Release".

  Set CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE to TRUE if you want to disable
  this warning.

  =======================================================================
Call Stack (most recent call first):
  CMakeLists.txt:9999 (CGAL_run_at_the_end_of_configuration)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/jupyter/openMVS/make
(base) jupyter@retina-ds-abhimanyu:~/openMVS/make$ sudo cmake --build . -j 4
Scanning dependencies of target Common
[  1%] Building CXX object libs/Common/CMakeFiles/Common.dir/ConfigTable.cpp.o
[  3%] Building CXX object libs/Common/CMakeFiles/Common.dir/Common.cpp.o
[  4%] Building CXX object libs/Common/CMakeFiles/Common.dir/EventQueue.cpp.o
[  6%] Building CXX object libs/Common/CMakeFiles/Common.dir/Log.cpp.o
[  7%] Building CXX object libs/Common/CMakeFiles/Common.dir/SML.cpp.o
[  9%] Building CXX object libs/Common/CMakeFiles/Common.dir/Timer.cpp.o
[ 11%] Building CXX object libs/Common/CMakeFiles/Common.dir/Types.cpp.o
[ 12%] Building CXX object libs/Common/CMakeFiles/Common.dir/Util.cpp.o
[ 14%] Building CXX object libs/Common/CMakeFiles/Common.dir/UtilCUDA.cpp.o
[ 15%] Linking CXX static library ../../lib/libCommon.a
[ 15%] Built target Common
Scanning dependencies of target Math
Scanning dependencies of target IO
[ 17%] Building CXX object libs/Math/CMakeFiles/Math.dir/SimilarityTransform.cpp.o
[ 19%] Building CXX object libs/Math/CMakeFiles/Math.dir/IBFS/IBFS.cpp.o
[ 20%] Building CXX object libs/Math/CMakeFiles/Math.dir/Common.cpp.o
[ 22%] Building CXX object libs/IO/CMakeFiles/IO.dir/Common.cpp.o
[ 23%] Building CXX object libs/Math/CMakeFiles/Math.dir/LMFit/lmmin.cpp.o
[ 25%] Building CXX object libs/IO/CMakeFiles/IO.dir/Image.cpp.o
[ 26%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageBMP.cpp.o
[ 28%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageDDS.cpp.o
[ 30%] Linking CXX static library ../../lib/libMath.a
[ 31%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageJPG.cpp.o
[ 31%] Built target Math
[ 33%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImagePNG.cpp.o
[ 34%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageSCI.cpp.o
[ 36%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageTGA.cpp.o
[ 38%] Building CXX object libs/IO/CMakeFiles/IO.dir/ImageTIFF.cpp.o
[ 39%] Building CXX object libs/IO/CMakeFiles/IO.dir/OBJ.cpp.o
[ 41%] Building CXX object libs/IO/CMakeFiles/IO.dir/PLY.cpp.o
[ 42%] Building CXX object libs/IO/CMakeFiles/IO.dir/TinyXML2.cpp.o
[ 44%] Linking CXX static library ../../lib/libIO.a
[ 44%] Built target IO
Scanning dependencies of target MVS
[ 47%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Camera.cpp.o
[ 47%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Common.cpp.o
[ 50%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/DepthMap.cpp.o
[ 50%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Image.cpp.o
[ 52%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Mesh.cpp.o
[ 53%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/PatchMatchCUDA.cpp.o
[ 55%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Platform.cpp.o
[ 57%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/PointCloud.cpp.o
[ 58%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/RectsBinPack.cpp.o
[ 60%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/Scene.cpp.o
In file included from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:0:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool)::<lambda(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType&)> [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:378:17:   required from ‘struct vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]::<lambda(vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::PosType&)>’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:336:23:   required from ‘static int vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:288:27:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:350:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
             if ((forceTag || !params.userSelectedCreases) && (testCreaseEdge(p, params.creaseAngleCosThr) /*&& areaCheck*/ /* && qualityCheck*/) || p.IsBorder())
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:372:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (int i = 0; i < faces.size(); ++i)
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:347:24: warning: unused variable ‘qualityCheck’ [-Wunused-variable]
             const bool qualityCheck = quality > 0.00000001 && qualityAdj > 0.00000001;
                        ^~~~~~~~~~~~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ImproveValence(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:314:31:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:673:33: warning: unused variable ‘foldCheckRad’ [-Wunused-variable]
         const static ScalarType foldCheckRad = math::ToRad(5.);
                                 ^~~~~~~~~~~~
[ 61%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneDensify.cpp.o
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::removeColinearFaces(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:249:28:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::cleanMesh(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:281:22:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:197:36: warning: variable ‘n1’ set but not used [-Wunused-but-set-variable]
                         const auto n1 = vcg::TriangleNormal(t1);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:198:36: warning: variable ‘n2’ set but not used [-Wunused-but-set-variable]
                         const auto n2 = vcg::TriangleNormal(t2);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:199:36: warning: variable ‘n3’ set but not used [-Wunused-but-set-variable]
                         const auto n3 = vcg::TriangleNormal(t3);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:200:36: warning: variable ‘n4’ set but not used [-Wunused-but-set-variable]
                         const auto n4 = vcg::TriangleNormal(t4);
                                    ^~
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable ‘f1’ [-Wunused-variable]
                     auto f1 = f.cFFp(longestIdx);
                          ^~
In file included from /home/jupyter/VCG/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28:0,
                 from /home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:32,
                 from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:
/home/jupyter/VCG/vcg/complex/algorithms/edge_collapse.h: In instantiation of ‘static int vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::Do(vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::TriMeshType&, VertexPair&, const vcg::Point3<typename ComputeMeshType::VertexType::ScalarType>&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::TriMeshType = CLEAN::Mesh; typename ComputeMeshType::VertexType::ScalarType = float]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:1000:42:   required from ‘vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&)::<lambda(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType&)> [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType = CLEAN::Face]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:1000:43:   required from ‘struct vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]::<lambda(vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::FaceType&)>’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:988:24:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:309:35:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable ‘f’ [-Wunused-variable]
           FaceType  & f = *((*i).f);
                       ^
/home/jupyter/VCG/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable ‘f’ [-Wunused-variable]
               FaceType  & f = *((*i).f);
                           ^
In file included from /home/jupyter/openMVS/libs/MVS/Mesh.cpp:58:0:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::checkCanMoveOnCollapse(const PosType&, const std::vector<typename CleanMeshType::FaceType*>&, const std::vector<int>&, const Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; typename CleanMeshType::FaceType = CLEAN::Face; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’:
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:901:54:   required from ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::checkCollapseFacesAroundVert1(const PosType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair&, vcg::Point3<typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType>&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; typename TRI_MESH_TYPE::FaceType::VertexType = CLEAN::Vertex; typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType = float; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:930:49:   required from ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::testCollapse1(const PosType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair&, vcg::Point3<typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType>&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ScalarType, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ScalarType, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::VertexPair = vcg::tri::BasicVertexPair<CLEAN::Vertex>; typename TRI_MESH_TYPE::FaceType::VertexType = CLEAN::Vertex; typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType = float; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ScalarType = float; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:998:41:   required from ‘vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&)::<lambda(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType&)> [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::FaceType = CLEAN::Face]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:1000:43:   required from ‘struct vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]::<lambda(vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::FaceType&)>’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:988:24:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params]’
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:309:35:   required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType&, vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::MeshType = CLEAN::Mesh; vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Params = vcg::tri::IsotropicRemeshing<CLEAN::Mesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
/home/jupyter/openMVS/libs/MVS/Mesh.cpp:1362:72:   required from here
/home/jupyter/VCG/vcg/complex/algorithms/isotropic_remeshing.h:800:17: warning: variable ‘pi’ set but not used [-Wunused-but-set-variable]
         PosType pi = p;
                 ^~
[ 63%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneReconstruct.cpp.o
[ 65%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneRefine.cpp.o
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp: In member function ‘bool MVS::Scene::ReconstructMesh(float, bool, bool, unsigned int, float, float, float, float, float, float, float, float)’:
/home/jupyter/openMVS/libs/MVS/SceneReconstruct.cpp:1103:38: error: ‘(3.40282347e+38f * 9.99999975e-5f)’ is not a constant expression
   constexpr edge_cap_t maxCap(FLT_MAX*0.0001f);
                                      ^
make[2]: *** [libs/MVS/CMakeFiles/MVS.dir/build.make:206: libs/MVS/CMakeFiles/MVS.dir/SceneReconstruct.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:345: libs/MVS/CMakeFiles/MVS.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

add link_libraries(stdc++fs) to the CMakelists.txt

cdcseacave commented 1 year ago

some compiler do report C++17 support but it is not a full support

a5192179 commented 1 year ago

I solve this problem by git reset --hard 3b2bb8402c9c38c77b8be27461f95284c60b5d21, but I meet another problem after doing that.

weiyunchen92 commented 1 year ago

I solve this problem by git reset --hard 3b2bb84, but I meet another problem after doing that.

it works for me as well with ubuntu20.04 and latest vcglib. Thanks!

DavidLMonica commented 11 months ago

I sovled this problem by installing g++-9 (or even gcc-10). Then add "-DCMAKE_CXX_COMPILER=/usr/bin/g++-9 -DCMAKE_C_COMPILER=/usr/bin/gcc-9" in cmake command.