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

Can't found PCL library when using ndt_omp in other catkin packages #67

Open
WilliamGong opened this issue Mar 11, 2024 · 0 comments
Open

Comments

@WilliamGong
Copy link

I am trying to develop an odometry with ndt_omp. I import this package as the build depend and exec depend like other catkin packages.
To enable the cuda feature of PCL, I used the self-building version of PCL and modified the configuration of pcl_ros. It works well in building ndt_omp itself. However, when building my package, the error occurs:
WindowsTerminal_Q7jPKwPQL0
It looks like that ndt_omp doesn't link to PCL. Therefore, I added the code below in CMakeLists.txt of ndt_omp and it works.

target_link_libraries(ndt_omp
  ${catkin_LIBRARIES}
  ${PCL_LIBRARIES}
)

However, it is strange that in the default ROS environment, all packages could be built without modifying ndt_omp. I do not understand why it occurs at all.

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

1 participant