-
Notifications
You must be signed in to change notification settings - Fork 24
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
Linker issues when initializing environment #223
Comments
I think you just need to link against the appropriate
FWIW, all find_package(catkin required components
dynamic_reconfigure
pluginlib
rosbag
rosconsole
roscpp
roslib
tf
tf_conversions
eigen_conversions
std_msgs
sensor_msgs
cmake_modules
message_generation
moveit_core
moveit_ros_planning
moveit_ros_planning_interface
moveit_planners_ompl
pluginlib
tesseract_msgs
tesseract_monitoring
tesseract_rosutils
- tesseract_environment
- tesseract_kinematics
)
+find_package(tesseract_environment REQUIRED)
+find_package(tesseract_kinematics REQUIRED)
Here is a decent example from |
@marip8 Thank you for your response! Hmm I tried this in the past (see my commented-out target-link-libraries) but when I do this I get a linker error:
which is weird because I:
Do you have any idea why it would not be able to find libxml2? I also installed Edit: I should add, that I am using this from a ROS noetic package. And I thought that the inter-package linking would be done by the build dependencies from the |
Hi there, when I try to initialize a previously declared environment like this:
I am getting a linker error like below:
These are the relevant parts of my CMakelist. In my desperation, I have added a lot of dependencies everywhere:
(In this example, I lowercased everything by accident.)
The missing
tesseract_kinematics
package which builds totesseract_kinematics_core
can be found inside mycatkin_ws/build/tesseract_kinematics/core/libtesseract_kinematics_core.so
As a side-note it would be nice if the example were isolated. Instead, the examples mostly import cmake configuration and headers from tesseract_examples. I understand how you don't want to repeat yourself, but it is harder to isolated what is needed per project.
The text was updated successfully, but these errors were encountered: