strawlab / python-pcl

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

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1....Kindly help #235

Open chowkamlee81 opened 6 years ago

chowkamlee81 commented 6 years ago

i executed git clone https://github.com/strawlab/python-pcl.git python-pcl python3.6 -m pip install cython==0.25.2 python3.6 setup.py build_ext -i

after 3 command got an error below

pcl/_pcl_180.cpp:50361:49: warning: ‘void pcl::MovingLeastSquares<PointInT, PointOutT>::setPolynomialFit(bool) [with PointInT = pcl::PointXYZRGB; PointOutT = pcl::PointXYZRGB]’ is deprecated: [pcl::surface::MovingLeastSquares::setPolynomialFit] setPolynomialFit is deprecated. Please use setPolynomialOrder instead. [-Wdeprecated-declarations] pyx_v_self->me->setPolynomialFit(pyx_v_fit); ^ In file included from pcl/_pcl_180.cpp:553:0: /usr/local/include/pcl-1.8/pcl/surface/mls.h:362:7: note: declared here setPolynomialFit (bool polynomial_fit) ^ pcl/_pcl_180.cpp: In function ‘PyObject __pyx_pf_3pcl_4_pcl_31MovingLeastSquares_PointXYZRGBA_8set_polynomial_fit(__pyx_obj_3pcl_4_pcl_MovingLeastSquares_PointXYZRGBA, int)’: pcl/_pcl_180.cpp:50727:49: warning: ‘void pcl::MovingLeastSquares<PointInT, PointOutT>::setPolynomialFit(bool) [with PointInT = pcl::PointXYZRGBA; PointOutT = pcl::PointXYZRGBA]’ is deprecated: [pcl::surface::MovingLeastSquares::setPolynomialFit] setPolynomialFit is deprecated. Please use setPolynomialOrder instead. [-Wdeprecated-declarations] pyx_v_self->me->setPolynomialFit(pyx_v_fit); ^ In file included from pcl/_pcl_180.cpp:553:0: /usr/local/include/pcl-1.8/pcl/surface/mls.h:362:7: note: declared here setPolynomialFit (bool polynomial_fit) ^ error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

chowkamlee81 commented 6 years ago

Also error below pcl/_pcl_180.cpp:48508:153: error: no matching function for call to ‘pcl::ConditionalRemoval::ConditionalRemoval(pyx_t_3pcl_15pcl_filters_180_ConditionBasePtr_t, NULL)’ t(((__pyx_t_3pcl_15pcl_filters_180_ConditionBasePtr_t)pyx_v_cond->me), NULL);

niranjanreddy891 commented 5 years ago

sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libssl-dev

sudo easy_install greenlet

sudo easy_install gevent

Try running these commands.

TopGun666 commented 5 years ago

sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libssl-dev sudo easy_install greenlet sudo easy_install gevent Try running these commands.

It doesn't work... ( ・᷄ὢ・᷅ )