Open atyshka opened 3 years ago
For the record that path is pointing to an include directory in the root of my workspace which makes no sense...
kinesis_manager/kinesis_managerConfig.cmake seems to be the problematic portion, with line 2:
set(kinesis_manager_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include")
CMAKE_CURRENT_LIST_DIR is home/alex/noetic_ws/build_isolated/kinesis_manager/devel, but going up 3 levels take me to the root of the workspace which makes no sense. What is the intended behaviour of this line?
Also worth mentioning that the readme directions are for colcon, whereas I am using catkin_make_isolated on ros1
Maybe the reason is because of different build tool used?
There is another file looked for in CMAKE_CURRENT_LIST_DIR
folder, which may help to find the right folder for include
include("${CMAKE_CURRENT_LIST_DIR}/kinesis_manager-targets.cmake")
When attempting to build kinesis video streamer from source, this package is built as a dependency. The compilation of this package works fine, but when the build gets to kinesis_video_streamer I have the following error:
CMake Error in CMakeLists.txt: Imported target "kinesis_manager" includes non-existent path
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
The path was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and references files it does not provide.
It seems that the package is making some assumptions about the directory structure? Not sure why this is happening on my machine but the buildfarm works fine. For reference I'm using ros noetic but that shouldn't be affecting anything with CMake finding things