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

Hey guys,

after long time I'm trying to compile a single package again to generate the headers from my defined msg and srv files in that package.

After the command

cmake -G "NMake Makefiles" -C "c:\work\ws\config.cmake" -DCMAKE_USER_MAKE_RULES_OVERRIDE:STRING="C:\Python27\lib\site-packages\win_ros\cmake\MsvcOverrides.cmake" -DCATKIN_DEVEL_PREFIX=c:\work\ws\devel c:\work\ws\src\my_project

I get the output

loading initial cache file D:\work\ws\config.cmake -- Using CATKIN_DEVEL_PREFIX: D:/work/ws/devel -- Using CMAKE_PREFIX_PATH: D:/opt/rosdeps/hydro/x86 -- Using default Python package layout -- Using CATKIN_ENABLE_TESTING: on -- Using CATKIN_TEST_RESULTS_DIR: D:/work/ws/src/tf2_msgs/test_results CMake Warning at D:/opt/ros/hydro/x86/share/catkin/cmake/test/gtest.cmake:103 (m essage): gtest not found, C++ tests can not be built. You can run 'svn checkout http://googletest.googlecode.com/svn/tags/release-1.6.0 gtest' in the source space 'D:/work/ws/src/tf2_msgs' of your workspace Call Stack (most recent call first): D:/opt/ros/hydro/x86/share/catkin/cmake/all.cmake:134 (include) D:/opt/ros/hydro/x86/share/catkin/cmake/catkinConfig.cmake:20 (include) CMakeLists.txt:4 (find_package)

-- catkin 0.5.69
Boost  found.
Found Boost components:
   thread
-- Generating .msg files for action tf2_msgs/LookupTransform D:/work/ws/src/tf2_
msgs/action/LookupTransform.action
-- tf2_msgs: 9 messages, 1 services
-- Configuring done
-- Generating done
-- Build files have been written to: D:/work/ws/src/tf2_msgs

After that I tried the "nmake" and "nmake install" command and the folder was created under C:\opt\ros\groovy\x86\include but without the headerfiles. I really don't know why. The cmake.py doesn't do anything else.