-
Notifications
You must be signed in to change notification settings - Fork 702
Compiling issue #80
Comments
I believe this is because your compiler isn't running in C++11 mode. You can fix it with something like :
|
fix strawlab#80 when calling `python setup.py install --user` on Ubuntu 14.04 [gcc 4.8.4 / cython 0.20.1post0]: pcl/_pcl.cpp: In function ‘int __pyx_pf_3pcl_4_pcl_10PointCloud___cinit__(__pyx_obj_3pcl_4_pcl_PointCloud*, PyObject*)’: pcl/_pcl.cpp:3831:49: error: ‘>>’ should be ‘> >’ within a nested template argument list sp_assign<pcl::PointCloud<struct pcl::PointXYZ>>(__pyx_v_self->thisptr_shared, __pyx_t_1); ^
Thanks that allowed me to make the SO file, however when I run setup install I do not know how I could use CPPFLAGS="-std=c++11" make to finish the install. |
I think you can modify setup.py to add :
just before the call to |
I recently had the same issue, should this be a permanent change? |
When corresponding to pcl 1.9, However, since 1.6 is currently included in the corresponding item, setting it to C ++ 11 is a little hesitant. As a current situation, I'd like to have only necessary people rewrite setup.py. |
I tried running the setup.py. I kept getting the following error:
pcl/_pcl.cpp:3831:49: error: ‘>>’ should be ‘> >’ within a nested template argument list
sp_assign<pcl::PointCloud>(__pyx_v_self->thisptr_shared, __pyx_t_1);
I ran the command: sudo python setup.py install
The text was updated successfully, but these errors were encountered: