ultravideo / open3dgen Goto Github PK
View Code? Open in Web Editor NEWOpen-Source software for reconstructing textured 3D models from RGB-D images
License: MIT License
Open-Source software for reconstructing textured 3D models from RGB-D images
License: MIT License
when i ran ./build.sh ,there was en error: ‘min’ was not declared in this scope.
`yz@geoway-SYS-7048GR-TR:~/Open3DGen$ ./build.sh
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GLEW: /usr/include (found version "2.1.0")
-- Found Open3D: /usr/lib/x86_64-linux-gnu/cmake/Open3D/Open3DConfig.cmake (found version "0.9.0")
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindOpenGL.cmake:305 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:33 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found Open3D 0.9.0
-- Found OpenCV: /usr (found version "4.5.1")
-- OpenCV library status:
-- config: /usr/lib/x86_64-linux-gnu/cmake/opencv4
-- version: 4.5.1
-- libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_alphamat;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img_hash;opencv_intensity_transform;opencv_line_descriptor;opencv_mcc;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_rapid;opencv_reg;opencv_rgbd;opencv_saliency;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_viz;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- include path: /usr/include/opencv4
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Boost: /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake (found suitable version "1.73.0", minimum required is "1.43") found components: serialization system filesystem thread program_options date_time timer chrono regex
-- GTSAM include directory: /usr/local/lib/cmake/GTSAM/../../../include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yz/Open3DGen/build
Scanning dependencies of target Open3DGen
[ 35%] Building CXX object CMakeFiles/Open3DGen.dir/src/rgbd_utilities.cpp.o
[ 35%] Building CXX object CMakeFiles/Open3DGen.dir/src/visualizer.cpp.o
[ 35%] Building CXX object CMakeFiles/Open3DGen.dir/src/utilities.cpp.o
[ 35%] Building CXX object CMakeFiles/Open3DGen.dir/main.cpp.o
[ 35%] Building CXX object CMakeFiles/Open3DGen.dir/src/surface_mesh.cpp.o
[ 35%] Building CXX object CMakeFiles/Open3DGen.dir/src/texture_projector.cpp.o
[ 41%] Building CXX object CMakeFiles/Open3DGen.dir/src/math_modules.cpp.o
[ 47%] Building CXX object CMakeFiles/Open3DGen.dir/src/uv_unwrapper.cpp.o
[ 52%] Building CXX object CMakeFiles/Open3DGen.dir/src/pointcloud_registration.cpp.o
[ 58%] Building CXX object CMakeFiles/Open3DGen.dir/src/realtime_mesh.cpp.o
[ 70%] Building CXX object CMakeFiles/Open3DGen.dir/src/features.cpp.o
[ 70%] Building CXX object CMakeFiles/Open3DGen.dir/src/shader_stuff.cpp.o
[ 76%] Building CXX object CMakeFiles/Open3DGen.dir/src/poseg2.cpp.o
[ 82%] Building CXX object CMakeFiles/Open3DGen.dir/src/pose_predictor.cpp.o
[ 88%] Building CXX object CMakeFiles/Open3DGen.dir/libraries/xatlas/xatlas.cpp.o
[ 94%] Building CXX object CMakeFiles/Open3DGen.dir/libraries/tinyobj/tiny_obj_loader.cpp.o
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/texture_projector.h:12,
from /home/yz/Open3DGen/src/texture_projector.cpp:1:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/realtime_mesh.h:9,
from /home/yz/Open3DGen/src/realtime_mesh.cpp:1:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/surface_mesh.cpp:1:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/uv_unwrapper.h:10,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/main.cpp:13:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | er_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/pointcloud_registration.h:17,
from /home/yz/Open3DGen/src/pointcloud_registration.cpp:1:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/texture_projector.h:12,
from /home/yz/Open3DGen/src/texture_projector.cpp:1:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/surface_mesh.cpp:1:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/realtime_mesh.h:9,
from /home/yz/Open3DGen/src/realtime_mesh.cpp:1:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/uv_unwrapper.h:10,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/main.cpp:13:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/texture_projector.h:12,
from /home/yz/Open3DGen/src/texture_projector.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/surface_mesh.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/uv_unwrapper.h:10,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/realtime_mesh.h:9,
from /home/yz/Open3DGen/src/realtime_mesh.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/pointcloud_registration.h:17,
from /home/yz/Open3DGen/src/pointcloud_registration.cpp:1:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/main.cpp:13:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | b/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/pointcloud_registration.h:17,
from /home/yz/Open3DGen/src/pointcloud_registration.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
/home/yz/Open3DGen/src/uv_unwrapper.cpp: In function ‘void stitcher3d::uv::pad_uvs(std::vector<Eigen::Matrix<double, 2, 1> >&, const std::vector&, double)’:
/home/yz/Open3DGen/src/uv_unwrapper.cpp:111:26: error: ‘min’ was not declared in this scope
111 | min(uv0.x(), min(uv1.x(), uv2.x())),
| ^~~
/home/yz/Open3DGen/src/uv_unwrapper.cpp:111:26: note: suggested alternatives:
In file included from /usr/include/c++/10/functional:65,
from /usr/include/eigen3/Eigen/Core:281,
from /usr/include/Open3D/Camera/PinholeCameraIntrinsic.h:29,
from /usr/include/Open3D/Open3D.h:30,
from /home/yz/Open3DGen/src/uv_unwrapper.h:3,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:3479:5: note: ‘std::min’
3479 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /usr/include/opencv4/opencv2/features2d.hpp:47,
from /home/yz/Open3DGen/src/s3d_camera.h:11,
from /home/yz/Open3DGen/src/constants.h:6,
from /home/yz/Open3DGen/src/uv_unwrapper.h:9,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/opencv4/opencv2/core.hpp:1443:17: note: ‘cv::min’
1443 | CV_EXPORTS void min(const UMat& src1, const UMat& src2, UMat& dst);
| ^~~
In file included from /usr/include/eigen3/Eigen/Core:416,
from /usr/include/Open3D/Camera/PinholeCameraIntrinsic.h:29,
from /usr/include/Open3D/Open3D.h:30,
from /home/yz/Open3DGen/src/uv_unwrapper.h:3,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:508:45: note: ‘Eigen::half_impl::min’
508 | EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half (min)(const half& a, const half& b) {
| ^~~
In file included from /usr/local/include/boost/mpl/pair_view.hpp:24,
from /usr/local/include/boost/mpl/transform.hpp:20,
from /usr/local/include/boost/variant/variant.hpp:90,
from /usr/local/include/boost/variant.hpp:17,
from /usr/local/include/gtsam/inference/EliminateableFactorGraph.h:23,
from /usr/local/include/gtsam/linear/GaussianFactorGraph.h:25,
from /usr/local/include/gtsam/nonlinear/NonlinearOptimizerParams.h:24,
from /usr/local/include/gtsam/nonlinear/NonlinearOptimizer.h:22,
from /usr/local/include/gtsam/nonlinear/LevenbergMarquardtOptimizer.h:23,
from /home/yz/Open3DGen/src/poseg2.h:66,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/uv_unwrapper.h:10,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/local/include/boost/mpl/min_max.hpp:27:8: note: ‘boost::mpl::min’
27 | struct min
| ^~~
/home/yz/Open3DGen/src/uv_unwrapper.cpp:111:13: error: ‘min’ was not declared in this scope
111 | min(uv0.x(), min(uv1.x(), uv2.x())),
| ^~~
/home/yz/Open3DGen/src/uv_unwrapper.cpp:111:13: note: suggested alternatives:
In file included from /usr/include/c++/10/functional:65,
from /usr/include/eigen3/Eigen/Core:281,
from /usr/include/Open3D/Camera/PinholeCameraIntrinsic.h:29,
from /usr/include/Open3D/Open3D.h:30,
from /home/yz/Open3DGen/src/uv_unwrapper.h:3,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:3479:5: note: ‘std::min’
3479 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from /usr/include/opencv4/opencv2/features2d.hpp:47,
from /home/yz/Open3DGen/src/s3d_camera.h:11,
from /home/yz/Open3DGen/src/constants.h:6,
from /home/yz/Open3DGen/src/uv_unwrapper.h:9,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/opencv4/opencv2/core.hpp:1443:17: note: ‘cv::min’
1443 | CV_EXPORTS void min(const UMat& src1, const UMat& src2, UMat& dst);
| ^~~
In file included from /usr/include/eigen3/Eigen/Core:416,
from /usr/include/Open3D/Camera/PinholeCameraIntrinsic.h:29,
from /usr/include/Open3D/Open3D.h:30,
from /home/yz/Open3DGen/src/uv_unwrapper.h:3,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/include/eigen3/Eigen/src/Core/arch/CUDA/Half.h:508:45: note: ‘Eigen::half_impl::min’
508 | EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half (min)(const half& a, const half& b) {
| ^~~
In file included from /usr/local/include/boost/mpl/pair_view.hpp:24,
from /usr/local/include/boost/mpl/transform.hpp:20,
from /usr/local/include/boost/variant/variant.hpp:90,
from /usr/local/include/boost/variant.hpp:17,
from /usr/local/include/gtsam/inference/EliminateableFactorGraph.h:23,
from /usr/local/include/gtsam/linear/GaussianFactorGraph.h:25,
from /usr/local/include/gtsam/nonlinear/NonlinearOptimizerParams.h:24,
from /usr/local/include/gtsam/nonlinear/NonlinearOptimizer.h:22,
from /usr/local/include/gtsam/nonlinear/LevenbergMarquardtOptimizer.h:23,
from /home/yz/Open3DGen/src/poseg2.h:66,
from /home/yz/Open3DGen/src/surface_mesh.h:15,
from /home/yz/Open3DGen/src/uv_unwrapper.h:10,
from /home/yz/Open3DGen/src/uv_unwrapper.cpp:1:
/usr/local/include/boost/mpl/min_max.hpp:27:8: note: ‘boost::mpl::min’
27 | struct min
| ^~~
In file included from /usr/local/include/gtsam/base/types.h:31,
from /usr/local/include/gtsam/global_includes.h:22,
from /usr/local/include/gtsam/base/Vector.h:27,
from /usr/local/include/gtsam/base/Matrix.h:26,
from /usr/local/include/gtsam/base/Manifold.h:22,
from /usr/local/include/gtsam/base/Lie.h:25,
from /usr/local/include/gtsam/base/VectorSpace.h:11,
from /usr/local/include/gtsam/geometry/Point2.h:20,
from /home/yz/Open3DGen/src/poseg2.h:60,
from /home/yz/Open3DGen/src/poseg2.cpp:1:
/usr/include/tbb/task_scheduler_init.h:21:154: note: ‘#pragma message: TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task_scheduler_init.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
In file included from /usr/local/include/boost/bind.hpp:30,
from /usr/local/include/gtsam/nonlinear/Values.h:37,
from /usr/local/include/gtsam/nonlinear/NonlinearFactor.h:23,
from /usr/local/include/gtsam/slam/PriorFactor.h:18,
from /home/yz/Open3DGen/src/poseg2.h:62,
from /home/yz/Open3DGen/src/poseg2.cpp:1:
/usr/local/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/gtsam/geometry/Unit3.h:36,
from /usr/local/include/gtsam/geometry/Rot3.h:25,
from /usr/local/include/gtsam/geometry/Pose3.h:24,
from /usr/local/include/gtsam/geometry/CalibratedCamera.h:23,
from /usr/local/include/gtsam/geometry/PinholePose.h:22,
from /usr/local/include/gtsam/geometry/PinholeCamera.h:21,
from /usr/local/include/gtsam/geometry/SimpleCamera.h:22,
from /usr/local/include/gtsam/slam/ProjectionFactor.h:24,
from /home/yz/Open3DGen/src/poseg2.h:63,
from /home/yz/Open3DGen/src/poseg2.cpp:1:
/usr/include/tbb/mutex.h:21:140: note: ‘#pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
gmake[2]: *** [CMakeFiles/Open3DGen.dir/build.make:160: CMakeFiles/Open3DGen.dir/src/uv_unwrapper.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/Open3DGen.dir/all] Error 2
gmake: *** [Makefile:103: all] Error 2
`
But i have solved it by adding the following code in the uv_unwrapper.cpp
#include <algorithm> using namespace std
Because apt can't install libopen3d-dev on Ubuntu18.04, I have build and install open3d from source.
Here is my steps:
git clone https://github.com/isl-org/Open3D
cd Open3D
mkdir build
cd build
cmake .. -DBUILD_PYTHON_MODULE=OFF -DBUILD_CUDA_MODULE=ON
make
sudo make install
Then, I run ./build.sh in Open3DGen, some errors occur like:
fatal error: Open3D/Open3D.h: No such file or directory
I replace #include<Open3D/Open3D.h>
with #include<open3d/Open3D.h>
, more error like error: ‘registration’ is not a member of ‘stitcher3d::o3d’
occur.
How can I fix this?
By the way, is there a proper way to install Open3D in ubuntu18.04?
Hello, what version of open3d do you use,thanks!
With the Open3DGen pipeline, it seems to generate a reconstructed mesh which is a coarse and low-detail version, and images with textures. So how to generate new mesh with high quality detail after texture projection?
Glad to receive your reply. Thanks.
Error:
/Open3DGen/src/texture_projector.cpp:403:10: error: ‘atomic_int’ is not a member of ‘std’
403 | std::atomic_int success_count = 0;
Fix:texture_projector.cpp,加入#include <std::atomic_int>
Error:
/usr/local/include/gtsam/base/Vector.h:76:30: error: static assertion failed: Error: GTSAM was built against a different version of Eigen
76 | GTSAM_EIGEN_VERSION_MAJOR==EIGEN_MAJOR_VERSION,
Fix:
Firstly cmake -DGTSAM_USE_SYSTEM_EIGEN=ON -DGTSAM_WITH_TBB=OFF .. ; but still get the error. So I decide to comment the code below in base/Vector.h
//static_assert(
// GTSAM_EIGEN_VERSION_WORLD==EIGEN_WORLD_VERSION &&
// GTSAM_EIGEN_VERSION_MAJOR==EIGEN_MAJOR_VERSION,
// "Error: GTSAM was built against a different version of Eigen");
Error:
Open3D/3rdparty/pybind11/include/pybind11/pybind11.h:2036:30: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
2036 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
Fix: cmake .. -DBUILD_PYBIND11=OFF -DBUILD_CPP_EXAMPLES=OFF ,Because the version of python on ubuntu is not compatible with the pybind11.
We should install libopen3d-dev on our Ubuntu system. When we compile Open3D with source code, which version of Open3D (from Open3D 0.9 to Open3D 0.16) can we choose so that we can achieve the same effect of using "sudo apt-get install libopen3d-dev"?Thanks very much!
Hello, when I run build.sh
on ubuntu18.04, I am getting the following error:
In file included from /home/luosq/Projects/Open3DGen/main.cpp:13:0:
/home/luosq/Projects/Open3DGen/src/surface_mesh.h: In member function ‘void stitcher3d::surface::SurfaceMesh::scale(double)’:
/home/luosq/Projects/Open3DGen/src/surface_mesh.h:80:47:error: no matching function for call to ‘open3d::geometry::PointCloud::Scale(const double&)’
m_pointcloud->Scale(scaling_factor);
^
In file included from /usr/local/include/Open3D/Open3D.h:60:0,
from /home/luosq/Projects/Open3DGen/main.cpp:7:
/usr/local/include/Open3D/Geometry/PointCloud.h:76:17: note: candidate: virtual open3d::geometry::PointCloud& open3d::geometry::PointCloud::Scale(double, const Vector3d&)
PointCloud &Scale(const double scale,
^~~~~
/usr/local/include/Open3D/Geometry/PointCloud.h:76:17: note: candidate expects 2 arguments, 1 provided
In file included from /home/luosq/Projects/Open3DGen/main.cpp:13:0:
/home/luosq/Projects/Open3DGen/src/surface_mesh.h:83:41:error: no matching function for call to ‘open3d::geometry::TriangleMesh::Scale(const double&)’
m_mesh->Scale(scaling_factor);
^
In file included from /usr/local/include/Open3D/Geometry/TriangleMesh.h:38:0,
from /usr/local/include/Open3D/Visualization/Rendering/Renderer.h:29,
from /usr/local/include/Open3D/GUI/Window.h:37,
from /usr/local/include/Open3D/Open3D.h:52,
from /home/luosq/Projects/Open3DGen/main.cpp:7:
/usr/local/include/Open3D/Geometry/MeshBase.h:93:23: note: candidate: virtual open3d::geometry::MeshBase& open3d::geometry::MeshBase::Scale(double, const Vector3d&)
virtual MeshBase &Scale(const double scale,
^~~~~
/usr/local/include/Open3D/Geometry/MeshBase.h:93:23: note: candidate expects 2 arguments, 1 provided
In file included from /home/luosq/Projects/Open3DGen/main.cpp:13:0:
/home/luosq/Projects/Open3DGen/src/surface_mesh.h: In static member function ‘static std::shared_ptrstitcher3d::surface::SurfaceMesh stitcher3d::surface::SurfaceMesh::mesh_from_cameras_and_obj(const std::vector<std::shared_ptrstitcher3d::Camera >&, double, const string&)’:
/home/luosq/Projects/Open3DGen/src/surface_mesh.h:96:49:error: no matching function for call to ‘open3d::geometry::PointCloud::Scale(const double&, bool)’
cloud->Scale(pointcloud_scale, false);
^
In file included from /usr/local/include/Open3D/Open3D.h:60:0,
from /home/luosq/Projects/Open3DGen/main.cpp:7:
/usr/local/include/Open3D/Geometry/PointCloud.h:76:17: note: candidate: virtual open3d::geometry::PointCloud& open3d::geometry::PointCloud::Scale(double, const Vector3d&)
PointCloud &Scale(const double scale,
^~~~~
/usr/local/include/Open3D/Geometry/PointCloud.h:76:17: note: no known conversion for argument 2 from ‘bool’ to ‘const Vector3d& {aka const Eigen::Matrix<double, 3, 1>&}’
/home/luosq/Projects/Open3DGen/main.cpp: In function ‘int main(int, char**)’:
/home/luosq/Projects/Open3DGen/main.cpp:66:9:error: reference to ‘o3d’ is ambiguous
o3d::io::WritePointCloudToPLY(output_path + "/reconstructed_point_cloud.ply", *mesh->get_pointcloud());
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:75:36:error: parse error in template argument list
const auto bbox = std::make_sharedo3d::geometry::OrientedBoundingBox(mesh->get_pointcloud()->GetOrientedBoundingBox().Scale(BOUNDING_BOX_SCALE_FACTOR, true));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luosq/Projects/Open3DGen/main.cpp:75:170:error: no matching function for call to ‘open3d::geometry::OrientedBoundingBox::Scale(const float&, bool)’
haredo3d::geometry::OrientedBoundingBox(mesh->get_pointcloud()->GetOrientedBoundingBox().Scale(BOUNDING_BOX_SCALE_FACTOR, true));
^
In file included from /home/luosq/Projects/Open3DGen/main.cpp:1:0:
/usr/local/include/Open3D/Geometry/BoundingVolume.h:90:34: note: candidate: virtual open3d::geometry::OrientedBoundingBox& open3d::geometry::OrientedBoundingBox::Scale(double, const Vector3d&)
virtual OrientedBoundingBox& Scale(const double scale,
^~~~~
/usr/local/include/Open3D/Geometry/BoundingVolume.h:90:34: note: no known conversion for argument 2 from ‘bool’ to ‘const Vector3d& {aka const Eigen::Matrix<double, 3, 1>&}’
/home/luosq/Projects/Open3DGen/main.cpp:79:13:error: reference to ‘o3d’ is ambiguous
o3d::visualization::DrawGeometries({ mesh->get_mesh(), bbox });
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:88:13:error: reference to ‘o3d’ is ambiguous
o3d::visualization::DrawGeometries({ mesh->get_mesh()});
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:155:17:error: reference to ‘o3d’ is ambiguous
o3d::visualization::DrawGeometries({ mesh->get_mesh()});
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:179:41:error: template argument 1 is invalid
std::vectoro3d::geometry::Image textures;
^
/home/luosq/Projects/Open3DGen/main.cpp:179:41:error: template argument 2 is invalid
/home/luosq/Projects/Open3DGen/main.cpp:182:22:error: request for member ‘emplace_back’ in ‘textures’, which is of non-class type ‘int’
textures.emplace_back(o3d::geometry::Image());
^~~~~~~~~~~~
/home/luosq/Projects/Open3DGen/main.cpp:182:35:error: reference to ‘o3d’ is ambiguous
textures.emplace_back(o3d::geometry::Image());
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:184:17:error: reference to ‘o3d’ is ambiguous
o3d::io::ReadImage(assets_path + RAY_BLANK_IMG_8K, textures.back());
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:184:77:error: request for member ‘back’ in ‘textures’, which is of non-class type ‘int’
o3d::io::ReadImage(assets_path + RAY_BLANK_IMG_8K, textures.back());
^~~~
/home/luosq/Projects/Open3DGen/main.cpp:186:17: error: reference to ‘o3d’ is ambiguous
o3d::io::ReadImage(assets_path + RAY_BLANK_IMG_4K, textures.back());
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:186:77:error: request for member ‘back’ in ‘textures’, which is of non-class type ‘int’
o3d::io::ReadImage(assets_path + RAY_BLANK_IMG_4K, textures.back());
^~~~
/home/luosq/Projects/Open3DGen/main.cpp:188:17:error: reference to ‘o3d’ is ambiguous
o3d::io::ReadImage(assets_path + RAY_BLANK_IMG_2K, textures.back());
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:188:77:error: request for member ‘back’ in ‘textures’, which is of non-class type ‘int’
o3d::io::ReadImage(assets_path + RAY_BLANK_IMG_2K, textures.back());
^~~~
/home/luosq/Projects/Open3DGen/main.cpp:192:181:error: invalid initialization of reference of type
‘std::vectoropen3d::geometry::Image&’ from expression of type ‘int’
gpu(DEFAULT_DEPTH_SCALE, pointcloud_world_scale, *mesh, textures, cameras, output_nth, workgroup_size, ray_threshold, reject_blur);
^
In file included from /home/luosq/Projects/Open3DGen/main.cpp:19:0:
/home/luosq/Projects/Open3DGen/src/texture_projector.h:40:6: note: in passing argument 4 of ‘void stitcher3d::textures::project_texture_sequence_on_mesh_gpu(float, float, stitcher3d::surface::SurfaceMesh&, std::vectoropen3d::geometry::Image&, std::vector<std::shared_ptrstitcher3d::Camera >, uint32_t, uint32_t, float, float)’
void project_texture_sequence_on_mesh_gpu(const float depth_scale, const float depth_cloud_world_scale, surface::SurfaceMesh& mesh, std::vectoro3d::geometry::Image& textures,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/luosq/Projects/Open3DGen/main.cpp:199:42:error: request for member ‘size’ in ‘textures’, which is of non-class type ‘int’
for (int i = 0; i < textures.size(); i++)
^~~~
/home/luosq/Projects/Open3DGen/main.cpp:200:17:error: reference to ‘o3d’ is ambiguous
o3d::io::WriteImage(output_path + "/texture_out_gpu_" + std::to_string(i) + ".png", textures[i]);
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:200:111:error: invalid types ‘int[int]’ for array subscript
o3d::io::WriteImage(output_path + "/texture_out_gpu_" + std::to_string(i) + ".png", textures[i]);
^
/home/luosq/Projects/Open3DGen/main.cpp:205:9:error: reference to ‘o3d’ is ambiguous
o3d::geometry::Image avg_texture = textures::average_blend_images(textures);
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:214:9:error: reference to ‘o3d’ is ambiguous
o3d::io::WriteImage(output_path + "/texture_out_gpu_average.png", avg_texture);
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
/home/luosq/Projects/Open3DGen/main.cpp:214:75:error: ‘avg_texture’ was not declared in this scope
o3d::io::WriteImage(output_path + "/texture_out_gpu_average.png", avg_texture);
^~~~~~~~~~~
/home/luosq/Projects/Open3DGen/main.cpp:214:75: note: suggested alternative: ‘textures’
o3d::io::WriteImage(output_path + "/texture_out_gpu_average.png", avg_texture);
^~~~~~~~~~~
textures
/home/luosq/Projects/Open3DGen/main.cpp:220:9:error: reference to ‘o3d’ is ambiguous
o3d::io::WriteImage(output_path + "/texture_out_gpu_average_dilated.png", avg_texture);
^~~
In file included from /home/luosq/Projects/Open3DGen/src/constants.h:6:0,
from /home/luosq/Projects/Open3DGen/src/visualizer.h:6,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/s3d_camera.h:15:23: note: candidates are: namespace o3d = open3d;
namespace o3d = open3d;
^
In file included from /home/luosq/Projects/Open3DGen/src/visualizer.h:6:0,
from /home/luosq/Projects/Open3DGen/src/surface_mesh.h:12,
from /home/luosq/Projects/Open3DGen/main.cpp:13:
/home/luosq/Projects/Open3DGen/src/constants.h:125:27: note: namespace stitcher3d::o3d = open3d;
namespace o3d = open3d;
^
CMakeFiles/Open3DGen.dir/build.make:81: recipe for target 'CMakeFiles/Open3DGen.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/Open3DGen.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/Open3DGen.dir/all' failed
make[1]: *** [CMakeFiles/Open3DGen.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2
The versions of some dependencies I use are as follows:
Open3D = 0.10.1
OpenCV & OpenCV_Contrib = 3.4.5
GTSAM = 4.1.1
clang = 12.0.1
Is it caused by the incompatibility of different Open3D versions? Can you give me some advice? or which version are you using?Best regards.
no enough landmarks in view :0
what is the reason
hello, I would like to know which version of opencv you are using?
We should install libopen3d-dev on our Ubuntu system. When we compile Open3D with source code, which version of Open3D (from Open3D 0.9 to Open3D 0.16) can we choose so that we can achieve the same effect of using "sudo apt-get install libopen3d-dev"?Thanks very much!
interested in solution to "Xatlas produces poor UVs" and "a better texture projection algorithm"
Have you tested on Ubuntu 20.04? When I install it, third-party libs like open3d cannot be installed using apt. When I build from the source of open3d, it needs cmake version above 3.19.2. However, if I remove cmake 3.16, my other projects need to reconfigure. Do you have any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.