[ros-users] [Discourse.ros.org] [Next Generation ROS] Ament Tutorial: Build Fails with Symlink

Mrutyu1987 ros.discourse at gmail.com
Wed Jun 7 18:41:02 UTC 2017



Trying build the ament package builder for ROS2 on windows. Getting the following errors. any suggestion on how resolve these?

Following the steps mentioned: https://github.com/ros2/ros2/wiki/Ament-Tutorial

PostBuildEvent:
  setlocal
  "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
  if %errorlevel% neq 0 goto :cmEnd
  :cmEnd
  endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
  :cmErrorLevel
  exit /b %1
  :cmDone
  if %errorlevel% neq 0 goto :VCEnd
  :VCEnd
  -- Install configuration: "Release"
  -- Execute custom install script
  -- Symlinking: D:/ROS/ros2_ws/install/share/ament_index/resource_index/package_run_dependencies/ament_cmake_core
  failed to create symbolic link 'D:/ROS/ros2_ws/install/share/ament_index/resource_index/package_run_dependencies/ament_cmake_core': No error
  CMake Error at ament_cmake_symlink_install/ament_cmake_symlink_install.cmake:293 (message):
    Could not create symlink
    'D:/ROS/ros2_ws/install/share/ament_index/resource_index/package_run_dependencies/ament_cmake_core'
    pointing to
    'D:/ROS/ros2_ws/build/ament_cmake_core/ament_cmake_index/share/ament_index/resource_index/package_run_dependencies/ament_cmake_core'
  Call Stack (most recent call first):
    ament_cmake_symlink_install/ament_cmake_symlink_install.cmake:149 (_ament_cmake_symlink_install_create_symlink)
    ament_cmake_symlink_install/ament_cmake_symlink_install.cmake:305 (ament_cmake_symlink_install_files)
    cmake_install.cmake:31 (include)





---
[Visit Topic](https://discourse.ros.org/t/ament-tutorial-build-fails-with-symlink/1899/1) or reply to this email to respond.




More information about the ros-users mailing list