You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the drake_ament_cmake_installed, the package I have base_lib depends on drake builds without problem,
however another package that depends on base_lib throws error saying it cannot find drake::drake
CMake Error at /code/src/install/base_lib/share/base_lib/cmake/export_base_libExport.cmake:61 (set_target_properties):
The link interface of target "base_lib::base_lib" contains:
drake::drake
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
/code/src/install/base_lib/share/base_lib/cmake/ament_cmake_export_targets-extras.cmake:9 (include)
/code/src/install/base_lib/share/base_lib/cmake/base_libConfig.cmake:41 (include)
CMakeLists.txt:19 (find_package)
If the code at drake_ament_cmake could be improved to help out the next person who reaches this problem, we would definitely accept a pull request with the improvements.
Following the drake_ament_cmake_installed, the package I have base_lib depends on drake builds without problem,
however another package that depends on base_lib throws error saying it cannot find drake::drake
My CMakeLists.txt
Any help would be greatly appreciated. Drake is installed properly to /opt/drake and I can build standalone packages that depends on drake
The text was updated successfully, but these errors were encountered: