Failure in installing a new package on ROS2

asked 2018-12-05 03:58:23 -0600

jihadiat@gmail.com gravatar image

updated 2018-12-05 07:11:57 -0600

gvdhoorn gravatar image

Hello everyone,

i have already worked with ros2 on Linux platform and i'm trying it now on Windows 10 platform. ROS2 is successfully built from source on Windows 10 and also i successfully tried some of the build-in packages like intra_process_demo for example and it works fine. but when i tried a package that i created before with ROS2 on Linux a problem with building the package appeared.

See below for what appeared on command prompt during the building process.

Can anyone help me?

Output:

Process package 'image_converter' with context:
--------------------------------------------------------------------------------
 source_space => D:\ros2_ws\src\image_converter
  build_space => D:\ros2_ws\image_converter
install_space => D:\ros2_ws
   make_flags => -j8, -l8
  build_tests => False
--------------------------------------------------------------------------------
+++ Building 'image_converter'
Running cmake because arguments have changed.
==> 'D:\ros2_ws\image_converter\cmake__build.bat C:\Program Files\CMake\bin\cmake.EXE -DBUILD_TESTING=0 -DAMENT_CMAKE_SYMLINK_INSTALL=1 -DCMAKE_INSTALL_PREFIX=D:\ros2_ws -G Visual Studio 14 2015 Win64 D:\ros2_ws\src\image_converter' in 'D:\ros2_ws\image_converter'
-- Selecting Windows SDK version  to target Windows 10.0.16299.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ament_cmake: 0.5.1 (C:/dev/ros2-vs2015/install/share/ament_cmake/cmake)
-- Found PythonInterp: C:/Python37/python.exe (found suitable version "3.7", minimum required is "3")
-- Using PYTHON_EXECUTABLE: C:/Python37/python.exe
-- Override CMake install command with custom implementation using symlinks instead of copying resources
-- Found rclcpp: 0.5.1 (C:/dev/ros2-vs2015/install/share/rclcpp/cmake)
-- Found rmw_implementation_cmake: 0.5.0 (C:/dev/ros2-vs2015/install/share/rmw_implementation_cmake/cmake)
-- Found sensor_msgs: 0.5.1 (C:/dev/ros2-vs2015/install/share/sensor_msgs/cmake)
-- OpenCV ARCH: x64
-- OpenCV RUNTIME: vc14
-- OpenCV STATIC: OFF
-- Found OpenCV: C:/Users/jihadi/Downloads/opencv/build (found version "3.4.2")
-- Found OpenCV 3.4.2 in C:/Users/jihadi/Downloads/opencv/build/x64/vc14/lib
-- You might need to add C:\Users\jihadi\Downloads\opencv\build\x64\vc14\bin to your PATH to be able to run your applications.
-- Configuring done
-- Generating done
-- Build files have been written to: D:/ros2_ws/image_converter
==> 'D:\ros2_ws\image_converter\cmake__build.bat C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.EXE /m:8 /p:Configuration=Release D:\ros2_ws\image_converter\image_converter.sln' in 'D:\ros2_ws\image_converter'
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

Build started ...
(more)
edit retag flag offensive close merge delete