Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)

winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)


EDIT 1
To satisfy Daniel Stoniers question in the commentaries here is my CMAKE_PREFIX_PATH from the generated configure.cmake file:

set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${ROSDEPS_ROOT};${UNDERLAY_ROOTS}" CACHE PATH "semi-colon separated software/ros workspace paths.")

The referenced paths are defined as follows:

set(ROSDEPS_ROOT "C:/opt/rosdeps/groovy/x86" CACHE STRING "System root for ros dependency.")
set(UNDERLAY_ROOTS "" CACHE PATH "Semi-colon separated list of underlay roots.")

winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)


EDIT 1
To satisfy Daniel Stoniers question in the commentaries here is my CMAKE_PREFIX_PATH from the generated configure.cmake file:

set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${ROSDEPS_ROOT};${UNDERLAY_ROOTS}" CACHE PATH "semi-colon separated software/ros workspace paths.")

The referenced paths are defined as follows:

set(ROSDEPS_ROOT "C:/opt/rosdeps/groovy/x86" CACHE STRING "System root for ros dependency.")
set(UNDERLAY_ROOTS "" CACHE PATH "Semi-colon separated list of underlay roots.")

EDIT 2:
The output of winros_make:

C:\work\ws>winros_make

Executing cmake on the workspace source directory:

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

loading initial cache file C:\work\ws\config.cmake
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is not able to compile a simple test program.

It fails with the following output:

 Change Dir: C:/work/ws/build/CMakeFiles/CMakeTmp



Run Build Command:nmake /NOLOGO "cmTryCompileExec1323636901\fast"

      "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f
CMakeFiles\cmTryCompileExec1323636901.dir\build.make /nologo -L
CMakeFiles\cmTryCompileExec1323636901.dir\build

      "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\work\ws\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object
CMakeFiles/cmTryCompileExec1323636901.dir/testCCompiler.c.obj

      C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe
@C:\Users\bnm-rc\AppData\Local\Temp\nm3756.tmp

testCCompiler.c

Linking C executable cmTryCompileExec1323636901.exe

    "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E vs_link_exe
C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe /nologo
@C:\Users\bnm-rc\AppData\Local\Temp\nm394A.tmp

LINK : fatal error LNK1123: Fehler bei der Konvertierung in COFF: Datei ist
ung³ltig oder beschõdigt.

LINK Pass 1 failed.  with 2

NMAKE : fatal error U1077: ""C:\Program Files (x86)\CMake
2.8\bin\cmake.exe"": R³ckgabe-Code "0xffffffff"

Stop.

NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"": R³ckgabe-Code "0x2"

Stop.

winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)


EDIT 1
To satisfy Daniel Stoniers question in the commentaries here is my CMAKE_PREFIX_PATH from the generated configure.cmake file:

set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${ROSDEPS_ROOT};${UNDERLAY_ROOTS}" CACHE PATH "semi-colon separated software/ros workspace paths.")

The referenced paths are defined as follows:

set(ROSDEPS_ROOT "C:/opt/rosdeps/groovy/x86" CACHE STRING "System root for ros dependency.")
set(UNDERLAY_ROOTS "" CACHE PATH "Semi-colon separated list of underlay roots.")

EDIT 2:
The output of winros_make:

C:\work\ws>winros_make

Executing cmake on the workspace source directory:

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

loading initial cache file C:\work\ws\config.cmake
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is not able to compile a simple test program.

It fails with the following output:

 Change Dir: C:/work/ws/build/CMakeFiles/CMakeTmp



Run Build Command:nmake /NOLOGO "cmTryCompileExec1323636901\fast"

      "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f
CMakeFiles\cmTryCompileExec1323636901.dir\build.make /nologo -L
CMakeFiles\cmTryCompileExec1323636901.dir\build

      "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\work\ws\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object
CMakeFiles/cmTryCompileExec1323636901.dir/testCCompiler.c.obj

      C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe
@C:\Users\bnm-rc\AppData\Local\Temp\nm3756.tmp

testCCompiler.c

Linking C executable cmTryCompileExec1323636901.exe

    "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E vs_link_exe
C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe /nologo
@C:\Users\bnm-rc\AppData\Local\Temp\nm394A.tmp

LINK : fatal error LNK1123: Fehler bei der Konvertierung in COFF: Datei ist
ung³ltig oder beschõdigt.

LINK Pass 1 failed.  with 2

NMAKE : fatal error U1077: ""C:\Program Files (x86)\CMake
2.8\bin\cmake.exe"": R³ckgabe-Code "0xffffffff"

Stop.

NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"": R³ckgabe-Code "0x2"

Stop.

The german error message means something like 'error while converting in COFF: File is invalid or corrupted.'

winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)


EDIT 1
To satisfy Daniel Stoniers question in the commentaries here is my CMAKE_PREFIX_PATH from the generated configure.cmake file:

set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${ROSDEPS_ROOT};${UNDERLAY_ROOTS}" CACHE PATH "semi-colon separated software/ros workspace paths.")

The referenced paths are defined as follows:

set(ROSDEPS_ROOT "C:/opt/rosdeps/groovy/x86" CACHE STRING "System root for ros dependency.")
set(UNDERLAY_ROOTS "" CACHE PATH "Semi-colon separated list of underlay roots.")

EDIT 2:
The output of winros_make:

C:\work\ws>winros_make

Executing cmake on the workspace source directory:

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

loading initial cache file C:\work\ws\config.cmake
-- The C compiler identification is MSVC 16.0.30319.1
-- The CXX compiler identification is MSVC 16.0.30319.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/cl.exe" is not able to compile a simple test program.

It fails with the following output:

 Change Dir: C:/work/ws/build/CMakeFiles/CMakeTmp



Run Build Command:nmake /NOLOGO "cmTryCompileExec1323636901\fast"

      "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f
CMakeFiles\cmTryCompileExec1323636901.dir\build.make /nologo -L
CMakeFiles\cmTryCompileExec1323636901.dir\build

      "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\work\ws\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object
CMakeFiles/cmTryCompileExec1323636901.dir/testCCompiler.c.obj

      C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe
@C:\Users\bnm-rc\AppData\Local\Temp\nm3756.tmp

testCCompiler.c

Linking C executable cmTryCompileExec1323636901.exe

    "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E vs_link_exe
C:\PROGRA~2\MICROS~2.0\VC\bin\cl.exe /nologo
@C:\Users\bnm-rc\AppData\Local\Temp\nm394A.tmp

LINK : fatal error LNK1123: Fehler bei der Konvertierung in COFF: Datei ist
ung³ltig oder beschõdigt.

LINK Pass 1 failed.  with 2

NMAKE : fatal error U1077: ""C:\Program Files (x86)\CMake
2.8\bin\cmake.exe"": R³ckgabe-Code "0xffffffff"

Stop.

NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"": R³ckgabe-Code "0x2"

Stop.

The german error message means something like 'error while converting in COFF: File is invalid or corrupted.'

winros_make fails

Hi,
I'm installing winros on a Windows 7 system according to this tutorial and am stuck at executing the winros_make command. It says

find_package(catkin) failed.  catkin was neither found in the workspace nor
in the CMAKE_PREFIX_PATH.  One reason may be that no ROS setup.sh was
sourced before.

I couldn't find any setup.sh file I could source. Can someone please help? Greets :)


EDIT 1
To satisfy Daniel Stoniers question in the commentaries here is my CMAKE_PREFIX_PATH from the generated configure.cmake file:

set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${ROSDEPS_ROOT};${UNDERLAY_ROOTS}" CACHE PATH "semi-colon separated software/ros workspace paths.")

The referenced paths are defined as follows:

set(ROSDEPS_ROOT "C:/opt/rosdeps/groovy/x86" CACHE STRING "System root for ros dependency.")
set(UNDERLAY_ROOTS "" CACHE PATH "Semi-colon separated list of underlay roots.")

CLOSED
I closed this question, because the reason for the failure was a faulty system configuration. I installed the Windows SDK 7.1 parallel to my Visual Studio 2010, which caused the trouble. When I eventually retried on a clean system without installing the SDK, everything worked like a charm. Thanks very much though to everyone who helped me with this!