ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Fix annoying warnings about CMAKE_TOOLCHAIN_FILE

asked 2012-11-13 07:33:41 -0500

drewm1980 gravatar image

updated 2014-01-28 17:14:15 -0500

ngrennan gravatar image

Hello, I am building some components on Ubuntu 12.04 LTS, with ROS fuerte, rtt build from source from latest master (e95fe17c5ef504b03785818260d212d54e5bdf54). I am building components with rosmake, and sometimes I get the following annoying warning during build:

CMake Warning:
Manually-specified variables were not used by the project:


I ran rgrep, and verified that none of our CMakeLists are defining this variable. It does appear in the CMakeCache files, which I assume is what is throwing the warning.

Should I silence these warnings, and how?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-13 22:24:31 -0500

Lorenz gravatar image

The variable is set by which can be found in /opt/ros/fuerte/share/ros/core/mk. The file /opt/ros/fuerte/share/ros/core/rosbuild/rostoolchain.cmake contains more information about the purpose of the file. I think it has something to do with cross compilation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-11-13 07:33:41 -0500

Seen: 1,665 times

Last updated: Nov 13 '12