Describe the question
I am trying to build a configuration package according to the instructions. However, I keep getting the same build error, which I do not understand. Does anyone know what might cause this?
Some extra content: in the end I intend to use the package to communicate with a Nanotec controller using a USB-Can converter.
cmake_minimum_required(VERSION 3.8)
project(config_package)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
find_package(canopen_core REQUIRED)
find_package(canopen_interfaces REQUIRED)
find_package(canopen_base_driver REQUIRED)
find_package(canopen_proxy_driver REQUIRED)
find_package(lely_core_libraries REQUIRED)
cogen_dcf(gpl_bus)
install(DIRECTORY
launch/
DESTINATION share/${PROJECT_NAME}/launch/
)
install(DIRECTORY
launch_tests/
DESTINATION share/${PROJECT_NAME}/launch_tests/
)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# comment the line when a copyright and license is added to all source files
set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# comment the line when this package is in a git repo and when
# a copyright and license is added to all source files
set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
ament_package()
Describe the question I am trying to build a configuration package according to the instructions. However, I keep getting the same build error, which I do not understand. Does anyone know what might cause this? Some extra content: in the end I intend to use the package to communicate with a Nanotec controller using a USB-Can converter.
Logs bus.yml file:
Launch file:
CMakeFile:
package.xml file:
Build failed report:
Setup:
Help is much appreciated!