PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.97k stars 4.62k forks source link

[compile error] Linking in pcl_{filters,surface} failed due to undefined reference to `qh_zero` #4835

Closed KangChou closed 3 years ago

KangChou commented 3 years ago

OS and ENV:

ubuntu16.04 cuda11 python3.6 cmake-3.19 vkt8.2 QT5.12.0

make -j4---->error:

[ 51%] Linking CXX executable ../bin/pcl_viewer [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/radius_outlier_removal.cpp.o ../lib/libpcl_surface.so.1.11.1.99: undefined reference toqh_zero' collect2: error: ld returned 1 exit status tools/CMakeFiles/pcl_poisson_reconstruction.dir/build.make:263: recipe for target 'bin/pcl_poisson_reconstruction' failed make[2]: [bin/pcl_poisson_reconstruction] Error 1 CMakeFiles/Makefile2:2397: recipe for target 'tools/CMakeFiles/pcl_poisson_reconstruction.dir/all' failed make[1]: [tools/CMakeFiles/pcl_poisson_reconstruction.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/random_sample.cpp.o ../lib/libpcl_surface.so.1.11.1.99: undefined reference to `qh_zero' collect2: error: ld returned 1 exit status tools/CMakeFiles/pcl_gp3_surface.dir/build.make:263: recipe for target 'bin/pcl_gp3_surface' failed make[2]: [bin/pcl_gp3_surface] Error 1 CMakeFiles/Makefile2:2466: recipe for target 'tools/CMakeFiles/pcl_gp3_surface.dir/all' failed make[1]: *** [tools/CMakeFiles/pcl_gp3_surface.dir/all] Error 2 [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/normal_space.cpp.o [ 51%] Built target pcl_viewer `

image

KangChou commented 3 years ago

cd--->pcl--->/pcl/build---->make -j4

/pcl/build# make -j4 [ 0%] Building CXX object io/CMakeFiles/pcl_io_ply.dir/src/ply/ply_parser.cpp.o [ 0%] Building CXX object people/CMakeFiles/pcl_people.dir/src/hog.cpp.o [ 0%] Building CXX object io/tools/CMakeFiles/pcl_pcd_convert_NaN_nan.dir/pcd_convert_NaN_nan.cpp.o [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/point_types.cpp.o [ 0%] Linking CXX executable ../../bin/pcl_pcd_convert_NaN_nan [ 0%] Built target pcl_pcd_convert_NaN_nan [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/pcl_base.cpp.o [ 0%] Linking CXX shared library ../lib/libpcl_people.so [ 0%] Built target pcl_people [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/PCLPointCloud2.cpp.o [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/io.cpp.o [ 0%] Linking CXX shared library ../lib/libpcl_io_ply.so [ 0%] Built target pcl_io_ply [ 1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/common.cpp.o [ 1%] Building CXX object io/tools/ply/CMakeFiles/pcl_plyheader.dir/plyheader.cpp.o [ 1%] Linking CXX executable ../../../bin/pcl_plyheader [ 1%] Built target pcl_plyheader [ 1%] Building CXX object common/CMakeFiles/pcl_common.dir/src/correspondence.cpp.o [ 2%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2raw.dir/ply2raw.cpp.o [ 2%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2obj.dir/ply2obj.cpp.o [ 2%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2ply.dir/ply2ply.cpp.o [ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/distances.cpp.o [ 2%] Linking CXX executable ../../../bin/pcl_ply2raw [ 2%] Built target pcl_ply2raw [ 2%] Building CXX object common/CMakeFiles/pcl_common.dir/src/parse.cpp.o [ 3%] Linking CXX executable ../../../bin/pcl_ply2obj [ 3%] Built target pcl_ply2obj [ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/poses_from_matches.cpp.o In file included from /usr/include/eigen3/Eigen/Core:345:0, from /data/vkt_qt5_pcl/pcl/common/include/pcl/types.h:52, from /data/vkt_qt5_pcl/pcl/common/include/pcl/common/distances.h:42, from /data/vkt_qt5_pcl/pcl/common/src/distances.cpp:37: /usr/include/eigen3/Eigen/src/Core/MatrixBase.h:394:24: warning: inline function 'Eigen::MatrixBase<Derived>::PlainObject Eigen::MatrixBase<Derived>::cross3(const Eigen::MatrixBase<OtherDerived>&) const [with OtherDerived = Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<float>, const Eigen::Matrix<float, 4, 1>, const Eigen::Matrix<float, 4, 1> >; Derived = Eigen::Matrix<float, 4, 1>; Eigen::MatrixBase<Derived>::PlainObject = Eigen::Matrix<float, 4, 1>]' used but never defined inline PlainObject cross3(const MatrixBase<OtherDerived>& other) const; ^ [ 3%] Building CXX object common/CMakeFiles/pcl_common.dir/src/print.cpp.o [ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/projection_matrix.cpp.o [ 4%] Linking CXX executable ../../../bin/pcl_ply2ply [ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/time_trigger.cpp.o [ 4%] Built target pcl_ply2ply [ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/gaussian.cpp.o [ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/colors.cpp.o [ 4%] Building CXX object common/CMakeFiles/pcl_common.dir/src/feature_histogram.cpp.o [ 5%] Building CXX object common/CMakeFiles/pcl_common.dir/src/bearing_angle_image.cpp.o [ 5%] Building CXX object common/CMakeFiles/pcl_common.dir/src/range_image.cpp.o [ 5%] Building CXX object common/CMakeFiles/pcl_common.dir/src/range_image_planar.cpp.o [ 5%] Building C object common/CMakeFiles/pcl_common.dir/src/fft/kiss_fft.c.o [ 5%] Building C object common/CMakeFiles/pcl_common.dir/src/fft/kiss_fftr.c.o [ 5%] Linking CXX shared library ../lib/libpcl_common.so [ 5%] Built target pcl_common [ 5%] Building CXX object kdtree/CMakeFiles/pcl_kdtree.dir/src/kdtree_flann.cpp.o [ 6%] Building CXX object octree/CMakeFiles/pcl_octree.dir/src/octree_inst.cpp.o [ 6%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac.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%] Building CXX object io/CMakeFiles/pcl_io.dir/src/pcd_io.cpp.o [ 8%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle.cpp.o [ 9%] Linking CXX shared library ../lib/libpcl_kdtree.so [ 9%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vtk_io.cpp.o [ 9%] Built target pcl_kdtree [ 9%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_circle3d.cpp.o [ 9%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ply_io.cpp.o [ 9%] Linking CXX shared library ../lib/libpcl_octree.so [ 9%] Built target pcl_octree [ 9%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ascii_io.cpp.o [ 10%] Building CXX object io/CMakeFiles/pcl_io.dir/src/compression.cpp.o [ 10%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cylinder.cpp.o [ 10%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32i.cpp.o [ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/point_xy_32f.cpp.o [ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/densecrf.cpp.o [ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/pairwise_potential.cpp.o [ 11%] Building CXX object io/CMakeFiles/pcl_io.dir/src/lzf.cpp.o [ 11%] Building CXX object io/CMakeFiles/pcl_io.dir/src/lzf_image_io.cpp.o [ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/permutohedral.cpp.o [ 11%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm_wrapper.cpp.o [ 11%] Building CXX object io/CMakeFiles/pcl_io.dir/src/obj_io.cpp.o [ 12%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/svm.cpp.o [ 12%] Building CXX object ml/CMakeFiles/pcl_ml.dir/src/kmeans.cpp.o [ 12%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_cone.cpp.o [ 12%] Linking CXX shared library ../lib/libpcl_ml.so [ 12%] Built target pcl_ml [ 13%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_grabber.cpp.o [ 13%] Building CXX object io/CMakeFiles/pcl_io.dir/src/ifs_io.cpp.o [ 13%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_matching.cpp.o [ 13%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_grabber.cpp.o [ 13%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_block_based.cpp.o [ 13%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/stereo_adaptive_cost_so.cpp.o [ 13%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/disparity_map_converter.cpp.o [ 14%] Building CXX object io/CMakeFiles/pcl_io.dir/src/hdl_grabber.cpp.o [ 14%] Building CXX object stereo/CMakeFiles/pcl_stereo.dir/src/digital_elevation_map.cpp.o [ 15%] Linking CXX shared library ../lib/libpcl_stereo.so [ 15%] Built target pcl_stereo [ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vlp_grabber.cpp.o [ 15%] Building CXX object search/CMakeFiles/pcl_search.dir/src/search.cpp.o [ 15%] Building CXX object search/CMakeFiles/pcl_search.dir/src/kdtree.cpp.o [ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/robot_eye_grabber.cpp.o [ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/auto_io.cpp.o [ 15%] Building CXX object search/CMakeFiles/pcl_search.dir/src/brute_force.cpp.o [ 15%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_line.cpp.o [ 15%] Building CXX object io/CMakeFiles/pcl_io.dir/src/io_exception.cpp.o [ 16%] Building CXX object search/CMakeFiles/pcl_search.dir/src/organized.cpp.o [ 17%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.o [ 17%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_parallel_line.cpp.o [ 18%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_stick.cpp.o [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/png_io.cpp.o [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device.cpp.o [ 18%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_parallel_plane.cpp.o [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_primesense.cpp.o [ 18%] Building CXX object search/CMakeFiles/pcl_search.dir/src/octree.cpp.o [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_bayer_grbg.cpp.o [ 18%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_depth_image.cpp.o [ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_ir_image.cpp.o [ 19%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_plane.cpp.o [ 19%] Linking CXX shared library ../lib/libpcl_search.so [ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_kinect.cpp.o [ 19%] Built target pcl_search [ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_xtion.cpp.o [ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/processing.cpp.o [ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_device_oni.cpp.o [ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/ear_clipping.cpp.o [ 19%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/gp3.cpp.o [ 19%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_driver.cpp.o [ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_exception.cpp.o [ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_yuv_422.cpp.o [ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_camera/openni_image_rgb24.cpp.o [ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni_grabber.cpp.o [ 20%] Building CXX object io/CMakeFiles/pcl_io.dir/src/oni_grabber.cpp.o [ 20%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/grid_projection.cpp.o [ 20%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_normal_sphere.cpp.o [ 21%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes.cpp.o [ 21%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_rgb24.cpp.o [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_yuv422.cpp.o [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_ir.cpp.o [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/image_depth.cpp.o [ 22%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_plane.cpp.o [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2_grabber.cpp.o [ 22%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2/openni2_timer_filter.cpp.o [ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_hoppe.cpp.o [ 22%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/marching_cubes_rbf.cpp.o [ 23%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_registration.cpp.o [ 24%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2/openni2_video_mode.cpp.o [ 24%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/bilateral_upsampling.cpp.o [ 24%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2/openni2_convert.cpp.o [ 24%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2/openni2_device.cpp.o [ 24%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/mls.cpp.o [ 24%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2/openni2_device_info.cpp.o [ 24%] Building CXX object io/CMakeFiles/pcl_io.dir/src/openni2/openni2_device_manager.cpp.o [ 24%] Building CXX object io/CMakeFiles/pcl_io.dir/src/dinast_grabber.cpp.o [ 24%] Building CXX object sample_consensus/CMakeFiles/pcl_sample_consensus.dir/src/sac_model_sphere.cpp.o [ 24%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/organized_fast_mesh.cpp.o [ 25%] Building CXX object io/CMakeFiles/pcl_io.dir/src/libpng_wrapper.cpp.o [ 25%] Linking CXX shared library ../lib/libpcl_io.so [ 25%] Built target pcl_io [ 26%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/simplification_remove_unused_vertices.cpp.o [ 26%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/surfel_smoothing.cpp.o [ 26%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/texture_mapping.cpp.o [ 26%] Linking CXX shared library ../lib/libpcl_sample_consensus.so [ 27%] Building CXX object io/tools/CMakeFiles/pcl_openni_pcd_recorder.dir/openni_pcd_recorder.cpp.o [ 27%] Built target pcl_sample_consensus [ 27%] Building CXX object io/tools/CMakeFiles/pcl_pcd_introduce_nan.dir/pcd_introduce_nan.cpp.o [ 27%] Building CXX object io/tools/CMakeFiles/pcl_convert_pcd_ascii_binary.dir/convert_pcd_ascii_binary.cpp.o [ 27%] Linking CXX executable ../../bin/pcl_pcd_introduce_nan [ 27%] Built target pcl_pcd_introduce_nan [ 27%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_utils.cpp.o [ 27%] Linking CXX executable ../../bin/pcl_convert_pcd_ascii_binary [ 27%] Built target pcl_convert_pcd_ascii_binary [ 27%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_subdivision.cpp.o [ 27%] Linking CXX executable ../../bin/pcl_openni_pcd_recorder [ 28%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_quadric_decimation.cpp.o [ 28%] Building CXX object io/tools/CMakeFiles/pcl_openni_grabber_depth_example.dir/openni_grabber_depth_example.cpp.o [ 28%] Built target pcl_openni_pcd_recorder [ 28%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_smoothing_laplacian.cpp.o [ 28%] Building CXX object io/tools/CMakeFiles/pcl_converter.dir/converter.cpp.o [ 28%] Building CXX object io/tools/CMakeFiles/pcl_hdl_grabber.dir/hdl_grabber_example.cpp.o [ 29%] Linking CXX executable ../../bin/pcl_openni_grabber_depth_example [ 29%] Linking CXX executable ../../bin/pcl_hdl_grabber [ 29%] Built target pcl_openni_grabber_depth_example [ 29%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/vtk_smoothing/vtk_mesh_smoothing_windowed_sinc.cpp.o [ 30%] Linking CXX executable ../../bin/pcl_converter [ 30%] Built target pcl_hdl_grabber [ 30%] Building CXX object io/tools/CMakeFiles/pcl_openni_grabber_example.dir/openni_grabber_example.cpp.o [ 30%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/point_picking_event.cpp.o [ 30%] Built target pcl_converter [ 30%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/poisson.cpp.o [ 31%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/interactor_style.cpp.o [ 31%] Linking CXX executable ../../bin/pcl_openni_grabber_example [ 31%] Built target pcl_openni_grabber_example [ 31%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/concave_hull.cpp.o [ 31%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/convex_hull.cpp.o [ 31%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/point_cloud_handlers.cpp.o [ 31%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/pcl_visualizer.cpp.o [ 31%] Building CXX object tools/CMakeFiles/pcl_generate.dir/generate.cpp.o [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/bspline_data.cpp.o [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/factor.cpp.o [ 32%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/histogram_visualizer.cpp.o [ 32%] Linking CXX executable ../bin/pcl_generate [ 32%] Built target pcl_generate [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/geometry.cpp.o [ 32%] Building CXX object surface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/marching_cubes_poisson.cpp.o [ 33%] Building CXX object tools/CMakeFiles/pcl_compute_cloud_error.dir/compute_cloud_error.cpp.o [ 33%] Building CXX object tools/CMakeFiles/pcl_vtk2obj.dir/vtk2obj.cpp.o [ 33%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/common/common.cpp.o [ 33%] Linking CXX executable ../bin/pcl_compute_cloud_error [ 33%] Built target pcl_compute_cloud_error [ 34%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/common/io.cpp.o [ 34%] Building CXX object tools/CMakeFiles/pcl_ply2pcd.dir/ply2pcd.cpp.o [ 34%] Linking CXX executable ../bin/pcl_vtk2obj [ 34%] Built target pcl_vtk2obj [ 34%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/common/shapes.cpp.o [ 34%] Building CXX object tools/CMakeFiles/pcl_pcd2ply.dir/pcd2ply.cpp.o [ 34%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/common/ren_win_interact_map.cpp.o [ 34%] Linking CXX executable ../bin/pcl_ply2pcd [ 34%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/cloud_viewer.cpp.o [ 34%] Built target pcl_ply2pcd [ 34%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/image_viewer.cpp.o [ 35%] Linking CXX executable ../bin/pcl_pcd2ply [ 35%] Built target pcl_pcd2ply [ 35%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/window.cpp.o [ 36%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/range_image_visualizer.cpp.o [ 36%] Building CXX object tools/CMakeFiles/pcl_plane_projection.dir/plane_projection.cpp.o [ 36%] Building CXX object tools/CMakeFiles/pcl_xyz2pcd.dir/xyz2pcd.cpp.o [ 36%] Linking CXX executable ../bin/pcl_plane_projection [ 36%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/common/float_image_utils.cpp.o [ 36%] Built target pcl_plane_projection Scanning dependencies of target pcl_concatenate_points_pcd [ 36%] Building CXX object tools/CMakeFiles/pcl_concatenate_points_pcd.dir/concatenate_points_pcd.cpp.o [ 36%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/vtk/pcl_image_canvas_source_2d.cpp.o [ 37%] Linking CXX executable ../bin/pcl_xyz2pcd [ 37%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/vtk/pcl_context_item.cpp.o [ 37%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/vtk/vtkRenderWindowInteractorFix.cpp.o [ 38%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/pcl_painter2D.cpp.o [ 38%] Built target pcl_xyz2pcd [ 38%] Building CXX object visualization/CMakeFiles/pcl_visualization.dir/src/pcl_plotter.cpp.o Scanning dependencies of target pcl_add_gaussian_noise [ 38%] Building CXX object tools/CMakeFiles/pcl_add_gaussian_noise.dir/add_gaussian_noise.cpp.o [ 38%] Linking CXX executable ../bin/pcl_concatenate_points_pcd [ 38%] Built target pcl_concatenate_points_pcd Scanning dependencies of target pcl_pclzf2pcd [ 38%] Building CXX object tools/CMakeFiles/pcl_pclzf2pcd.dir/pclzf2pcd.cpp.o [ 38%] Linking CXX shared library ../lib/libpcl_visualization.so [ 38%] Linking CXX executable ../bin/pcl_add_gaussian_noise [ 38%] Built target pcl_add_gaussian_noise [ 39%] Linking CXX executable ../bin/pcl_pclzf2pcd Scanning dependencies of target pcl_pcd2vtk [ 39%] Building CXX object tools/CMakeFiles/pcl_pcd2vtk.dir/pcd2vtk.cpp.o [ 39%] Linking CXX shared library ../lib/libpcl_surface.so [ 39%] Built target pcl_visualization Scanning dependencies of target pcl_compute_hausdorff [ 39%] Building CXX object tools/CMakeFiles/pcl_compute_hausdorff.dir/compute_hausdorff.cpp.o [ 39%] Built target pcl_pclzf2pcd Scanning dependencies of target pcl_obj2vtk [ 40%] Building CXX object tools/CMakeFiles/pcl_obj2vtk.dir/obj2vtk.cpp.o [ 40%] Linking CXX executable ../bin/pcl_pcd2vtk [ 40%] Linking CXX executable ../bin/pcl_compute_hausdorff [ 40%] Built target pcl_pcd2vtk Scanning dependencies of target pcl_pcd_change_viewpoint [ 41%] Building CXX object tools/CMakeFiles/pcl_pcd_change_viewpoint.dir/pcd_change_viewpoint.cpp.o [ 41%] Built target pcl_compute_hausdorff Scanning dependencies of target pcl_vtk2ply [ 41%] Building CXX object tools/CMakeFiles/pcl_vtk2ply.dir/vtk2ply.cpp.o [ 41%] Linking CXX executable ../bin/pcl_obj2vtk [ 41%] Built target pcl_obj2vtk Scanning dependencies of target pcl_tiff2pcd [ 42%] Building CXX object tools/CMakeFiles/pcl_tiff2pcd.dir/tiff2pcd.cpp.o [ 42%] Linking CXX executable ../bin/pcl_pcd_change_viewpoint [ 42%] Built target pcl_pcd_change_viewpoint Scanning dependencies of target pcl_demean_cloud [ 43%] Building CXX object tools/CMakeFiles/pcl_demean_cloud.dir/demean_cloud.cpp.o [ 43%] Linking CXX executable ../bin/pcl_vtk2ply [ 43%] Linking CXX executable ../bin/pcl_tiff2pcd [ 43%] Built target pcl_vtk2ply Scanning dependencies of target pcl_pcd_image_viewer [ 44%] Building CXX object tools/CMakeFiles/pcl_pcd_image_viewer.dir/image_viewer.cpp.o [ 44%] Linking CXX executable ../bin/pcl_demean_cloud [ 44%] Built target pcl_tiff2pcd Scanning dependencies of target pcl_ply2vtk [ 44%] Building CXX object tools/CMakeFiles/pcl_ply2vtk.dir/ply2vtk.cpp.o [ 44%] Built target pcl_demean_cloud Scanning dependencies of target pcl_oni2pcd [ 44%] Building CXX object tools/CMakeFiles/pcl_oni2pcd.dir/oni2pcd.cpp.o [ 44%] Linking CXX executable ../bin/pcl_pcd_image_viewer [ 44%] Linking CXX executable ../bin/pcl_ply2vtk [ 44%] Built target pcl_ply2vtk Scanning dependencies of target pcl_png2pcd [ 45%] Building CXX object tools/CMakeFiles/pcl_png2pcd.dir/png2pcd.cpp.o [ 45%] Linking CXX executable ../bin/pcl_oni2pcd [ 45%] Built target pcl_pcd_image_viewer Scanning dependencies of target pcl_openni_image [ 45%] Building CXX object tools/CMakeFiles/pcl_openni_image.dir/openni_image.cpp.o [ 45%] Built target pcl_oni2pcd Scanning dependencies of target pcl_obj2ply [ 45%] Building CXX object tools/CMakeFiles/pcl_obj2ply.dir/obj2ply.cpp.o [ 45%] Linking CXX executable ../bin/pcl_png2pcd [ 45%] Linking CXX executable ../bin/pcl_obj2ply [ 45%] Built target pcl_png2pcd Scanning dependencies of target pcl_vtk2pcd [ 46%] Building CXX object tools/CMakeFiles/pcl_vtk2pcd.dir/vtk2pcd.cpp.o [ 46%] Built target pcl_obj2ply Scanning dependencies of target pcl_obj2pcd [ 46%] Building CXX object tools/CMakeFiles/pcl_obj2pcd.dir/obj2pcd.cpp.o [ 46%] Built target pcl_surface Scanning dependencies of target pcl_vlp_viewer [ 46%] Building CXX object tools/CMakeFiles/pcl_vlp_viewer.dir/vlp_viewer.cpp.o [ 46%] Linking CXX executable ../bin/pcl_openni_image [ 46%] Built target pcl_openni_image Scanning dependencies of target pcl_image_grabber_saver [ 46%] Building CXX object tools/CMakeFiles/pcl_image_grabber_saver.dir/image_grabber_saver.cpp.o [ 46%] Linking CXX executable ../bin/pcl_obj2pcd [ 46%] Linking CXX executable ../bin/pcl_vtk2pcd [ 46%] Built target pcl_vtk2pcd Scanning dependencies of target pcl_timed_trigger_test [ 46%] Building CXX object tools/CMakeFiles/pcl_timed_trigger_test.dir/timed_trigger_test.cpp.o [ 46%] Built target pcl_obj2pcd Scanning dependencies of target pcl_hdl_viewer_simple [ 47%] Building CXX object tools/CMakeFiles/pcl_hdl_viewer_simple.dir/hdl_viewer_simple.cpp.o [ 47%] Linking CXX executable ../bin/pcl_vlp_viewer [ 47%] Linking CXX executable ../bin/pcl_timed_trigger_test [ 47%] Built target pcl_timed_trigger_test Scanning dependencies of target pcl_oni_viewer [ 48%] Building CXX object tools/CMakeFiles/pcl_oni_viewer.dir/oni_viewer_simple.cpp.o [ 48%] Linking CXX executable ../bin/pcl_image_grabber_saver [ 48%] Built target pcl_vlp_viewer Scanning dependencies of target pcl_openni_save_image [ 48%] Building CXX object tools/CMakeFiles/pcl_openni_save_image.dir/openni_save_image.cpp.o [ 48%] Built target pcl_image_grabber_saver Scanning dependencies of target pcl_openni_viewer [ 48%] Building CXX object tools/CMakeFiles/pcl_openni_viewer.dir/openni_viewer.cpp.o [ 48%] Linking CXX executable ../bin/pcl_hdl_viewer_simple [ 48%] Linking CXX executable ../bin/pcl_oni_viewer [ 48%] Linking CXX executable ../bin/pcl_openni_save_image [ 48%] Built target pcl_hdl_viewer_simple Scanning dependencies of target pcl_openni2_viewer [ 48%] Building CXX object tools/CMakeFiles/pcl_openni2_viewer.dir/openni2_viewer.cpp.o [ 48%] Built target pcl_oni_viewer Scanning dependencies of target pcl_pcd2png [ 48%] Building CXX object tools/CMakeFiles/pcl_pcd2png.dir/pcd2png.cpp.o [ 48%] Built target pcl_openni_save_image Scanning dependencies of target pcl_image_grabber_viewer [ 48%] Building CXX object tools/CMakeFiles/pcl_image_grabber_viewer.dir/image_grabber_viewer.cpp.o [ 48%] Linking CXX executable ../bin/pcl_openni_viewer [ 48%] Built target pcl_openni_viewer [ 48%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/conditional_removal.cpp.o [ 48%] Linking CXX executable ../bin/pcl_pcd2png [ 48%] Built target pcl_pcd2png [ 49%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/convolution.cpp.o [ 49%] Linking CXX executable ../bin/pcl_openni2_viewer [ 49%] Linking CXX executable ../bin/pcl_image_grabber_viewer [ 49%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/crop_box.cpp.o [ 49%] Built target pcl_openni2_viewer [ 49%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/extract_indices.cpp.o [ 49%] Built target pcl_image_grabber_viewer [ 49%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/filter.cpp.o [ 49%] Building CXX object outofcore/CMakeFiles/pcl_outofcore.dir/src/cJSON.cpp.o [ 49%] Building CXX object outofcore/CMakeFiles/pcl_outofcore.dir/src/outofcore_node_data.cpp.o [ 49%] Building CXX object outofcore/CMakeFiles/pcl_outofcore.dir/src/outofcore_base_data.cpp.o [ 49%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/filter_indices.cpp.o [ 50%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/passthrough.cpp.o [ 51%] Linking CXX shared library ../lib/libpcl_outofcore.so [ 51%] Built target pcl_outofcore [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/shadowpoints.cpp.o [ 51%] Building CXX object tools/CMakeFiles/pcl_viewer.dir/pcd_viewer.cpp.o [ 51%] Building CXX object tools/CMakeFiles/pcl_poisson_reconstruction.dir/poisson_reconstruction.cpp.o [ 51%] Building CXX object tools/CMakeFiles/pcl_gp3_surface.dir/gp3_surface.cpp.o [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/project_inliers.cpp.o [ 51%] Linking CXX executable ../bin/pcl_poisson_reconstruction [ 51%] Linking CXX executable ../bin/pcl_gp3_surface [ 51%] Linking CXX executable ../bin/pcl_viewer [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/radius_outlier_removal.cpp.o ../lib/libpcl_surface.so.1.11.1.99: undefined reference toqh_zero' collect2: error: ld returned 1 exit status tools/CMakeFiles/pcl_poisson_reconstruction.dir/build.make:263: recipe for target 'bin/pcl_poisson_reconstruction' failed make[2]: [bin/pcl_poisson_reconstruction] Error 1 CMakeFiles/Makefile2:2397: recipe for target 'tools/CMakeFiles/pcl_poisson_reconstruction.dir/all' failed make[1]: [tools/CMakeFiles/pcl_poisson_reconstruction.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/random_sample.cpp.o ../lib/libpcl_surface.so.1.11.1.99: undefined reference to `qh_zero' collect2: error: ld returned 1 exit status tools/CMakeFiles/pcl_gp3_surface.dir/build.make:263: recipe for target 'bin/pcl_gp3_surface' failed make[2]: [bin/pcl_gp3_surface] Error 1 CMakeFiles/Makefile2:2466: recipe for target 'tools/CMakeFiles/pcl_gp3_surface.dir/all' failed make[1]: [tools/CMakeFiles/pcl_gp3_surface.dir/all] Error 2 [ 51%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/normal_space.cpp.o [ 51%] Built target pcl_viewer [ 52%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/sampling_surface_normal.cpp.o [ 52%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/statistical_outlier_removal.cpp.o [ 52%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid.cpp.o [ 52%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/approximate_voxel_grid.cpp.o [ 52%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/bilateral.cpp.o [ 53%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/fast_bilateral.cpp.o [ 53%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/fast_bilateral_omp.cpp.o [ 53%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_covariance.cpp.o [ 53%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/crop_hull.cpp.o [ 53%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_label.cpp.o [ 53%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/frustum_culling.cpp.o [ 54%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/covariance_sampling.cpp.o [ 54%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/median_filter.cpp.o [ 54%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/uniform_sampling.cpp.o [ 54%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/voxel_grid_occlusion_estimation.cpp.o [ 54%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/normal_refinement.cpp.o [ 55%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/grid_minimum.cpp.o [ 55%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/morphological_filter.cpp.o [ 55%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/local_maximum.cpp.o [ 55%] Building CXX object filters/CMakeFiles/pcl_filters.dir/src/model_outlier_removal.cpp.o [ 55%] Linking CXX shared library ../lib/libpcl_filters.so [ 55%] Built target pcl_filters Makefile:170: recipe for target 'all' failed make: [all] Error 2 `

kunaltyagi commented 3 years ago

Did you install QHull?

mvieth commented 3 years ago

Is this the same problem as in the previous issue #4832 ? It seems you are using the current git master version, but we are not supporting Ubuntu 16.04 (which you are using) any more, because it is officially end-of-life (https://en.wikipedia.org/wiki/Ubuntu_version_history#Table_of_versions). PCL 1.11.1 is the last one that is guaranteed to work on Ubuntu 16.04

kunaltyagi commented 3 years ago

I closed that issue. @KangChou Please don't open issues without addressing maintainer comments on previous ones.

mvieth commented 3 years ago

I am going to also close this issue. There are essentially two options to solve this:

  1. Update your Ubuntu to something newer than 16.04, then you can also use the newest PCL versions. I would recommend this because, as mentioned, Ubuntu 16.04 is generally not supported any more
  2. If you can't/don't want to update your Ubuntu for some reason, PCL 1.11.1 is the newest version you can use