Your message dated Tue, 18 Oct 2016 16:44:00 +0200
with message-id <147680184030.4577.12900397618355889696@localhost>
and subject line Re: ros-mk: Could not find toolchain file
has caused the Debian Bug report #841211,
regarding ros-mk: Could not find toolchain file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
841211: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841211
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Tue, 18 Oct 2016 16:30:35 +0200 Johannes Schauer <jo...@debian.org> wrote:
> 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.

turns out, that the culprit was my CMakeLists file where I didn't set ROS_ROOT.

Attachment: signature.asc
Description: signature


--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to