Skip to content

cmake "file RELATIVE_PATH must be passed a full path to the directory" error #96

@armaho

Description

@armaho

I tried compiling ros2_rolling from source based on the official tutorial, but I got this error:

CMake Error at CMakeLists.txt:39 (file):
  file RELATIVE_PATH must be passed a full path to the directory:
  lib/urdfdom_headers/cmake

CMake Error at CMakeLists.txt:40 (file):
  file RELATIVE_PATH must be passed a full path to the directory: lib

I was able to compile this project before, and I think that the issue is related to pull request #90. I not completely sure if this happens only on my machine or not. here are the value for related variables:

CMAKE_CONFIG_INSTALL_DIR = lib/urdfdom_headers/cmake
CMAKE_INSTALL_LIBDIR = lib
CMAKE_INSTALL_PREFIX = /home/arman/ros2_rolling/install/urdfdom_headers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions