NVlabs / BundleSDF

[CVPR 2023] BundleSDF: Neural 6-DoF Tracking and 3D Reconstruction of Unknown Objects
https://bundlesdf.github.io/
Other
1.07k stars 118 forks source link

Unable to docker build #68

Closed Davidyao99 closed 1 year ago

Davidyao99 commented 1 year ago

I am following the instructions for building the docker container but my build is failing. The error thrown is the following:


[+] Building 14371.8s (12/22)                                                                            docker:default
 => [internal] load build definition from dockerfile                                                               0.0s
 => => transferring dockerfile: 5.33kB                                                                             0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 2B                                                                                    0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04                             0.7s
 => [auth] nvidia/cuda:pull token for registry-1.docker.io                                                         0.0s
 => [ 1/18] FROM docker.io/nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04@sha256:d7d61d5e76fbe54da7a3076e4f1fc62af1f  0.1s
 => => resolve docker.io/nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04@sha256:d7d61d5e76fbe54da7a3076e4f1fc62af1fca  0.0s
 => => sha256:052b3b515d9653f9c6e358e5b70f8bb9d75c17a8b2039055674dfa7caa970791 2.84kB / 2.84kB                     0.0s
 => => sha256:d7d61d5e76fbe54da7a3076e4f1fc62af1fca0d40a6ef2253ee247f6d865d95e 743B / 743B                         0.0s
 => => sha256:37441370db5b00a37e4907e236e9a56d06c941048d00ea7ef2f34f73ead5c35b 17.06kB / 17.06kB                   0.0s
 => [ 2/18] RUN ln -snf /usr/share/zoneinfo/US/Pacific /etc/localtime && echo US/Pacific > /etc/timezone           0.2s
 => [ 3/18] RUN apt-get update --fix-missing &&     apt-get install -y libgtk2.0-dev &&     apt-get install -y   273.3s
 => [ 4/18] RUN cd / && wget https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz &&    tar xvzf   8.5s
 => [ 5/18] RUN cd / &&    git clone https://github.com/opencv/opencv &&    cd opencv &&    git checkout 3.4.15   42.0s
 => [ 6/18] RUN cd /opencv/build &&    cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_CUDA_STUBS=OFF -DBUILD_DOCS  6238.8s
 => [ 7/18] RUN cd / &&    git clone https://github.com/PointCloudLibrary/pcl                                     18.7s
 => ERROR [ 8/18] RUN cd /pcl &&    git checkout pcl-1.10.0 &&    mkdir build &&    cd build &&    cmake .. -D  7789.0s
------
 > [ 8/18] RUN cd /pcl &&    git checkout pcl-1.10.0 &&    mkdir build &&    cd build &&    cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_apps=OFF -DBUILD_GPU=OFF  -DBUILD_CUDA=OFF -DBUILD_examples=OFF -DBUILD_global_tests=OFF -DBUILD_simulation=OFF -DCUDA_BUILD_EMULATION=OFF -DCMAKE_CXX_FLAGS=-std=c++11 -DPCL_ENABLE_SSE=ON -DPCL_SHARED_LIBS=ON &&    make -j6 &&    make install:
0.672 Note: switching to 'pcl-1.10.0'.
0.672
0.672 You are in 'detached HEAD' state. You can look around, make experimental
0.672 changes and commit them, and you can discard any commits you make in this
0.672 state without impacting any branches by switching back to a branch.
0.672
0.672 If you want to create a new branch to retain commits you create, you may
0.672 do so (now or later) by using -c with the switch command. Example:
0.672
0.672   git switch -c <new-branch-name>
0.672
0.672 Or undo this operation with:
0.672
0.672   git switch -
0.672
0.672 Turn off this advice by setting config variable advice.detachedHead to false
0.672
0.672 HEAD is now at af3ce2530 1.10.0 Release (#3552)
0.741 -- The C compiler identification is GNU 9.4.0
0.814 -- The CXX compiler identification is GNU 9.4.0
0.821 -- Check for working C compiler: /usr/bin/cc
0.890 -- Check for working C compiler: /usr/bin/cc -- works
0.891 -- Detecting C compiler ABI info
0.954 -- Detecting C compiler ABI info - done
0.967 -- Detecting C compile features
0.968 -- Detecting C compile features - done
0.971 -- Check for working CXX compiler: /usr/bin/c++
1.046 -- Check for working CXX compiler: /usr/bin/c++ -- works
1.048 -- Detecting CXX compiler ABI info
1.129 -- Detecting CXX compiler ABI info - done
1.143 -- Detecting CXX compile features
1.143 -- Detecting CXX compile features - done
1.148 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
1.152 -- Could NOT find ClangFormat (missing: ClangFormat_EXECUTABLE ClangFormat_VERSION) (Required is at least version "7")
1.408 -- Found OpenMP_C: -fopenmp (found version "4.5")
1.491 -- Found OpenMP_CXX: -fopenmp (found version "4.5")
1.491 -- Found OpenMP: TRUE (found version "4.5")
1.492 -- Found OpenMP
1.493 -- Looking for pthread.h
1.575 -- Looking for pthread.h - found
1.575 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
1.651 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
1.652 -- Found Threads: TRUE
1.656 -- Checking for module 'eigen3'
1.668 --   Found eigen3, version 3.4.0
1.694 -- Found Eigen: /usr/local/include/eigen3 (Required is at least version "3.1")
1.694 -- Eigen found (include: /usr/local/include/eigen3, version: 3.4.0)
1.704 -- Checking for module 'flann>=1.7.0'
1.716 --   Found flann, version 1.9.1
1.751 -- Found FLANN: /usr/lib/x86_64-linux-gnu/libflann_cpp.so (Required is at least version "1.7.0")
1.753 -- Could NOT find LIBUSB_1 (missing: LIBUSB_1_LIBRARY LIBUSB_1_INCLUDE_DIR)
1.758 -- Checking for module 'libusb-1.0'
1.761 --   No package 'libusb-1.0' found
1.763 -- Could NOT find USB_10 (missing: USB_10_LIBRARY USB_10_INCLUDE_DIR)
1.763 -- OpenNI disabled because libusb-1.0 not found.
1.763 -- OpenNI grabber support: not building because OpenNI not found
1.768 -- Checking for module 'libusb-1.0'
1.771 --   No package 'libusb-1.0' found
1.773 -- Could NOT find USB_10 (missing: USB_10_LIBRARY USB_10_INCLUDE_DIR)
1.773 -- OpenNI 2 disabled because libusb-1.0 not found.
1.773 -- OpenNI2 grabber support: not building because OpenNI2 not found
1.777 -- Could NOT find ENSENSO (missing: ENSENSO_LIBRARIES ENSENSO_INCLUDE_DIRS)
1.777 -- IDS-Imaging Ensenso camera support: not building because Ensenso not found
1.779 -- Could NOT find davidSDK (missing: DAVIDSDK_LIBRARY DAVIDSDK_INCLUDE_DIR)
1.779 -- David Vision Systems SDK support: not building because davidSDK not found
1.781 -- Could NOT find DSSDK (missing: DSSDK_LIBRARIES DSSDK_INCLUDE_DIRS)
1.781 -- DepthSense SDK support: not building because DSSDK not found
1.782 -- Could NOT find RSSDK (missing: RSSDK_LIBRARIES RSSDK_INCLUDE_DIRS)
1.783 -- RealSense SDK support: not building because RSSDK not found
1.789 CMake Warning at cmake/Modules/FindRSSDK2.cmake:12 (find_package):
1.789   By not providing "Findrealsense2.cmake" in CMAKE_MODULE_PATH this project
1.789   has asked CMake to find a package configuration file provided by
1.789   "realsense2", but CMake did not find one.
1.789
1.789   Could not find a package configuration file provided by "realsense2" with
1.789   any of the following names:
1.789
1.789     realsense2Config.cmake
1.789     realsense2-config.cmake
1.789
1.789   Add the installation prefix of "realsense2" to CMAKE_PREFIX_PATH or set
1.789   "realsense2_DIR" to a directory containing one of the above files.  If
1.789   "realsense2" provides a separate development package or SDK, be sure it has
1.789   been installed.
1.789 Call Stack (most recent call first):
1.789   cmake/pcl_targets.cmake:817 (find_package)
1.789   CMakeLists.txt:326 (PCL_ADD_GRABBER_DEPENDENCY)
1.789
1.789
1.789 -- RealSense SDK 2.0 (librealsense) support: not building because RSSDK2 not found
1.790 -- Checking for module 'metslib'
1.793 --   No package 'metslib' found
1.801 -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
1.812 -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.37")
1.821 -- Could NOT find Qhull (missing: QHULL_LIBRARIES QHULL_INCLUDE_DIRS)
1.836 -- Found CUDA Toolkit v11.3
1.837 -- CUDA NVCC target flags: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_53,code=sm_53;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_72,code=sm_72;-gencode;arch=compute_75,code=sm_75
1.856 CMake Warning at CMakeLists.txt:398 (find_package):
1.856   By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
1.856   asked CMake to find a package configuration file provided by "VTK", but
1.856   CMake did not find one.
1.856
1.856   Could not find a package configuration file provided by "VTK" with any of
1.856   the following names:
1.856
1.856     VTKConfig.cmake
1.856     vtk-config.cmake
1.856
1.856   Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
1.856   to a directory containing one of the above files.  If "VTK" provides a
1.856   separate development package or SDK, be sure it has been installed.
1.856
1.856
1.859 -- Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
1.924 -- Found Boost: /usr/include (found suitable version "1.71.0", minimum required is "1.55.0") found components: filesystem date_time iostreams system regex
2.023 -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
2.045 -- Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
2.080 -- DOXYGEN_FOUND
2.080 -- HTML_HELP_COMPILER
2.088 -- Found CPack generators: DEB
2.114 -- The following subsystems will be built:
2.114 --   common
2.114 --   kdtree
2.115 --   octree
2.115 --   search
2.115 --   sample_consensus
2.115 --   filters
2.115 --   2d
2.115 --   geometry
2.115 --   io
2.115 --   features
2.115 --   ml
2.115 --   segmentation
2.116 --   surface
2.116 --   registration
2.116 --   keypoints
2.116 --   tracking
2.116 --   recognition
2.116 --   stereo
2.117 --   tools
2.117 -- The following subsystems will not be built:
2.118 --   visualization: VTK was not found.
2.118 --   apps: No reason
2.118 --   outofcore: Disabled manually.
2.119 --   examples: Code examples are disabled by default.
2.119 --   people: Disabled manually.
2.119 --   simulation: Disabled by default.
2.119 --   global_tests: No reason
2.136 -- Configuring done
2.457 -- Generating done
2.469 -- Build files have been written to: /pcl/build
2.520 Scanning dependencies of target pcl_pcd_convert_NaN_nan
2.530 [  0%] Building CXX object io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/pcd_convert_NaN_nan.cpp.o
2.541 Scanning dependencies of target pcl_io_ply
2.554 [  0%] Building CXX object io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o
2.610 Scanning dependencies of target pcl_common
2.634 [  0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/point_types.cpp.o
2.635 [  1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o
2.636 [  1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/io.cpp.o
2.639 [  1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/PCLPointCloud2.cpp.o
3.050 [  1%] Linking CXX executable ../../bin/pcl_pcd_convert_NaN_nan
3.169 [  1%] Built target pcl_pcd_convert_NaN_nan
3.183 [  1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/common.cpp.o
7.255 [  2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o
8.368 [  2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/distances.cpp.o
8.468 [  2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/parse.cpp.o
9.475 [  2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/poses_from_matches.cpp.o
9.677 [  3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/print.cpp.o
10.78 [  3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/projection_matrix.cpp.o
13.16 [  3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/time_trigger.cpp.o
13.77 [  3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/gaussian.cpp.o
15.53 [  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/colors.cpp.o
19.52 [  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/feature_histogram.cpp.o
19.75 [  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/bearing_angle_image.cpp.o
20.61 [  4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/range_image.cpp.o
21.00 [  4%] Linking CXX shared library ../lib/libpcl_io_ply.so
21.08 [  5%] Building CXX object common/CMakeFiles/pcl_common.dir/src/range_image_planar.cpp.o
21.17 [  5%] Built target pcl_io_ply
21.18 [  5%] Building C object common/CMakeFiles/pcl_common.dir/src/fft/kiss_fft.c.o
22.02 [  5%] Building C object common/CMakeFiles/pcl_common.dir/src/fft/kiss_fftr.c.o
22.14 Scanning dependencies of target pcl_plyheader
22.16 [  5%] Building CXX object io/tools/ply/CMakeFiles/pcl_plyheader.dir/plyheader.cpp.o
22.22 Scanning dependencies of target pcl_ply2raw
22.24 [  5%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2raw.dir/ply2raw.cpp.o
22.87 [  5%] Linking CXX executable ../../../bin/pcl_plyheader
23.02 [  5%] Built target pcl_plyheader
23.06 Scanning dependencies of target pcl_ply2ply
23.07 Scanning dependencies of target pcl_ply2obj
23.08 [  5%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2ply.dir/ply2ply.cpp.o
23.09 [  5%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2obj.dir/ply2obj.cpp.o
30.18 [  6%] Linking CXX executable ../../../bin/pcl_ply2raw
30.31 [  6%] Built target pcl_ply2raw
30.81 [  6%] Linking CXX executable ../../../bin/pcl_ply2obj
30.93 [  6%] Built target pcl_ply2obj
33.75 [  6%] Linking CXX executable ../../../bin/pcl_ply2ply
33.85 [  6%] Built target pcl_ply2ply
39.33 [  7%] Linking CXX shared library ../lib/libpcl_common.so
39.46 [  7%] Built target pcl_common
39.51 Scanning dependencies of target pcl_octree
39.52 Scanning dependencies of target pcl_kdtree
39.53 [  8%] Building CXX object octree/CMakeFiles/pcl_octree.dir/src/octree_inst.cpp.o
39.54 [  9%] Building CXX object kdtree/CMakeFiles/pcl_kdtree.dir/src/kdtree_flann.cpp.o
39.54 Scanning dependencies of target pcl_ml
39.55 Scanning dependencies of target pcl_stereo
39.56 [ 10%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32i.cpp.o
39.57 [ 10%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_grabber.cpp.o
39.60 Scanning dependencies of target pcl_sample_consensus
39.63 [ 11%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac.cpp.o
39.65 Scanning dependencies of target pcl_io
39.68 [ 11%] Building CXX object io/CMakeFiles/pcl_io.dir/src/debayer.cpp.o
40.11 [ 11%] Building CXX object io/CMakeFiles/pcl_io.dir/src/pcd_grabber.cpp.o
44.83 [ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32f.cpp.o
49.23 [ 12%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_matching.cpp.o
49.83 [ 12%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/densecrf.cpp.o
50.93 [ 12%] Building CXX object io/CMakeFiles/pcl_io.dir/src/pcd_io.cpp.o
55.22 [ 12%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_block_based.cpp.o
60.40 [ 12%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_adaptive_cost_so.cpp.o
62.82 [ 13%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/pairwise_potential.cpp.o
64.82 [ 14%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vtk_io.cpp.o
66.17 [ 14%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/disparity_map_converter.cpp.o
70.55 [ 14%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ply_io.cpp.o
71.96 [ 14%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/permutohedral.cpp.o
75.06 [ 14%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o
75.78 [ 15%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/digital_elevation_map.cpp.o
82.40 [ 15%] Linking CXX shared library ../lib/libpcl_stereo.so
82.63 [ 15%] Built target pcl_stereo
82.65 [ 15%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o
84.80 [ 15%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm_wrapper.cpp.o
85.71 [ 15%] Linking CXX shared library ../lib/libpcl_kdtree.so
86.05 [ 15%] Built target pcl_kdtree
86.06 [ 15%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o
88.78 [ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ascii_io.cpp.o
94.97 [ 15%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm.cpp.o
98.51 [ 16%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/kmeans.cpp.o
101.1 [ 16%] Building CXX object io/CMakeFiles/pcl_io.dir/src/compression.cpp.o
102.7 [ 16%] Linking CXX shared library ../lib/libpcl_octree.so
103.0 [ 16%] Built target pcl_octree
103.0 [ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/lzf.cpp.o
104.9 [ 17%] Linking CXX shared library ../lib/libpcl_ml.so
105.1 [ 17%] Built target pcl_ml
105.1 [ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/lzf_image_io.cpp.o
105.2 Scanning dependencies of target pcl_search
105.2 [ 18%] Building CXX object search/CMakeFiles/pcl_search.dir/src/search.cpp.o
113.2 [ 18%] Building CXX object search/CMakeFiles/pcl_search.dir/src/kdtree.cpp.o
116.3 [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/obj_io.cpp.o
118.8 [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ifs_io.cpp.o
131.3 [ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_grabber.cpp.o
131.7 [ 20%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o
132.4 [ 20%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o
135.1 [ 20%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_parallel_line.cpp.o
139.1 [ 20%] Building CXX object search/CMakeFiles/pcl_search.dir/src/brute_force.cpp.o
151.0 [ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.o
160.3 [ 20%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o
160.6 [ 20%] Building CXX object search/CMakeFiles/pcl_search.dir/src/organized.cpp.o
169.1 [ 21%] Building CXX object search/CMakeFiles/pcl_search.dir/src/octree.cpp.o
179.3 [ 22%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o
182.5 [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vlp_grabber.cpp.o
194.7 [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/robot_eye_grabber.cpp.o
196.7 [ 23%] Building CXX object io/CMakeFiles/pcl_io.dir/src/file_io.cpp.o
207.7 [ 23%] Building CXX object io/CMakeFiles/pcl_io.dir/src/auto_io.cpp.o
212.8 [ 23%] Building CXX object io/CMakeFiles/pcl_io.dir/src/io_exception.cpp.o
213.4 [ 23%] Building CXX object io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.o
213.4 [ 23%] Linking CXX shared library ../lib/libpcl_search.so
213.9 [ 23%] Built target pcl_search
213.9 [ 23%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o
220.2 Scanning dependencies of target pcl_surface
220.3 [ 23%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/processing.cpp.o
220.6 [ 24%] Linking CXX shared library ../lib/libpcl_io.so
221.0 [ 24%] Built target pcl_io
221.0 [ 24%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/ear_clipping.cpp.o
223.3 Scanning dependencies of target pcl_hdl_grabber
223.3 [ 24%] Building CXX object io/tools/CMakeFiles/pcl_hdl_grabber.dir/hdl_grabber_example.cpp.o
226.9 Scanning dependencies of target pcl_convert_pcd_ascii_binary
226.9 [ 24%] Building CXX object io/tools/CMakeFiles/pcl_convert_pcd_ascii_binary.dir/convert_pcd_ascii_binary.cpp.o
228.5 [ 25%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/gp3.cpp.o
231.4 [ 25%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/grid_projection.cpp.o
238.0 [ 26%] Linking CXX executable ../../bin/pcl_convert_pcd_ascii_binary
238.2 [ 26%] Built target pcl_convert_pcd_ascii_binary
238.2 [ 26%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes.cpp.o
238.9 [ 26%] Linking CXX executable ../../bin/pcl_hdl_grabber
239.1 [ 26%] Built target pcl_hdl_grabber
239.2 Scanning dependencies of target pcl_pcd_introduce_nan
239.2 [ 26%] Building CXX object io/tools/CMakeFiles/pcl_pcd_introduce_nan.dir/pcd_introduce_nan.cpp.o
252.0 [ 27%] Linking CXX executable ../../bin/pcl_pcd_introduce_nan
252.2 [ 27%] Built target pcl_pcd_introduce_nan
252.2 [ 27%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_hoppe.cpp.o
255.8 Scanning dependencies of target pcl_compute_hausdorff
255.9 [ 27%] Building CXX object tools/CMakeFiles/pcl_compute_hausdorff.dir/compute_hausdorff.cpp.o
259.6 Scanning dependencies of target pcl_pcd_change_viewpoint
259.7 [ 27%] Building CXX object tools/CMakeFiles/pcl_pcd_change_viewpoint.dir/pcd_change_viewpoint.cpp.o
260.0 Scanning dependencies of target pcl_concatenate_points_pcd
260.0 [ 27%] Building CXX object tools/CMakeFiles/pcl_concatenate_points_pcd.dir/concatenate_points_pcd.cpp.o
267.9 [ 28%] Linking CXX executable ../bin/pcl_compute_hausdorff
268.1 [ 28%] Built target pcl_compute_hausdorff
268.2 Scanning dependencies of target pcl_xyz2pcd
268.2 [ 28%] Building CXX object tools/CMakeFiles/pcl_xyz2pcd.dir/xyz2pcd.cpp.o
269.8 Scanning dependencies of target pcl_demean_cloud
269.8 [ 28%] Building CXX object tools/CMakeFiles/pcl_demean_cloud.dir/demean_cloud.cpp.o
270.3 [ 29%] Linking CXX executable ../bin/pcl_pcd_change_viewpoint
270.6 [ 29%] Built target pcl_pcd_change_viewpoint
270.6 [ 29%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o
271.1 [ 29%] Linking CXX executable ../bin/pcl_concatenate_points_pcd
271.4 [ 29%] Built target pcl_concatenate_points_pcd
271.4 [ 29%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_plane.cpp.o
277.1 [ 30%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_rbf.cpp.o
281.8 [ 31%] Linking CXX executable ../bin/pcl_xyz2pcd
282.0 [ 31%] Built target pcl_xyz2pcd
282.1 Scanning dependencies of target pcl_pcd2ply
282.1 [ 31%] Building CXX object tools/CMakeFiles/pcl_pcd2ply.dir/pcd2ply.cpp.o
282.4 [ 32%] Linking CXX executable ../bin/pcl_demean_cloud
282.6 [ 32%] Built target pcl_demean_cloud
282.7 Scanning dependencies of target pcl_ply2pcd
282.7 [ 32%] Building CXX object tools/CMakeFiles/pcl_ply2pcd.dir/ply2pcd.cpp.o
284.5 Scanning dependencies of target pcl_pclzf2pcd
284.6 [ 32%] Building CXX object tools/CMakeFiles/pcl_pclzf2pcd.dir/pclzf2pcd.cpp.o
294.1 [ 32%] Linking CXX executable ../bin/pcl_pcd2ply
294.3 [ 32%] Built target pcl_pcd2ply
294.3 [ 33%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_registration.cpp.o
295.3 [ 34%] Linking CXX executable ../bin/pcl_ply2pcd
295.5 [ 34%] Built target pcl_ply2pcd
295.5 [ 34%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o
298.1 [ 34%] Linking CXX executable ../bin/pcl_pclzf2pcd
298.3 [ 34%] Built target pcl_pclzf2pcd
298.3 Scanning dependencies of target pcl_generate
298.4 [ 35%] Building CXX object tools/CMakeFiles/pcl_generate.dir/generate.cpp.o
308.2 Scanning dependencies of target pcl_pcd2vtk
308.2 [ 36%] Building CXX object tools/CMakeFiles/pcl_pcd2vtk.dir/pcd2vtk.cpp.o
309.4 [ 36%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/bilateral_upsampling.cpp.o
310.8 [ 36%] Linking CXX executable ../bin/pcl_generate
311.0 [ 36%] Built target pcl_generate
311.1 Scanning dependencies of target pcl_compute_cloud_error
311.1 [ 36%] Building CXX object tools/CMakeFiles/pcl_compute_cloud_error.dir/compute_cloud_error.cpp.o
316.5 [ 36%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o
317.8 [ 36%] Linking CXX executable ../bin/pcl_pcd2vtk
318.0 [ 36%] Built target pcl_pcd2vtk
318.1 Scanning dependencies of target pcl_add_gaussian_noise
318.1 [ 36%] Building CXX object tools/CMakeFiles/pcl_add_gaussian_noise.dir/add_gaussian_noise.cpp.o
322.8 [ 36%] Linking CXX executable ../bin/pcl_compute_cloud_error
323.0 [ 36%] Built target pcl_compute_cloud_error
323.0 [ 36%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/organized_fast_mesh.cpp.o
328.8 [ 36%] Linking CXX executable ../bin/pcl_add_gaussian_noise
329.0 [ 36%] Built target pcl_add_gaussian_noise
329.0 [ 37%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/simplification_remove_unused_vertices.cpp.o
331.7 [ 37%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/surfel_smoothing.cpp.o
334.2 [ 37%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/texture_mapping.cpp.o
335.1 [ 37%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/poisson.cpp.o
336.1 [ 37%] Linking CXX shared library ../lib/libpcl_sample_consensus.so
337.7 [ 37%] Built target pcl_sample_consensus
337.9 Scanning dependencies of target pcl_filters
338.0 [ 37%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/conditional_removal.cpp.o
341.8 [ 37%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/crop_box.cpp.o
362.8 [ 37%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/extract_indices.cpp.o
372.8 [ 38%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/factor.cpp.o
373.1 [ 39%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/filter.cpp.o
383.6 [ 39%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/geometry.cpp.o
386.3 [ 39%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/filter_indices.cpp.o
386.7 [ 39%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/passthrough.cpp.o
390.0 [ 39%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/shadowpoints.cpp.o
392.6 [ 39%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/marching_cubes_poisson.cpp.o
393.9 [ 40%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/project_inliers.cpp.o
395.0 [ 40%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/radius_outlier_removal.cpp.o
402.9 [ 40%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/random_sample.cpp.o
410.4 [ 40%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/normal_space.cpp.o
422.0 Scanning dependencies of target pcl_plane_projection
422.0 [ 40%] Building CXX object tools/CMakeFiles/pcl_plane_projection.dir/plane_projection.cpp.o
424.0 [ 41%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/sampling_surface_normal.cpp.o
429.2 [ 41%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/statistical_outlier_removal.cpp.o
430.4 [ 41%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid.cpp.o
434.5 [ 42%] Linking CXX executable ../bin/pcl_plane_projection
434.8 [ 42%] Built target pcl_plane_projection
434.8 [ 42%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/approximate_voxel_grid.cpp.o
441.3 [ 43%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/bilateral.cpp.o
447.3 [ 43%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/fast_bilateral.cpp.o
450.2 [ 43%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/fast_bilateral_omp.cpp.o
454.7 [ 44%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/crop_hull.cpp.o
456.2 [ 44%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_covariance.cpp.o
457.0 [ 44%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_label.cpp.o
458.9 [ 44%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/frustum_culling.cpp.o
461.2 [ 45%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/covariance_sampling.cpp.o
468.7 [ 45%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/median_filter.cpp.o
472.9 [ 45%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/uniform_sampling.cpp.o
479.6 [ 45%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_occlusion_estimation.cpp.o
481.9 [ 46%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/normal_refinement.cpp.o
488.6 [ 46%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/grid_minimum.cpp.o
491.9 [ 46%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/morphological_filter.cpp.o
496.4 [ 46%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/local_maximum.cpp.o
497.6 [ 47%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/model_outlier_removal.cpp.o
524.7 [ 47%] Linking CXX shared library ../lib/libpcl_filters.so
526.0 [ 47%] Built target pcl_filters
526.0 Scanning dependencies of target pcl_morph
526.0 Scanning dependencies of target pcl_grid_min
526.0 Scanning dependencies of target pcl_fast_bilateral_filter
526.1 [ 48%] Building CXX object tools/CMakeFiles/pcl_fast_bilateral_filter.dir/fast_bilateral_filter.cpp.o
526.1 [ 48%] Building CXX object tools/CMakeFiles/pcl_morph.dir/morph.cpp.o
526.1 [ 49%] Building CXX object tools/CMakeFiles/pcl_grid_min.dir/grid_min.cpp.o
526.1 Scanning dependencies of target pcl_tracking
526.1 [ 49%] Building CXX object tracking/CMakeFiles/pcl_tracking.dir/src/tracking.cpp.o
526.4 Scanning dependencies of target pcl_features
526.5 [ 49%] Building CXX object features/CMakeFiles/pcl_features.dir/src/board.cpp.o
538.4 [ 49%] Linking CXX executable ../bin/pcl_morph
538.7 [ 49%] Linking CXX executable ../bin/pcl_fast_bilateral_filter
538.9 [ 49%] Built target pcl_morph
539.0 [ 50%] Building CXX object features/CMakeFiles/pcl_features.dir/src/flare.cpp.o
539.1 [ 50%] Building CXX object tracking/CMakeFiles/pcl_tracking.dir/src/particle_filter.cpp.o
539.2 [ 50%] Built target pcl_fast_bilateral_filter
539.2 [ 50%] Building CXX object tracking/CMakeFiles/pcl_tracking.dir/src/kld_adaptive_particle_filter.cpp.o
539.3 [ 50%] Linking CXX executable ../bin/pcl_grid_min
539.8 [ 50%] Built target pcl_grid_min
539.9 [ 51%] Building CXX object tracking/CMakeFiles/pcl_tracking.dir/src/coherence.cpp.o
1196.3 c++: fatal error: Killed signal terminated program cc1plus
1196.3 compilation terminated.
1196.3 make[2]: *** [surface/CMakeFiles/pcl_surface.dir/build.make:167: surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o] Error 1
1196.3 make[1]: *** [CMakeFiles/Makefile2:1462: surface/CMakeFiles/pcl_surface.dir/all] Error 2
1196.3 make[1]: *** Waiting for unfinished jobs....
1196.4 [ 51%] Building CXX object features/CMakeFiles/pcl_features.dir/src/brisk_2d.cpp.o
1196.6 [ 51%] Building CXX object features/CMakeFiles/pcl_features.dir/src/boundary.cpp.o
1203.4 [ 51%] Building CXX object features/CMakeFiles/pcl_features.dir/src/cppf.cpp.o
1219.8 [ 52%] Building CXX object features/CMakeFiles/pcl_features.dir/src/cvfh.cpp.o
1228.3 [ 52%] Building CXX object features/CMakeFiles/pcl_features.dir/src/our_cvfh.cpp.o
1232.7 [ 52%] Building CXX object features/CMakeFiles/pcl_features.dir/src/crh.cpp.o
1240.9 [ 53%] Building CXX object features/CMakeFiles/pcl_features.dir/src/don.cpp.o
1246.5 [ 53%] Linking CXX shared library ../lib/libpcl_tracking.so
1247.3 [ 53%] Built target pcl_tracking
1247.4 [ 53%] Building CXX object features/CMakeFiles/pcl_features.dir/src/fpfh.cpp.o
1257.2 [ 53%] Building CXX object features/CMakeFiles/pcl_features.dir/src/gasd.cpp.o
1264.3 [ 53%] Building CXX object features/CMakeFiles/pcl_features.dir/src/gfpfh.cpp.o
1269.0 [ 54%] Building CXX object features/CMakeFiles/pcl_features.dir/src/integral_image_normal.cpp.o
1278.6 [ 54%] Building CXX object features/CMakeFiles/pcl_features.dir/src/intensity_gradient.cpp.o
1281.2 [ 54%] Building CXX object features/CMakeFiles/pcl_features.dir/src/intensity_spin.cpp.o
1294.6 [ 54%] Building CXX object features/CMakeFiles/pcl_features.dir/src/linear_least_squares_normal.cpp.o
1299.1 [ 55%] Building CXX object features/CMakeFiles/pcl_features.dir/src/moment_invariants.cpp.o
1305.4 [ 55%] Building CXX object features/CMakeFiles/pcl_features.dir/src/moment_of_inertia_estimation.cpp.o
1311.9 [ 55%] Building CXX object features/CMakeFiles/pcl_features.dir/src/multiscale_feature_persistence.cpp.o
1319.6 [ 55%] Building CXX object features/CMakeFiles/pcl_features.dir/src/narf.cpp.o
1322.4 [ 56%] Building CXX object features/CMakeFiles/pcl_features.dir/src/normal_3d.cpp.o
1334.2 [ 56%] Building CXX object features/CMakeFiles/pcl_features.dir/src/normal_based_signature.cpp.o
1338.9 [ 56%] Building CXX object features/CMakeFiles/pcl_features.dir/src/organized_edge_detection.cpp.o
1350.5 [ 56%] Building CXX object features/CMakeFiles/pcl_features.dir/src/pfh.cpp.o
1371.1 [ 57%] Building CXX object features/CMakeFiles/pcl_features.dir/src/ppf.cpp.o
1378.9 [ 57%] Building CXX object features/CMakeFiles/pcl_features.dir/src/shot.cpp.o
1381.3 [ 57%] Building CXX object features/CMakeFiles/pcl_features.dir/src/shot_lrf.cpp.o
1397.5 [ 57%] Building CXX object features/CMakeFiles/pcl_features.dir/src/spin_image.cpp.o
1403.8 [ 58%] Building CXX object features/CMakeFiles/pcl_features.dir/src/principal_curvatures.cpp.o
1405.2 [ 58%] Building CXX object features/CMakeFiles/pcl_features.dir/src/rift.cpp.o
1419.3 [ 58%] Building CXX object features/CMakeFiles/pcl_features.dir/src/rops_estimation.cpp.o
7730.3 c++: fatal error: Killed signal terminated program cc1plus
7730.3 compilation terminated.
7730.3 make[2]: *** [features/CMakeFiles/pcl_features.dir/build.make:219: features/CMakeFiles/pcl_features.dir/src/integral_image_normal.cpp.o] Error 1
7730.3 make[2]: *** Waiting for unfinished jobs....
7788.9 make[1]: *** [CMakeFiles/Makefile2:1371: features/CMakeFiles/pcl_features.dir/all] Error 2
7789.0 make: *** [Makefile:152: all] Error 2
------
dockerfile:39
--------------------
  38 |
  39 | >>> RUN cd /pcl &&\
  40 | >>>     git checkout pcl-1.10.0 &&\
  41 | >>>     mkdir build &&\
  42 | >>>     cd build &&\
  43 | >>>     cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_apps=OFF -DBUILD_GPU=OFF  -DBUILD_CUDA=OFF -DBUILD_examples=OFF -DBUILD_global_tests=OFF -DBUILD_simulation=OFF -DCUDA_BUILD_EMULATION=OFF -DCMAKE_CXX_FLAGS=-std=c++11 -DPCL_ENABLE_SSE=ON -DPCL_SHARED_LIBS=ON &&\
  44 | >>>     make -j6 &&\
  45 | >>>     make install
  46 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /pcl &&    git checkout pcl-1.10.0 &&    mkdir build &&    cd build &&    cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_apps=OFF -DBUILD_GPU=OFF  -DBUILD_CUDA=OFF -DBUILD_examples=OFF -DBUILD_global_tests=OFF -DBUILD_simulation=OFF -DCUDA_BUILD_EMULATION=OFF -DCMAKE_CXX_FLAGS=-std=c++11 -DPCL_ENABLE_SSE=ON -DPCL_SHARED_LIBS=ON &&    make -j6 &&    make install" did not complete successfully: exit co
```de: 2

Anyone idea what am I doing wrong? Am I missing some requirement libraries? I have the latest docker desktop on a windows machine . Thanks for your time!
wenbowen123 commented 1 year ago

We have not tested on a Windows machine. Can you try on Ubuntu and see if this still happens?

pmdSchmidt commented 1 year ago

Hi, i am having the same problem on a Jetson Nano with Ubuntu. It seems to be an out of memory issue.

wenbowen123 commented 1 year ago

@pmdSchmidt if it's the OOM issue, you can replace all make -jX to make in the dockerfile and see.

pmdSchmidt commented 1 year ago

@wenbowen123 thanks for your reply. I will try it!