ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I've experienced this error; running 16.04. Seems related to a binary Ardent installation.

With the latest Bouncy release repos in src/, steps to reproduce:

source /opt/ros/ardent/setup.bash
colcon build --symlink-install --packages-up-to ament_index_cpp

Output:

--- stderr: ament_index_cpp                            
CMake Error: INSTALL(EXPORT) given unknown export "HAS_LIBRARY_TARGET"
---
Failed   <<< ament_index_cpp    [ Exited with code 1 ]

Running the same build command again (without remove build/ and install/) succeeds. Not sure why.

In any case, as long as Ardent isn't sourced then there should be no issue.

I've experienced this error; running 16.04. Seems related to a binary Ardent installation.

With Steps to reproduce with the latest Bouncy release repos in src/, steps to reproduce:a workspace:

source /opt/ros/ardent/setup.bash
colcon build --symlink-install --packages-up-to ament_index_cpp

Output:

--- stderr: ament_index_cpp                            
CMake Error: INSTALL(EXPORT) given unknown export "HAS_LIBRARY_TARGET"
---
Failed   <<< ament_index_cpp    [ Exited with code 1 ]

Running the same build command again (without remove build/ and install/) succeeds. Not sure why.

In any case, as long as Ardent isn't sourced then there should be no issue.