Checklist
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
Checklist
Description
I got an error to rebuild autoware_utils_pcl
To fix it we can modify CMakeLists.txt
Option 1
we can modify CMakeLists.txt and add
find_package(MPI)to itOption 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 buildafter several building.Actual behavior
the first build pass but the second build failed.
Steps to reproduce
Versions
No response
Possible causes
No response
Additional context
No response