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

drl build linking error #11

Closed
bill4u opened this issue Oct 14, 2019 · 3 comments
Closed

drl build linking error #11

bill4u opened this issue Oct 14, 2019 · 3 comments

Comments

@bill4u
Copy link

bill4u commented Oct 14, 2019

I have installed:
ros-kinetic-laserscan-to-pointcloud_1.0.0-0xenial_amd64.deb
ros-kinetic-pcl_1.8.1-0xenial_amd64.deb
ros-kinetic-pose-to-tf-publisher_1.0.0-0xenial_amd64.deb

then I build the drl and get the following error:
[ 98%] Linking CXX executable devel/lib/dynamic_robot_localization/drl_localization_node
devel/lib/libdrl_localization.so:对‘pcl::search::Searchpcl::PointXYZRGBNormal::getName() const’未定义的引用
collect2: error: ld returned 1 exit status

what can I do to fix this problem

@bill4u
Copy link
Author

bill4u commented Oct 14, 2019

Do I need to remove the system installed PCL and reinstall ros-kinetic-pcl_1.8.1-0xenial_amd64.deb?

@bill4u
Copy link
Author

bill4u commented Oct 14, 2019

solved.THX

@bill4u bill4u closed this as completed Oct 14, 2019
@carlosmccosta
Copy link
Owner

Good morning :)

I packaged and configured my fork of pcl for overriding the system installation (this way you do not need to touch your installation of pcl).

The error you are getting probably has the same cause of this one.

I integrated the commit that solved this issue from the melodic to the kinetic branch.
Please do git pull and see if it solves the linking error.

P.S.
I did not have this issue in Ubuntu 16, probably because I am using an upgraded version of gcc (7.4) while also using catkin tools.

@carlosmccosta carlosmccosta reopened this Oct 14, 2019
@bill4u bill4u closed this as completed Feb 15, 2022
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