Closed kevinDrawn closed 7 months ago
I solved my problem! In my virtual box, I set the CPU number under 6.
So, I can't run 'make -j6'
Therefore These command including "&&" blocked the build 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'
Thank you guys
Hello,
I'm encountering difficulties while trying to build a Docker image. My operating system is Ubuntu 18.04.
During the process:
sudo nvidia-ctk runtime configure --runtime=containerd
However, whenever I attempt to build the image file, the process consistently stops at 28%.Below is an excerpt from the building process in the Terminal:
`park@parksh:~/BundleSDF/docker$ sudo docker build --network host -t nvcr.io/nvidian/bundlesdf . . . . [ 23%] Building CXX object io/tools/CMakeFiles/pcl_pcd_introduce_nan.dir/pcd_introduce_nan.cpp.o Scanning dependencies of target pcl_pcd_change_viewpoint
[ 23%] Building CXX object tools/CMakeFiles/pcl_pcd_change_viewpoint.dir/pcd_change_viewpoint.cpp.o [ 23%] Linking CXX executable ../../bin/pcl_hdl_grabber [ 24%] Linking CXX executable ../../bin/pcl_convert_pcd_ascii_binary [ 24%] Built target pcl_convert_pcd_ascii_binary [ 24%] Built target pcl_hdl_grabber [ 25%] Linking CXX executable ../bin/pcl_pcd_change_viewpoint Scanning dependencies of target pcl_concatenate_points_pcd Scanning dependencies of target pcl_xyz2pcd [ 25%] Building CXX object tools/CMakeFiles/pcl_concatenate_points_pcd.dir/concatenate_points_pcd.cpp.o [ 25%] Building CXX object tools/CMakeFiles/pcl_xyz2pcd.dir/xyz2pcd.cpp.o [ 25%] Built target pcl_pcd_change_viewpoint Scanning dependencies of target pcl_demean_cloud [ 25%] Building CXX object tools/CMakeFiles/pcl_demean_cloud.dir/demean_cloud.cpp.o [ 26%] Linking CXX executable ../../bin/pcl_pcd_introduce_nan [ 26%] Built target pcl_pcd_introduce_nan Scanning dependencies of target pcl_pcd2ply [ 26%] Building CXX object tools/CMakeFiles/pcl_pcd2ply.dir/pcd2ply.cpp.o c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[2]: [sample_consensus/CMakeFiles/pcl_sample_consensus.dir/build.make:115: sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1031: sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 26%] Linking CXX executable ../bin/pcl_pcd2ply [ 26%] Linking CXX executable ../bin/pcl_concatenate_points_pcd [ 26%] Built target pcl_concatenate_points_pcd [ 26%] Built target pcl_pcd2ply [ 27%] Linking CXX executable ../bin/pcl_xyz2pcd [ 27%] Built target pcl_xyz2pcd [ 28%] Linking CXX executable ../bin/pcl_demean_cloud [ 28%] Built target pcl_demean_cloud [ 28%] Linking CXX shared library ../lib/libpcl_search.so [ 28%] Built target pcl_search make: [Makefile:152: all] Error 2 The command '/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' returned a non-zero code: 2 park@parksh:~/BundleSDF/docker$ `
These are the downloaded image files.![스크린샷 2024-01-15 205034](https://github.com/NVlabs/BundleSDF/assets/128012358/18b5e11e-a948-4535-bdf1-0c90efea1096)
There is no image file named 'nvcr.io/nvidian/bundlesdf'. I think the image file with the repository and tag as is originally the 'bundlesdf' image file. However, due to an error, the image file did not complete successfully.
How can I resolve this problem?