ros-windows / win_ros

Windows support for Ros (Robot Operating System)
http://www.ros.org/wiki/win_ros
23 stars 16 forks source link

Gtest found by catkin, but not compiled #12

Closed stonier closed 11 years ago

stonier commented 11 years ago

It only gets compiled when you nmake gtest.

Bigger problem - it fails the install if you dont nmake gtests because catkin used EXCLUDE_FROM_ALL on the target.

CMake Error at gtest/cmake_install.cmake:35 (FILE):
  file INSTALL cannot find "C:/work/ws/build/gtest/gtest.dll".
Call Stack (most recent call first):
  cmake_install.cmake:62 (INCLUDE)

NMAKE : fatal error U1077: 'echo' : return code '0x1'
Stop.

For reference, https://github.com/ros/catkin/blob/groovy-devel/cmake/test/gtest.cmake

stonier commented 11 years ago

Fixed - I was adding the install!

https://github.com/ros/catkin/pull/390