Compilation of Point Cloud Library on TX2 falied

I am trying to compile PCL from source on TX2 , But build fails every time… I am new to Tx2

So unsure of this error…

Here is complete build fail :

nvidia@tegra-ubuntu:~/pcl-pcl-1.8.1rc2/build$ make -j6
Scanning dependencies of target pcl_io_ply
Scanning dependencies of target pcl_common
Scanning dependencies of target pcl_octree
Scanning dependencies of target pcl_people
Scanning dependencies of target pcl_pcd_convert_NaN_nan
[ 0%] Building CXX object io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/pcd_convert_NaN_nan.cpp.o
[ 0%] Building CXX object people/CMakeFiles/pcl_people.dir/src/hog.cpp.o
[ 0%] Building CXX object io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o
[ 0%] Building CXX object octree/CMakeFiles/pcl_octree.dir/src/octree_inst.cpp.o
[ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o
[ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/point_types.cpp.o
[ 1%] Linking CXX executable …/…/bin/pcl_pcd_convert_NaN_nan
[ 1%] Built target pcl_pcd_convert_NaN_nan
[ 1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/io.cpp.o
[ 1%] Linking CXX shared library …/lib/libpcl_people.so
[ 1%] Built target pcl_people
[ 1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/common.cpp.o
[ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o
[ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/distances.cpp.o
[ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/parse.cpp.o
[ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/poses_from_matches.cpp.o
[ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/print.cpp.o
[ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/projection_matrix.cpp.o
[ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/time_trigger.cpp.o
[ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/gaussian.cpp.o
[ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/colors.cpp.o
[ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/feature_histogram.cpp.o
[ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/bearing_angle_image.cpp.o
[ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/range_image.cpp.o
[ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/range_image_planar.cpp.o
[ 4%] Building C object common/CMakeFiles/pcl_common.dir/src/fft/kiss_fft.c.o
[ 4%] Building C object common/CMakeFiles/pcl_common.dir/src/fft/kiss_fftr.c.o
[ 4%] Linking CXX shared library …/lib/libpcl_io_ply.so
[ 4%] Built target pcl_io_ply
Scanning dependencies of target pcl_ply2ply
Scanning dependencies of target pcl_plyheader
[ 4%] Building CXX object io/tools/ply/CMakeFiles/pcl_plyheader.dir/plyheader.cpp.o
[ 4%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2ply.dir/ply2ply.cpp.o
[ 4%] Linking CXX executable …/…/…/bin/pcl_plyheader
[ 4%] Built target pcl_plyheader
Scanning dependencies of target pcl_ply2raw
[ 4%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2raw.dir/ply2raw.cpp.o
Scanning dependencies of target pcl_ply2obj
[ 4%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2obj.dir/ply2obj.cpp.o
[ 4%] Linking CXX executable …/…/…/bin/pcl_ply2raw
[ 4%] Built target pcl_ply2raw
[ 4%] Linking CXX shared library …/lib/libpcl_common.so
[ 4%] Built target pcl_common
Scanning dependencies of target pcl_sample_consensus
Scanning dependencies of target pcl_kdtree
Scanning dependencies of target pcl_io
[ 5%] Building CXX object kdtree/CMakeFiles/pcl_kdtree.dir/src/kdtree_flann.cpp.o
[ 5%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac.cpp.o
[ 5%] Linking CXX executable …/…/…/bin/pcl_ply2ply
[ 5%] Built target pcl_ply2ply
[ 6%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o
[ 6%] Building CXX object io/CMakeFiles/pcl_io.dir/src/debayer.cpp.o
[ 7%] Building CXX object io/CMakeFiles/pcl_io.dir/src/pcd_grabber.cpp.o
[ 7%] Linking CXX executable …/…/…/bin/pcl_ply2obj
[ 7%] Built target pcl_ply2obj
[ 7%] Building CXX object io/CMakeFiles/pcl_io.dir/src/pcd_io.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac.h:45,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/ransac.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/ransac.hpp:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac.cpp:38:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_circle.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_circle.hpp:45,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_circle.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
Scanning dependencies of target pcl_ml
[ 8%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32i.cpp.o
[ 8%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vtk_io.cpp.o
[ 8%] Linking CXX shared library …/lib/libpcl_octree.so
[ 8%] Built target pcl_octree
[ 8%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ply_io.cpp.o
[ 8%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32f.cpp.o
Scanning dependencies of target pcl_stereo
[ 8%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_grabber.cpp.o
[ 8%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/densecrf.cpp.o
[ 8%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_matching.cpp.o
[ 8%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_block_based.cpp.o
[ 8%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/pairwise_potential.cpp.o
[ 8%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o
[ 8%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_adaptive_cost_so.cpp.o
[ 8%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/permutohedral.cpp.o
[ 8%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ascii_io.cpp.o
[ 8%] Linking CXX shared library …/lib/libpcl_kdtree.so
[ 8%] Built target pcl_kdtree
[ 8%] Building CXX object io/CMakeFiles/pcl_io.dir/src/compression.cpp.o
[ 9%] Building CXX object io/CMakeFiles/pcl_io.dir/src/lzf.cpp.o
[ 10%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/disparity_map_converter.cpp.o
[ 10%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/digital_elevation_map.cpp.o
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_circle3d.h:41,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_circle3d.hpp:43,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_circle3d.cpp:38:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
[ 10%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm_wrapper.cpp.o
[ 10%] Linking CXX shared library …/lib/libpcl_stereo.so
[ 10%] Built target pcl_stereo
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o
[ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o
[ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm.cpp.o
[ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/kmeans.cpp.o
[ 11%] Building CXX object io/CMakeFiles/pcl_io.dir/src/lzf_image_io.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_cylinder.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_cylinder.hpp:45,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_cylinder.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_line.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_line.hpp:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_line.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
[ 11%] Linking CXX shared library …/lib/libpcl_ml.so
[ 11%] Built target pcl_ml
[ 12%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_parallel_line.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_cone.h:42,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_cone.hpp:43,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_cone.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
[ 12%] Building CXX object io/CMakeFiles/pcl_io.dir/src/obj_io.cpp.o
Scanning dependencies of target pcl_search
[ 12%] Building CXX object search/CMakeFiles/pcl_search.dir/src/search.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_line.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_parallel_line.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_parallel_line.hpp:45,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_parallel_line.cpp:38:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
[ 12%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ifs_io.cpp.o
[ 12%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_grabber.cpp.o
[ 12%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o
[ 12%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_stick.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_stick.hpp:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_stick.cpp:40:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
[ 12%] Building CXX object search/CMakeFiles/pcl_search.dir/src/kdtree.cpp.o
[ 13%] Building CXX object io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_normal_plane.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_normal_parallel_plane.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_normal_parallel_plane.hpp:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_normal_parallel_plane.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
[ 13%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vlp_grabber.cpp.o
[ 14%] Building CXX object search/CMakeFiles/pcl_search.dir/src/brute_force.cpp.o
[ 14%] Building CXX object io/CMakeFiles/pcl_io.dir/src/robot_eye_grabber.cpp.o
[ 14%] Building CXX object search/CMakeFiles/pcl_search.dir/src/organized.cpp.o
[ 14%] Building CXX object io/CMakeFiles/pcl_io.dir/src/file_io.cpp.o
[ 14%] Building CXX object search/CMakeFiles/pcl_search.dir/src/octree.cpp.o
[ 14%] Building CXX object io/CMakeFiles/pcl_io.dir/src/auto_io.cpp.o
[ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/io_exception.cpp.o
[ 15%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o
[ 15%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_normal_sphere.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_normal_sphere.hpp:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_normal_sphere.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
In file included from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model.h:52:0,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/sac_model_normal_plane.h:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/impl/sac_model_normal_plane.hpp:44,
from /home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/src/sac_model_normal_plane.cpp:39:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’:
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
^
/home/nvidia/pcl-pcl-1.8.1rc2/sample_consensus/include/pcl/sample_consensus/model_types.h:99:3: note: declared here
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
sample_consensus/CMakeFiles/pcl_sample_consensus.dir/build.make:158: recipe for target ‘sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o’ failed
make[2]: *** [sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs…
[ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.o
[ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/png_io.cpp.o
[ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device.cpp.o
[ 15%] Linking CXX shared library …/lib/libpcl_search.so
[ 15%] Built target pcl_search
[ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_primesense.cpp.o
Scanning dependencies of target pcl_surface
[ 15%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/processing.cpp.o
[ 15%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/ear_clipping.cpp.o
[ 16%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/gp3.cpp.o
[ 16%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_bayer_grbg.cpp.o
[ 16%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/grid_projection.cpp.o
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_depth_image.cpp.o
[ 17%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes.cpp.o
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_ir_image.cpp.o
[ 17%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_hoppe.cpp.o
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_kinect.cpp.o
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_xtion.cpp.o
[ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_oni.cpp.o
[ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_driver.cpp.o
CMakeFiles/Makefile2:952: recipe for target ‘sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all’ failed
make[1]: *** [sample_consensus/CMakeFiles/pcl_sample_consensus.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_exception.cpp.o
[ 18%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_rbf.cpp.o
[ 18%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/bilateral_upsampling.cpp.o
[ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_yuv_422.cpp.o
[ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o
[ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/organized_fast_mesh.cpp.o
[ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/simplification_remove_unused_vertices.cpp.o
[ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_rgb24.cpp.o
[ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_grabber.cpp.o
[ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/surfel_smoothing.cpp.o
[ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/texture_mapping.cpp.o
[ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/oni_grabber.cpp.o
[ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/dinast_grabber.cpp.o
[ 21%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_utils.cpp.o
[ 21%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_subdivision.cpp.o
[ 21%] Building CXX object io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.o
[ 21%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_quadric_decimation.cpp.o
[ 21%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_smoothing_laplacian.cpp.o
[ 21%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_smoothing_windowed_sinc.cpp.o
[ 21%] Linking CXX shared library …/lib/libpcl_io.so
[ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/poisson.cpp.o
[ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/concave_hull.cpp.o
[ 22%] Built target pcl_io
[ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/convex_hull.cpp.o
[ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/factor.cpp.o
[ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/geometry.cpp.o
[ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/marching_cubes_poisson.cpp.o
[ 23%] Linking CXX shared library …/lib/libpcl_surface.so
[ 23%] Built target pcl_surface
Makefile:162: recipe for target ‘all’ failed
make: *** [all] Error 2

any help is appreciated… thank you!!!

The error:

c++: internal compiler error: Killed (program cc1plus)

usually means that you ran out of memory. If you are running other programs, try closing those before compiling. If there are no running programs, then setting up a swap memory file area can help on the Jetson. Another option is to cross compile PCL on a PC.

https://www.youtube.com/watch?v=pmJsLYlCy0w

This tutorial is helpful to address this issue.

Hi,

The other option you selected of cross compiling the PCL on PC is what I want to go ahead with as I want to do the development on host PC and cross compile the code using PCL and then run on the Tegra TX1 board.

But I am fairly new and in time crunch. Can you please help me with the procedure to cross compile PCL on PC for TX1