-
Notifications
You must be signed in to change notification settings - Fork 146
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
Config --cmake-args -DCMAKE_PREFIX_PATH modify extended workspaces path. #711
Comments
I tried to reproduce your error and there is definitely something strange going on. However, I think it is only a bug in the printed summary. Could you post the contents of |
Sure let me do this from start: Before Setting prefix path:
After setting with
|
From this output it looks like it is only a display issue. As you can see, there is no change to the
and try to build again. Then we can hopefully see where the error comes from. The output of the first line should be |
Package still doesn't build even after I added the lines in Clean build without
|
I ran into this as well, after a quick investigation I believe the 'problem' takes place in catkin here.
catkin either uses the Not sure if this is a feature or a bug but it is quite unfortunate. |
So in order for this to get fixed, if it's a bug, is to append the |
I can't properly answer your question as I didn't dig any further. I simply tried to set the |
System Info
#109~18.04.1-Ubuntu
Python 2.7.17
catkin_tools 0.8.2 (C) 2014-2022 Open Source Robotics Foundation
melodic
Build / Run Issue
catkin config --cmake-args -DOpen3D_ROOT=~/git/Open3D/install/lib/cmake/Open3D
catkin config --cmake-args -DCMAKE_PREFIX_PATH=~/git/Open3D/install
Expected Behavior
I need to set prefix to find 3rd part library installed in non system paths eg
-DCMAKE_PREFIX_PATH=~/git/Open3D/install.
I would expect
catkin config --cmake-args -DCMAKE_PREFIX_PATH=~/git/Open3D/install
to set up properly workspaces and not mess up extending workspaces.Actual Behavior
--- Before
catkin config --cmake-args -DCMAKE_PREFIX_PATH=~/git/Open3D/install
This make the build failed for my package since find_packge(catkin REQUIRED ...) is not in path any more.
--- After
catkin config --cmake-args -DCMAKE_PREFIX_PATH=~/git/Open3D/install
If
catkin config --cmake-args -DOpen3D_ROOT=~/git/Open3D/install/lib/cmake/Open3d
however is used, catkinfind_package(catkin)
is succesfull andOpen3DConfig.cmake
is found.Check isl-org/Open3D#4093 (comment) even though now i think it's
catkin
bug and not open3d.The text was updated successfully, but these errors were encountered: