Open ChrisTimperley opened 4 years ago
I'll make sure this gets address in cmake changes PR currently in progress.
`CMake Error at autorally/autorally_core/src/StateEstimator/CMakeLists.txt:14 (add_executable): Target "StateEstimator" links to target "TBB::tbb" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
CMake Error at autorally/autorally_core/src/StateEstimator/CMakeLists.txt:14 (add_executable): Target "StateEstimator" links to target "TBB::tbbmalloc" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
`
I get this when I am doing catkin_make. I am using Ubuntu 20.04.
I was unable to build
autorally
on Melodic / Ubuntu 18.04 viacatkin_make
due to the following linker error when building theautorally_core
package.Boost is installed and otherwise working correctly. It seems, however, that the boost libraries are not explicitly linked against via
target_link_libraries
.To fix the issue, I modified
autorally_core/src/StateEstimator/CMakeLists.txt
as follows: