Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error (RoboStack: ROS+Conda) #2593

Open
Tobias-Fischer opened this issue Apr 27, 2021 · 1 comment
Open

Compile error (RoboStack: ROS+Conda) #2593

Tobias-Fischer opened this issue Apr 27, 2021 · 1 comment

Comments

@Tobias-Fischer
Copy link

Hi there,
We are trying to get the jsk_recognition packages into RoboStack that combines ROS with Conda. Some smaller changes are required, and now I am stuck with this issue that I cannot resolve:

FAILED: devel/lib/libjsk_pcl_ros.so 
: && /home/tobias/anaconda3/conda-bld/ros_1619561430320/_build_env/bin/x86_64-conda-linux-gnu-c++ -fPIC -std=c++14 -fopenmp -O3 -DNDEBUG  -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,placehold/lib -Wl,-rpath-link,placehold/lib -Lplacehold/lib -z defs -shared -Wl,-soname,libjsk_pcl_ros.so -o devel/lib/libjsk_pcl_ros.so @CMakeFiles/jsk_pcl_ros.rsp  && :
/home/tobias/anaconda3/conda-bld/ros_1619561430320/_build_env/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: CMakeFiles/jsk_pcl_ros.dir/src/extract_cuboid_particles_top_n_nodelet.cpp.o:(.data.rel.ro._ZTVN3pcl13FilterIndicesINS_8tracking14ParticleCuboidEEE[_ZTVN3pcl13FilterIndicesINS_8tracking14ParticleCuboidEEE]+0x48): undefined reference to `pcl::FilterIndices<pcl::tracking::ParticleCuboid>::applyFilter(pcl::PointCloud<pcl::tracking::ParticleCuboid>&)'
collect2: error: ld returned 1 exit status

I am not familiar with writing PCL plugins, but something seems to be going wrong in the particle_cuboid.h file. Do you have any idea what it could be? We use PCL 1.11.

Best, Tobias

@knorth55
Copy link
Member

in Ubuntu Focal, libpcl-dev version is 1.10.0, so we only test this package in that version.
https://packages.ubuntu.com/focal/libpcl-dev

We dont have enough time to investigate your problem deeply, but I think it is better to check your package with PCL version 1.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants