-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Checklist
- I've read the contribution guidelines.
- I've searched other issues and no duplicate issues were found.
- I'm convinced that this is not my fault but a bug.
Description
I got an error to rebuild autoware_utils_pcl
CMake Error in /workspaces/jbdata-ws/luxoft/autoware_object_detection/build/autoware_utils_pcl/CMakeFiles/CMakeTmp/CMakeLists.txt:
Imported target "MPI::MPI_C" includes non-existent path
"/opt/hpcx/ompi/lib/x86_64-linux-gnu/openmpi/include"
To fix it we can modify CMakeLists.txt
Option 1
we can modify CMakeLists.txt and add find_package(MPI) to it
Option 2: make ln to pass the error
which mpicc
/usr/local/mpi/bin/mpicc
sudo mkdir -p /opt/hpcx/ompi/lib/x86_64-linux-gnu/openmpi
sudo ln -s /usr/local/mpi/bin/ opt/hpcx/ompi/lib/x86_64-linux-gnu/
Expected behavior
path the colcon build after several building.
Actual behavior
the first build pass but the second build failed.
Steps to reproduce
- build the package
- clean build and rebuild it
- it may fail
Versions
No response
Possible causes
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels