strawlab / python-pcl

Python bindings to the pointcloud library (pcl)
http://strawlab.github.com/python-pcl/
Other
2k stars 700 forks source link

Installation error #297

Open hannibal-paul opened 5 years ago

hannibal-paul commented 5 years ago

I have installed PCL library in my Jetson TX2 running Ubuntu 18.04.

I am getting error when I tried to setup python-pcl.

sudo python3 setup.py install ` running install running bdist_egg running egg_info writing python_pcl.egg-info/PKG-INFO writing dependency_links to python_pcl.egg-info/dependency_links.txt writing requirements to python_pcl.egg-info/requires.txt writing top-level names to python_pcl.egg-info/top_level.txt reading manifest file 'python_pcl.egg-info/SOURCES.txt' writing manifest file 'python_pcl.egg-info/SOURCES.txt' installing library code to build/bdist.linux-aarch64/egg running install_lib running build_py running build_ext skipping 'pcl/_pcl_180.cpp' Cython extension (up-to-date) building 'pcl._pcl' extension aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.8 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-7.0 -I/usr/include/python3.6m -c pcl/_pcl_180.cpp -o build/temp.linux-aarch64-3.6/pcl/_pcl_180.o -std=c++11 In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pcl/_pcl_180.cpp:661: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

warning "Using deprecated NumPy API, disable it with " \

^~~ In file included from pcl/_pcl_180.cpp:798:0: /usr/include/pcl-1.8/pcl/keypoints/uniform_sampling.h:44:2: warning: #warning UniformSampling is not a Keypoint anymore, use <pcl/filters/uniform_sampling.h> instead. [-Wcpp]

warning UniformSampling is not a Keypoint anymore, use <pcl/filters/uniform_sampling.h> instead.

^~~ pcl/_pcl_180.cpp: In function ‘int pyx_pf_3pcl_4_pcl18ConditionalRemovalcinit(pyx_obj_3pcl_4_pcl_ConditionalRemoval, __pyx_obj_3pcl_4_pcl_ConditionAnd)’: pcl/_pcl_180.cpp:54593:153: warning: ‘pcl::ConditionalRemoval::ConditionalRemoval(pcl::ConditionalRemoval::ConditionBasePtr, bool) [with PointT = pcl::PointXYZ; pcl::ConditionalRemoval::ConditionBasePtr = boost::shared_ptr<pcl::ConditionBase >]’ is deprecated: ConditionalRemoval(ConditionBasePtr condition, bool extract_removed_indices = false) is deprecated, please use the setCondition (ConditionBasePtr condition) function instead. [-Wdeprecated-declarations] t(((pyx_t_3pcl_15pcl_filters_180_ConditionBasePtr_t)__pyx_v_cond->me), NULL); ^ In file included from pcl/_pcl_180.cpp:703:0: /usr/include/pcl-1.8/pcl/filters/conditional_removal.h:632:7: note: declared here ConditionalRemoval (ConditionBasePtr condition, bool extract_removed_indices = false) : ^~~~~~ pcl/_pcl_180.cpp: In function ‘PyObject* pyx_pf_3pcl_4_pcl_32GeneralizedIterativeClosestPoint_4gicp(pyx_obj_3pcl_4_pcl_GeneralizedIterativeClosestPoint, __pyx_obj_3pcl_4_pcl_PointCloud, pyx_obj_3pcl_4_pcl_PointCloud, PyObject)’: pcl/_pcl_180.cpp:59000:60: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud >]’ is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] pyx_v_gicp.setInputCloud(pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.8/pcl/registration/gicp.h:373:0, from pcl/_pcl_180.cpp:754: /usr/include/pcl-1.8/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject pyx_pf_3pcl_4_pcl_21IterativeClosestPoint_6icp(pyx_obj_3pcl_4_pcl_IterativeClosestPoint, pyx_obj_3pcl_4_pcl_PointCloud, __pyx_obj_3pcl_4_pcl_PointCloud, PyObject)’: pcl/_pcl_180.cpp:59676:59: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] pyx_v_icp.setInputCloud(pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject pyx_pf_3pcl_4_pcl_30IterativeClosestPointNonLinear_4icp_nl(pyx_obj_3pcl_4_pcl_IterativeClosestPointNonLinear, __pyx_obj_3pcl_4_pcl_PointCloud, pyx_obj_3pcl_4_pcl_PointCloud, PyObject)’: pcl/_pcl_180.cpp:60296:62: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] pyx_v_icp_nl.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* pyx_pf_3pcl_4_pcl_10PointCloud_92make_GeneralizedIterativeClosestPoint(pyx_obj_3pcl_4_pcl_PointCloud)’: pcl/_pcl_180.cpp:73721:150: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud >]’ is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] ed_ptr<pcl::PointCloud > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.8/pcl/registration/gicp.h:373:0, from pcl/_pcl_180.cpp:754: /usr/include/pcl-1.8/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject pyx_pf_3pcl_4_pcl_10PointCloud_94make_IterativeClosestPointNonLinear(pyx_obj_3pcl_4_pcl_PointCloud)’: pcl/_pcl_180.cpp:73813:148: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] ed_ptr<pcl::PointCloud > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject pyx_pf_3pcl_4_pcl_10PointCloud_96make_IterativeClosestPoint(pyx_obj_3pcl_4_pcl_PointCloud)’: pcl/_pcl_180.cpp:73905:139: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] ed_ptr<pcl::PointCloud > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject pyx_pf_3pcl_4_pcl_29PointCloud_PointWithViewpoint_12from_list(pyx_obj_3pcl_4_pcl_PointCloud_PointWithViewpoint, PyObject)’: pcl/_pcl_180.cpp:89356:77: warning: variable ‘pyx_t_8’ set but not used [-Wunused-but-set-variable] _ctuple_floatand_float__and_floatand_floatand_float__and_float pyx_t_8; ^~~~~ In file included from /usr/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0, from pcl/_pcl_180.cpp:635: /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void static_initialization_and_destruction_0(int, int)’: /usr/include/pcl-1.8/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)); ^~~~~~~ /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here pcl/_pcl_180.cpp: In function ‘PyObject* pyx_pw_3pcl_4_pcl_8Vertices_7to_array(PyObject, PyObject)’: pcl/_pcl_180.cpp:117574:33: warning: ‘’ may be used uninitialized in this function [-Wmaybe-uninitialized] return PyInt_FromSize_t(ival); ^ pcl/_pcl_180.cpp:15519:93: note: ‘’ was declared here 4 = pyx_f_3pcl_4_pcl_8Vertices_thisptr(pyx_v_self)->vertices.at(__pyx_v_i); ^ aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.8 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-7.0 -I/usr/include/python3.6m -c pcl/minipcl.cpp -o build/temp.linux-aarch64-3.6/pcl/minipcl.o -std=c++11 In file included from /usr/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0, from /usr/include/pcl-1.8/pcl/sample_consensus/sac.h:45, from /usr/include/pcl-1.8/pcl/segmentation/sac_segmentation.h:49, from pcl/minipcl.h:5, from pcl/minipcl.cpp:14: /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void static_initialization_and_destruction_0(int, int)’: /usr/include/pcl-1.8/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)); ^~~~~~~ /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.8 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-7.0 -I/usr/include/python3.6m -c pcl/ProjectInliers.cpp -o build/temp.linux-aarch64-3.6/pcl/ProjectInliers.o -std=c++11 In file included from /usr/include/pcl-1.8/pcl/filters/project_inliers.h:45:0, from pcl/ProjectInliers.h:6, from pcl/ProjectInliers.cpp:3: /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void static_initialization_and_destruction_0(int, int)’: /usr/include/pcl-1.8/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)); ^~~~~~~ /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.6/pcl/_pcl_180.o build/temp.linux-aarch64-3.6/pcl/minipcl.o build/temp.linux-aarch64-3.6/pcl/ProjectInliers.o -L/usr/lib/x86_64-linux-gnu/ -lvtkalglib-7.0 -lvtkChartsCore-7.0 -lvtkCommonColor-7.0 -lvtkCommonComputationalGeometry-7.0 -lvtkCommonCore-7.0 -lvtkCommonDataModel-7.0 -lvtkCommonExecutionModel-7.0 -lvtkCommonMath-7.0 -lvtkCommonMisc-7.0 -lvtkCommonSystem-7.0 -lvtkCommonTransforms-7.0 -lvtkDICOMParser-7.0 -lvtkDomainsChemistry-7.0 -lvtkexoIIc-7.0 -lvtkexpat-7.0 -lvtkFiltersAMR-7.0 -lvtkFiltersCore-7.0 -lvtkFiltersExtraction-7.0 -lvtkFiltersFlowPaths-7.0 -lvtkFiltersGeneral-7.0 -lvtkFiltersGeneric-7.0 -lvtkFiltersGeometry-7.0 -lvtkFiltersHybrid-7.0 -lvtkFiltersHyperTree-7.0 -lvtkFiltersImaging-7.0 -lvtkFiltersModeling-7.0 -lvtkFiltersParallel-7.0 -lvtkFiltersParallelImaging-7.0 -lvtkFiltersProgrammable-7.0 -lvtkFiltersSelection-7.0 -lvtkFiltersSMP-7.0 -lvtkFiltersSources-7.0 -lvtkFiltersStatistics-7.0 -lvtkFiltersTexture-7.0 -lvtkFiltersVerdict-7.0 -lvtkfreetype-7.0 -lvtkGeovisCore-7.0 -lvtkgl2ps-7.0 -lvtkhdf5-7.0 -lvtkhdf5_hl-7.0 -lvtkImagingColor-7.0 -lvtkImagingCore-7.0 -lvtkImagingFourier-7.0 -lvtkImagingGeneral-7.0 -lvtkImagingHybrid-7.0 -lvtkImagingMath-7.0 -lvtkImagingMorphological-7.0 -lvtkImagingSources-7.0 -lvtkImagingStatistics-7.0 -lvtkImagingStencil-7.0 -lvtkInfovisCore-7.0 -lvtkInfovisLayout-7.0 -lvtkInteractionImage-7.0 -lvtkInteractionStyle-7.0 -lvtkInteractionWidgets-7.0 -lvtkIOAMR-7.0 -lvtkIOCore-7.0 -lvtkIOEnSight-7.0 -lvtkIOExodus-7.0 -lvtkIOExport-7.0 -lvtkIOGeometry-7.0 -lvtkIOImage-7.0 -lvtkIOImport-7.0 -lvtkIOInfovis-7.0 -lvtkIOLegacy-7.0 -lvtkIOLSDyna-7.0 -lvtkIOMINC-7.0 -lvtkIOMovie-7.0 -lvtkIONetCDF-7.0 -lvtkIOParallel-7.0 -lvtkIOParallelXML-7.0 -lvtkIOPLY-7.0 -lvtkIOSQL-7.0 -lvtkIOVideo-7.0 -lvtkIOXML-7.0 -lvtkIOXMLParser-7.0 -lvtkjpeg-7.0 -lvtkjsoncpp-7.0 -lvtklibxml2-7.0 -lvtkmetaio-7.0 -lvtkNetCDF-7.0 -lvtkoggtheora-7.0 -lvtkParallelCore-7.0 -lvtkpng-7.0 -lvtkproj4-7.0 -lvtkRenderingAnnotation-7.0 -lvtkRenderingContext2D-7.0 -lvtkRenderingContextOpenGL-7.0 -lvtkRenderingCore-7.0 -lvtkRenderingFreeType-7.0 -lvtkRenderingGL2PS-7.0 -lvtkRenderingImage-7.0 -lvtkRenderingLabel-7.0 -lvtkRenderingLIC-7.0 -lvtkRenderingLOD-7.0 -lvtkRenderingOpenGL-7.0 -lvtkRenderingVolume-7.0 -lvtkRenderingVolumeOpenGL-7.0 -lvtksqlite-7.0 -lvtksys-7.0 -lvtktiff-7.0 -lvtkverdict-7.0 -lvtkViewsContext2D-7.0 -lvtkViewsCore-7.0 -lvtkViewsInfovis-7.0 -lvtkzlib-7.0 -lpcl_keypoints -lpcl_outofcore -lpcl_people -lpcl_recognition -lpcl_registration -lpcl_segmentation -lpcl_features -lpcl_ml -lpcl_stereo -lpcl_surface -lpcl_tracking -lpcl_filters -lpcl_sample_consensus -lpcl_visualization -lpcl_io -lOpenNI -lOpenNI2 -lpcl_search -lpcl_kdtree -lflann -lflann_cpp -lpcl_octree -lpcl_common -o build/lib.linux-aarch64-3.6/pcl/_pcl.cpython-36m-aarch64-linux-gnu.so /usr/bin/ld: cannot find -lvtkalglib-7.0 /usr/bin/ld: cannot find -lvtkChartsCore-7.0 /usr/bin/ld: cannot find -lvtkCommonColor-7.0 /usr/bin/ld: cannot find -lvtkCommonComputationalGeometry-7.0 /usr/bin/ld: cannot find -lvtkCommonCore-7.0 /usr/bin/ld: cannot find -lvtkCommonDataModel-7.0 /usr/bin/ld: cannot find -lvtkCommonExecutionModel-7.0 /usr/bin/ld: cannot find -lvtkCommonMath-7.0 /usr/bin/ld: cannot find -lvtkCommonMisc-7.0 /usr/bin/ld: cannot find -lvtkCommonSystem-7.0 /usr/bin/ld: cannot find -lvtkCommonTransforms-7.0 /usr/bin/ld: cannot find -lvtkDICOMParser-7.0 /usr/bin/ld: cannot find -lvtkDomainsChemistry-7.0 /usr/bin/ld: cannot find -lvtkexoIIc-7.0 /usr/bin/ld: cannot find -lvtkexpat-7.0 /usr/bin/ld: cannot find -lvtkFiltersAMR-7.0 /usr/bin/ld: cannot find -lvtkFiltersCore-7.0 /usr/bin/ld: cannot find -lvtkFiltersExtraction-7.0 /usr/bin/ld: cannot find -lvtkFiltersFlowPaths-7.0 /usr/bin/ld: cannot find -lvtkFiltersGeneral-7.0 /usr/bin/ld: cannot find -lvtkFiltersGeneric-7.0 /usr/bin/ld: cannot find -lvtkFiltersGeometry-7.0 /usr/bin/ld: cannot find -lvtkFiltersHybrid-7.0 /usr/bin/ld: cannot find -lvtkFiltersHyperTree-7.0 /usr/bin/ld: cannot find -lvtkFiltersImaging-7.0 /usr/bin/ld: cannot find -lvtkFiltersModeling-7.0 /usr/bin/ld: cannot find -lvtkFiltersParallel-7.0 /usr/bin/ld: cannot find -lvtkFiltersParallelImaging-7.0 /usr/bin/ld: cannot find -lvtkFiltersProgrammable-7.0 /usr/bin/ld: cannot find -lvtkFiltersSelection-7.0 /usr/bin/ld: cannot find -lvtkFiltersSMP-7.0 /usr/bin/ld: cannot find -lvtkFiltersSources-7.0 /usr/bin/ld: cannot find -lvtkFiltersStatistics-7.0 /usr/bin/ld: cannot find -lvtkFiltersTexture-7.0 /usr/bin/ld: cannot find -lvtkFiltersVerdict-7.0 /usr/bin/ld: cannot find -lvtkfreetype-7.0 /usr/bin/ld: cannot find -lvtkGeovisCore-7.0 /usr/bin/ld: cannot find -lvtkgl2ps-7.0 /usr/bin/ld: cannot find -lvtkhdf5-7.0 /usr/bin/ld: cannot find -lvtkhdf5_hl-7.0 /usr/bin/ld: cannot find -lvtkImagingColor-7.0 /usr/bin/ld: cannot find -lvtkImagingCore-7.0 /usr/bin/ld: cannot find -lvtkImagingFourier-7.0 /usr/bin/ld: cannot find -lvtkImagingGeneral-7.0 /usr/bin/ld: cannot find -lvtkImagingHybrid-7.0 /usr/bin/ld: cannot find -lvtkImagingMath-7.0 /usr/bin/ld: cannot find -lvtkImagingMorphological-7.0 /usr/bin/ld: cannot find -lvtkImagingSources-7.0 /usr/bin/ld: cannot find -lvtkImagingStatistics-7.0 /usr/bin/ld: cannot find -lvtkImagingStencil-7.0 /usr/bin/ld: cannot find -lvtkInfovisCore-7.0 /usr/bin/ld: cannot find -lvtkInfovisLayout-7.0 /usr/bin/ld: cannot find -lvtkInteractionImage-7.0 /usr/bin/ld: cannot find -lvtkInteractionStyle-7.0 /usr/bin/ld: cannot find -lvtkInteractionWidgets-7.0 /usr/bin/ld: cannot find -lvtkIOAMR-7.0 /usr/bin/ld: cannot find -lvtkIOCore-7.0 /usr/bin/ld: cannot find -lvtkIOEnSight-7.0 /usr/bin/ld: cannot find -lvtkIOExodus-7.0 /usr/bin/ld: cannot find -lvtkIOExport-7.0 /usr/bin/ld: cannot find -lvtkIOGeometry-7.0 /usr/bin/ld: cannot find -lvtkIOImage-7.0 /usr/bin/ld: cannot find -lvtkIOImport-7.0 /usr/bin/ld: cannot find -lvtkIOInfovis-7.0 /usr/bin/ld: cannot find -lvtkIOLegacy-7.0 /usr/bin/ld: cannot find -lvtkIOLSDyna-7.0 /usr/bin/ld: cannot find -lvtkIOMINC-7.0 /usr/bin/ld: cannot find -lvtkIOMovie-7.0 /usr/bin/ld: cannot find -lvtkIONetCDF-7.0 /usr/bin/ld: cannot find -lvtkIOParallel-7.0 /usr/bin/ld: cannot find -lvtkIOParallelXML-7.0 /usr/bin/ld: cannot find -lvtkIOPLY-7.0 /usr/bin/ld: cannot find -lvtkIOSQL-7.0 /usr/bin/ld: cannot find -lvtkIOVideo-7.0 /usr/bin/ld: cannot find -lvtkIOXML-7.0 /usr/bin/ld: cannot find -lvtkIOXMLParser-7.0 /usr/bin/ld: cannot find -lvtkjpeg-7.0 /usr/bin/ld: cannot find -lvtkjsoncpp-7.0 /usr/bin/ld: cannot find -lvtklibxml2-7.0 /usr/bin/ld: cannot find -lvtkmetaio-7.0 /usr/bin/ld: cannot find -lvtkNetCDF-7.0 /usr/bin/ld: cannot find -lvtkoggtheora-7.0 /usr/bin/ld: cannot find -lvtkParallelCore-7.0 /usr/bin/ld: cannot find -lvtkpng-7.0 /usr/bin/ld: cannot find -lvtkproj4-7.0 /usr/bin/ld: cannot find -lvtkRenderingAnnotation-7.0 /usr/bin/ld: cannot find -lvtkRenderingContext2D-7.0 /usr/bin/ld: cannot find -lvtkRenderingContextOpenGL-7.0 /usr/bin/ld: cannot find -lvtkRenderingCore-7.0 /usr/bin/ld: cannot find -lvtkRenderingFreeType-7.0 /usr/bin/ld: cannot find -lvtkRenderingGL2PS-7.0 /usr/bin/ld: cannot find -lvtkRenderingImage-7.0 /usr/bin/ld: cannot find -lvtkRenderingLabel-7.0 /usr/bin/ld: cannot find -lvtkRenderingLIC-7.0 /usr/bin/ld: cannot find -lvtkRenderingLOD-7.0 /usr/bin/ld: cannot find -lvtkRenderingOpenGL-7.0 /usr/bin/ld: cannot find -lvtkRenderingVolume-7.0 /usr/bin/ld: cannot find -lvtkRenderingVolumeOpenGL-7.0 /usr/bin/ld: cannot find -lvtksqlite-7.0 /usr/bin/ld: cannot find -lvtksys-7.0 /usr/bin/ld: cannot find -lvtktiff-7.0 /usr/bin/ld: cannot find -lvtkverdict-7.0 /usr/bin/ld: cannot find -lvtkViewsContext2D-7.0 /usr/bin/ld: cannot find -lvtkViewsCore-7.0 /usr/bin/ld: cannot find -lvtkViewsInfovis-7.0 /usr/bin/ld: cannot find -lvtkzlib-7.0 collect2: error: ld returned 1 exit status error: command 'aarch64-linux-gnu-g++' failed with exit status 1 `

Please help!

hannibal-paul commented 5 years ago

I have installed PCL library in my Jetson TX2 running Ubuntu 18.04.

I am getting error when I tried to setup python-pcl.

sudo python3 setup.py install running install running bdist_egg running egg_info writing python_pcl.egg-info/PKG-INFO writing dependency_links to python_pcl.egg-info/dependency_links.txt writing requirements to python_pcl.egg-info/requires.txt writing top-level names to python_pcl.egg-info/top_level.txt reading manifest file 'python_pcl.egg-info/SOURCES.txt' writing manifest file 'python_pcl.egg-info/SOURCES.txt' installing library code to build/bdist.linux-aarch64/egg running install_lib running build_py running build_ext skipping 'pcl/_pcl_180.cpp' Cython extension (up-to-date) building 'pcl._pcl' extension aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.8 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-7.0 -I/usr/include/python3.6m -c pcl/_pcl_180.cpp -o build/temp.linux-aarch64-3.6/pcl/_pcl_180.o -std=c++11 In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from pcl/_pcl_180.cpp:661: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^~~~~~~ In file included from pcl/_pcl_180.cpp:798:0: /usr/include/pcl-1.8/pcl/keypoints/uniform_sampling.h:44:2: warning: #warning UniformSampling is not a Keypoint anymore, use <pcl/filters/uniform_sampling.h> instead. [-Wcpp] #warning UniformSampling is not a Keypoint anymore, use <pcl/filters/uniform_sampling.h> instead. ^~~~~~~ pcl/_pcl_180.cpp: In function ‘int __pyx_pf_3pcl_4_pcl_18ConditionalRemoval___cinit__(__pyx_obj_3pcl_4_pcl_ConditionalRemoval*, __pyx_obj_3pcl_4_pcl_ConditionAnd*)’: pcl/_pcl_180.cpp:54593:153: warning: ‘pcl::ConditionalRemoval<PointT>::ConditionalRemoval(pcl::ConditionalRemoval<PointT>::ConditionBasePtr, bool) [with PointT = pcl::PointXYZ; pcl::ConditionalRemoval<PointT>::ConditionBasePtr = boost::shared_ptr<pcl::ConditionBase<pcl::PointXYZ> >]’ is deprecated: ConditionalRemoval(ConditionBasePtr condition, bool extract_removed_indices = false) is deprecated, please use the setCondition (ConditionBasePtr condition) function instead. [-Wdeprecated-declarations] t(((__pyx_t_3pcl_15pcl_filters_180_ConditionBasePtr_t)__pyx_v_cond->me), NULL); ^ In file included from pcl/_pcl_180.cpp:703:0: /usr/include/pcl-1.8/pcl/filters/conditional_removal.h:632:7: note: declared here ConditionalRemoval (ConditionBasePtr condition, bool extract_removed_indices = false) : ^~~~~~~~~~~~~~~~~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_32GeneralizedIterativeClosestPoint_4gicp(__pyx_obj_3pcl_4_pcl_GeneralizedIterativeClosestPoint*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)’: pcl/_pcl_180.cpp:59000:60: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]’ is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_gicp.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.8/pcl/registration/gicp.h:373:0, from pcl/_pcl_180.cpp:754: /usr/include/pcl-1.8/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_21IterativeClosestPoint_6icp(__pyx_obj_3pcl_4_pcl_IterativeClosestPoint*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)’: pcl/_pcl_180.cpp:59676:59: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_icp.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_30IterativeClosestPointNonLinear_4icp_nl(__pyx_obj_3pcl_4_pcl_IterativeClosestPointNonLinear*, __pyx_obj_3pcl_4_pcl_PointCloud*, __pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)’: pcl/_pcl_180.cpp:60296:62: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] __pyx_v_icp_nl.setInputCloud(__pyx_v_source->thisptr_shared); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_92make_GeneralizedIterativeClosestPoint(__pyx_obj_3pcl_4_pcl_PointCloud*)’: pcl/_pcl_180.cpp:73721:150: warning: ‘void pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]’ is deprecated: [pcl::registration::GeneralizedIterativeClosestPoint::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] ed_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.8/pcl/registration/gicp.h:373:0, from pcl/_pcl_180.cpp:754: /usr/include/pcl-1.8/pcl/registration/impl/gicp.hpp:48:1: note: declared here pcl::GeneralizedIterativeClosestPoint<PointSource, PointTarget>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_94make_IterativeClosestPointNonLinear(__pyx_obj_3pcl_4_pcl_PointCloud*)’: pcl/_pcl_180.cpp:73813:148: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] ed_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_10PointCloud_96make_IterativeClosestPoint(__pyx_obj_3pcl_4_pcl_PointCloud*)’: pcl/_pcl_180.cpp:73905:139: warning: ‘void pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud(const PointCloudSourceConstPtr&) [with PointSource = pcl::PointXYZ; PointTarget = pcl::PointXYZ; Scalar = float; pcl::Registration<PointSource, PointTarget, Scalar>::PointCloudSourceConstPtr = boost::shared_ptr<const pcl::PointCloud<pcl::PointXYZ> >]’ is deprecated: [pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead. [-Wdeprecated-declarations] ed_ptr<pcl::PointCloud<struct pcl::PointXYZ> > )__pyx_v_self->thisptr_shared)); ^ In file included from /usr/include/pcl-1.8/pcl/registration/registration.h:607:0, from pcl/_pcl_180.cpp:749: /usr/include/pcl-1.8/pcl/registration/impl/registration.hpp:43:1: note: declared here pcl::Registration<PointSource, PointTarget, Scalar>::setInputCloud ( ^~~ pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pf_3pcl_4_pcl_29PointCloud_PointWithViewpoint_12from_list(__pyx_obj_3pcl_4_pcl_PointCloud_PointWithViewpoint*, PyObject*)’: pcl/_pcl_180.cpp:89356:77: warning: variable ‘__pyx_t_8’ set but not used [-Wunused-but-set-variable] _ctuple_float__and_float__and_float__and_float__and_float__and_float __pyx_t_8; ^~~~~~~~~ In file included from /usr/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0, from pcl/_pcl_180.cpp:635: /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’: /usr/include/pcl-1.8/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)); ^~~~~~~~~~~~~~~ /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here pcl/_pcl_180.cpp: In function ‘PyObject* __pyx_pw_3pcl_4_pcl_8Vertices_7to_array(PyObject*, PyObject*)’: pcl/_pcl_180.cpp:117574:33: warning: ‘<anonymous>’ may be used uninitialized in this function [-Wmaybe-uninitialized] return PyInt_FromSize_t(ival); ^ pcl/_pcl_180.cpp:15519:93: note: ‘<anonymous>’ was declared here 4 = __pyx_f_3pcl_4_pcl_8Vertices_thisptr(__pyx_v_self)->vertices.at(__pyx_v_i); ^ aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.8 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-7.0 -I/usr/include/python3.6m -c pcl/minipcl.cpp -o build/temp.linux-aarch64-3.6/pcl/minipcl.o -std=c++11 In file included from /usr/include/pcl-1.8/pcl/sample_consensus/sac_model.h:52:0, from /usr/include/pcl-1.8/pcl/sample_consensus/sac.h:45, from /usr/include/pcl-1.8/pcl/segmentation/sac_segmentation.h:49, from pcl/minipcl.h:5, from pcl/minipcl.cpp:14: /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’: /usr/include/pcl-1.8/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)); ^~~~~~~~~~~~~~~ /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/pcl-1.8 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/vtk-7.0 -I/usr/include/python3.6m -c pcl/ProjectInliers.cpp -o build/temp.linux-aarch64-3.6/pcl/ProjectInliers.o -std=c++11 In file included from /usr/include/pcl-1.8/pcl/filters/project_inliers.h:45:0, from pcl/ProjectInliers.h:6, from pcl/ProjectInliers.cpp:3: /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h: In function ‘void __static_initialization_and_destruction_0(int, int)’: /usr/include/pcl-1.8/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)); ^~~~~~~~~~~~~~~ /usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here aarch64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.6/pcl/_pcl_180.o build/temp.linux-aarch64-3.6/pcl/minipcl.o build/temp.linux-aarch64-3.6/pcl/ProjectInliers.o -L/usr/lib/x86_64-linux-gnu/ -lvtkalglib-7.0 -lvtkChartsCore-7.0 -lvtkCommonColor-7.0 -lvtkCommonComputationalGeometry-7.0 -lvtkCommonCore-7.0 -lvtkCommonDataModel-7.0 -lvtkCommonExecutionModel-7.0 -lvtkCommonMath-7.0 -lvtkCommonMisc-7.0 -lvtkCommonSystem-7.0 -lvtkCommonTransforms-7.0 -lvtkDICOMParser-7.0 -lvtkDomainsChemistry-7.0 -lvtkexoIIc-7.0 -lvtkexpat-7.0 -lvtkFiltersAMR-7.0 -lvtkFiltersCore-7.0 -lvtkFiltersExtraction-7.0 -lvtkFiltersFlowPaths-7.0 -lvtkFiltersGeneral-7.0 -lvtkFiltersGeneric-7.0 -lvtkFiltersGeometry-7.0 -lvtkFiltersHybrid-7.0 -lvtkFiltersHyperTree-7.0 -lvtkFiltersImaging-7.0 -lvtkFiltersModeling-7.0 -lvtkFiltersParallel-7.0 -lvtkFiltersParallelImaging-7.0 -lvtkFiltersProgrammable-7.0 -lvtkFiltersSelection-7.0 -lvtkFiltersSMP-7.0 -lvtkFiltersSources-7.0 -lvtkFiltersStatistics-7.0 -lvtkFiltersTexture-7.0 -lvtkFiltersVerdict-7.0 -lvtkfreetype-7.0 -lvtkGeovisCore-7.0 -lvtkgl2ps-7.0 -lvtkhdf5-7.0 -lvtkhdf5_hl-7.0 -lvtkImagingColor-7.0 -lvtkImagingCore-7.0 -lvtkImagingFourier-7.0 -lvtkImagingGeneral-7.0 -lvtkImagingHybrid-7.0 -lvtkImagingMath-7.0 -lvtkImagingMorphological-7.0 -lvtkImagingSources-7.0 -lvtkImagingStatistics-7.0 -lvtkImagingStencil-7.0 -lvtkInfovisCore-7.0 -lvtkInfovisLayout-7.0 -lvtkInteractionImage-7.0 -lvtkInteractionStyle-7.0 -lvtkInteractionWidgets-7.0 -lvtkIOAMR-7.0 -lvtkIOCore-7.0 -lvtkIOEnSight-7.0 -lvtkIOExodus-7.0 -lvtkIOExport-7.0 -lvtkIOGeometry-7.0 -lvtkIOImage-7.0 -lvtkIOImport-7.0 -lvtkIOInfovis-7.0 -lvtkIOLegacy-7.0 -lvtkIOLSDyna-7.0 -lvtkIOMINC-7.0 -lvtkIOMovie-7.0 -lvtkIONetCDF-7.0 -lvtkIOParallel-7.0 -lvtkIOParallelXML-7.0 -lvtkIOPLY-7.0 -lvtkIOSQL-7.0 -lvtkIOVideo-7.0 -lvtkIOXML-7.0 -lvtkIOXMLParser-7.0 -lvtkjpeg-7.0 -lvtkjsoncpp-7.0 -lvtklibxml2-7.0 -lvtkmetaio-7.0 -lvtkNetCDF-7.0 -lvtkoggtheora-7.0 -lvtkParallelCore-7.0 -lvtkpng-7.0 -lvtkproj4-7.0 -lvtkRenderingAnnotation-7.0 -lvtkRenderingContext2D-7.0 -lvtkRenderingContextOpenGL-7.0 -lvtkRenderingCore-7.0 -lvtkRenderingFreeType-7.0 -lvtkRenderingGL2PS-7.0 -lvtkRenderingImage-7.0 -lvtkRenderingLabel-7.0 -lvtkRenderingLIC-7.0 -lvtkRenderingLOD-7.0 -lvtkRenderingOpenGL-7.0 -lvtkRenderingVolume-7.0 -lvtkRenderingVolumeOpenGL-7.0 -lvtksqlite-7.0 -lvtksys-7.0 -lvtktiff-7.0 -lvtkverdict-7.0 -lvtkViewsContext2D-7.0 -lvtkViewsCore-7.0 -lvtkViewsInfovis-7.0 -lvtkzlib-7.0 -lpcl_keypoints -lpcl_outofcore -lpcl_people -lpcl_recognition -lpcl_registration -lpcl_segmentation -lpcl_features -lpcl_ml -lpcl_stereo -lpcl_surface -lpcl_tracking -lpcl_filters -lpcl_sample_consensus -lpcl_visualization -lpcl_io -lOpenNI -lOpenNI2 -lpcl_search -lpcl_kdtree -lflann -lflann_cpp -lpcl_octree -lpcl_common -o build/lib.linux-aarch64-3.6/pcl/_pcl.cpython-36m-aarch64-linux-gnu.so /usr/bin/ld: cannot find -lvtkalglib-7.0 /usr/bin/ld: cannot find -lvtkChartsCore-7.0 /usr/bin/ld: cannot find -lvtkCommonColor-7.0 /usr/bin/ld: cannot find -lvtkCommonComputationalGeometry-7.0 /usr/bin/ld: cannot find -lvtkCommonCore-7.0 /usr/bin/ld: cannot find -lvtkCommonDataModel-7.0 /usr/bin/ld: cannot find -lvtkCommonExecutionModel-7.0 /usr/bin/ld: cannot find -lvtkCommonMath-7.0 /usr/bin/ld: cannot find -lvtkCommonMisc-7.0 /usr/bin/ld: cannot find -lvtkCommonSystem-7.0 /usr/bin/ld: cannot find -lvtkCommonTransforms-7.0 /usr/bin/ld: cannot find -lvtkDICOMParser-7.0 /usr/bin/ld: cannot find -lvtkDomainsChemistry-7.0 /usr/bin/ld: cannot find -lvtkexoIIc-7.0 /usr/bin/ld: cannot find -lvtkexpat-7.0 /usr/bin/ld: cannot find -lvtkFiltersAMR-7.0 /usr/bin/ld: cannot find -lvtkFiltersCore-7.0 /usr/bin/ld: cannot find -lvtkFiltersExtraction-7.0 /usr/bin/ld: cannot find -lvtkFiltersFlowPaths-7.0 /usr/bin/ld: cannot find -lvtkFiltersGeneral-7.0 /usr/bin/ld: cannot find -lvtkFiltersGeneric-7.0 /usr/bin/ld: cannot find -lvtkFiltersGeometry-7.0 /usr/bin/ld: cannot find -lvtkFiltersHybrid-7.0 /usr/bin/ld: cannot find -lvtkFiltersHyperTree-7.0 /usr/bin/ld: cannot find -lvtkFiltersImaging-7.0 /usr/bin/ld: cannot find -lvtkFiltersModeling-7.0 /usr/bin/ld: cannot find -lvtkFiltersParallel-7.0 /usr/bin/ld: cannot find -lvtkFiltersParallelImaging-7.0 /usr/bin/ld: cannot find -lvtkFiltersProgrammable-7.0 /usr/bin/ld: cannot find -lvtkFiltersSelection-7.0 /usr/bin/ld: cannot find -lvtkFiltersSMP-7.0 /usr/bin/ld: cannot find -lvtkFiltersSources-7.0 /usr/bin/ld: cannot find -lvtkFiltersStatistics-7.0 /usr/bin/ld: cannot find -lvtkFiltersTexture-7.0 /usr/bin/ld: cannot find -lvtkFiltersVerdict-7.0 /usr/bin/ld: cannot find -lvtkfreetype-7.0 /usr/bin/ld: cannot find -lvtkGeovisCore-7.0 /usr/bin/ld: cannot find -lvtkgl2ps-7.0 /usr/bin/ld: cannot find -lvtkhdf5-7.0 /usr/bin/ld: cannot find -lvtkhdf5_hl-7.0 /usr/bin/ld: cannot find -lvtkImagingColor-7.0 /usr/bin/ld: cannot find -lvtkImagingCore-7.0 /usr/bin/ld: cannot find -lvtkImagingFourier-7.0 /usr/bin/ld: cannot find -lvtkImagingGeneral-7.0 /usr/bin/ld: cannot find -lvtkImagingHybrid-7.0 /usr/bin/ld: cannot find -lvtkImagingMath-7.0 /usr/bin/ld: cannot find -lvtkImagingMorphological-7.0 /usr/bin/ld: cannot find -lvtkImagingSources-7.0 /usr/bin/ld: cannot find -lvtkImagingStatistics-7.0 /usr/bin/ld: cannot find -lvtkImagingStencil-7.0 /usr/bin/ld: cannot find -lvtkInfovisCore-7.0 /usr/bin/ld: cannot find -lvtkInfovisLayout-7.0 /usr/bin/ld: cannot find -lvtkInteractionImage-7.0 /usr/bin/ld: cannot find -lvtkInteractionStyle-7.0 /usr/bin/ld: cannot find -lvtkInteractionWidgets-7.0 /usr/bin/ld: cannot find -lvtkIOAMR-7.0 /usr/bin/ld: cannot find -lvtkIOCore-7.0 /usr/bin/ld: cannot find -lvtkIOEnSight-7.0 /usr/bin/ld: cannot find -lvtkIOExodus-7.0 /usr/bin/ld: cannot find -lvtkIOExport-7.0 /usr/bin/ld: cannot find -lvtkIOGeometry-7.0 /usr/bin/ld: cannot find -lvtkIOImage-7.0 /usr/bin/ld: cannot find -lvtkIOImport-7.0 /usr/bin/ld: cannot find -lvtkIOInfovis-7.0 /usr/bin/ld: cannot find -lvtkIOLegacy-7.0 /usr/bin/ld: cannot find -lvtkIOLSDyna-7.0 /usr/bin/ld: cannot find -lvtkIOMINC-7.0 /usr/bin/ld: cannot find -lvtkIOMovie-7.0 /usr/bin/ld: cannot find -lvtkIONetCDF-7.0 /usr/bin/ld: cannot find -lvtkIOParallel-7.0 /usr/bin/ld: cannot find -lvtkIOParallelXML-7.0 /usr/bin/ld: cannot find -lvtkIOPLY-7.0 /usr/bin/ld: cannot find -lvtkIOSQL-7.0 /usr/bin/ld: cannot find -lvtkIOVideo-7.0 /usr/bin/ld: cannot find -lvtkIOXML-7.0 /usr/bin/ld: cannot find -lvtkIOXMLParser-7.0 /usr/bin/ld: cannot find -lvtkjpeg-7.0 /usr/bin/ld: cannot find -lvtkjsoncpp-7.0 /usr/bin/ld: cannot find -lvtklibxml2-7.0 /usr/bin/ld: cannot find -lvtkmetaio-7.0 /usr/bin/ld: cannot find -lvtkNetCDF-7.0 /usr/bin/ld: cannot find -lvtkoggtheora-7.0 /usr/bin/ld: cannot find -lvtkParallelCore-7.0 /usr/bin/ld: cannot find -lvtkpng-7.0 /usr/bin/ld: cannot find -lvtkproj4-7.0 /usr/bin/ld: cannot find -lvtkRenderingAnnotation-7.0 /usr/bin/ld: cannot find -lvtkRenderingContext2D-7.0 /usr/bin/ld: cannot find -lvtkRenderingContextOpenGL-7.0 /usr/bin/ld: cannot find -lvtkRenderingCore-7.0 /usr/bin/ld: cannot find -lvtkRenderingFreeType-7.0 /usr/bin/ld: cannot find -lvtkRenderingGL2PS-7.0 /usr/bin/ld: cannot find -lvtkRenderingImage-7.0 /usr/bin/ld: cannot find -lvtkRenderingLabel-7.0 /usr/bin/ld: cannot find -lvtkRenderingLIC-7.0 /usr/bin/ld: cannot find -lvtkRenderingLOD-7.0 /usr/bin/ld: cannot find -lvtkRenderingOpenGL-7.0 /usr/bin/ld: cannot find -lvtkRenderingVolume-7.0 /usr/bin/ld: cannot find -lvtkRenderingVolumeOpenGL-7.0 /usr/bin/ld: cannot find -lvtksqlite-7.0 /usr/bin/ld: cannot find -lvtksys-7.0 /usr/bin/ld: cannot find -lvtktiff-7.0 /usr/bin/ld: cannot find -lvtkverdict-7.0 /usr/bin/ld: cannot find -lvtkViewsContext2D-7.0 /usr/bin/ld: cannot find -lvtkViewsCore-7.0 /usr/bin/ld: cannot find -lvtkViewsInfovis-7.0 /usr/bin/ld: cannot find -lvtkzlib-7.0 collect2: error: ld returned 1 exit status error: command 'aarch64-linux-gnu-g++' failed with exit status 1

  • Operating System and version: Ubuntu 18.04
  • Compiler:
  • PCL Version:
  • Cython Version: 0.25.2 also tried with the latest version

Please help!

I used the following command to install pcl: sudo apt install libpcl-dev -y

when i tried to use PCL library with C++, it works fine.

I think the problem is with VTK installation. I tried installing VTK 7.1 also 8 .2, but still the problem. Is there any way to skip VTK? I just want to access the PCL function in python.

Thanks

eddylan2894 commented 4 years ago

Same issue here!

pyni commented 4 years ago

same here.

bcccat commented 4 years ago

For anyone with the same problem, this is likely caused by inconsistency between your VTK version and PCL version. In the default setting configured in python-pcl/setup.py, PCL-1.8 should have VTK-7.0, if you are havin]g another version (VTK6.3 & PCL-1.8 in my case), things might go wrong. For the fix, please refer to this issue 307 The patch, in short, directly changes the requirements by editing setup.py. Have fun!