strawlab / python-pcl

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

Installation issue in Jetson TX2 during setup build #153

Open sivaariram opened 6 years ago

sivaariram commented 6 years ago

building 'pcl._pcl' extension aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET=1 -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/local/include/pcl-1.8 -I/usr/local/include/eigen3 -I/usr/include/ni -I/usr/include/openni2 -I/usr/include/ni -I/usr/include/vtk-5.8 -I/usr/local/include/vtk-8.0 -I/usr/local/Cellar/vtk/8.0.1/include -I/usr/include/python2.7 -c pcl/_pcl_180.cpp -o build/temp.linux-aarch64-2.7/pcl/_pcl_180.o cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ pcl/_pcl_180.cpp:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.

error Do not use this file, it is the result of a failed Cython compilation.

^ error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

ljc19800331 commented 6 years ago

I also got this issue but I don't know how to fix it.

alex-carneiro commented 6 years ago

I got this issue because my cython version was the newest one. After changed it to 0.25.2, it has been fixed.

To change cython version, you should run:

pip3 install --upgrade --force cython==0.25.2

Regards!