Bug#841211: ros-mk: Could not find toolchain file

Johannes Schauer josch at debian.org
Tue Oct 18 14:30:35 UTC 2016


Package: ros-mk
Version: 1.13.4-1
Severity: normal

Hi,

consider the following Makefile:

    include $(shell rospack find mk)/cmake_stack.mk

when I then run make I get:

cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/core/rosbuild/rostoolchain.cmake  ..
CMake Error at /usr/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake:104 (message):
  Could not find toolchain file: /core/rosbuild/rostoolchain.cmake
Call Stack (most recent call first):
  CMakeLists.txt


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
/usr/share/mk/cmake_stack.mk:7: recipe for target 'all' failed
make: *** [all] Error 1


The "toolchain file" it is looking for might be
/usr/share/ros/core/rosbuild/rostoolchain.cmake as it is found in the
package rosbuild (on which a dependency is missing) but even after
installing rosbuild, the error above persists. Probably the /usr/share
prefix is just missing.

Thanks!

cheers, josch



More information about the debian-science-maintainers mailing list