ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ros buildfarm: package build failed because include not found

asked 2016-03-26 02:39:05 -0500


I submit my package into the ros buildfarm. It can be compiled successfully on local machine and in

But in ROS buildfarm it says:

Command failed, exiting. Project 'dji_sdk_lib' specifies 'include' as an include dir, which is not found. It does not exist in

However, there is a include dir in my package

So I'm puzzled and wondering how to fix this error? Is it caused by I didn't specify a install parameter in the CMakeLists.txt?

the overall log: and error message shows in 00:03:48

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-26 03:05:55 -0500

ahendrix gravatar image

Your package does not specify any installation rules; so when the build farm tries to install your package, it fails.

Have a look at the catkin documentation and in particular the documentation for building and installing C++ libraries

edit flag offensive delete link more


thanks @ahendrix I will fix it. 1. Do all released packages need to specify a install parameters? 2. When one pkg needs another one as a library, the buildfarm also said it failed cause cannot find the library package, is it the same problem? i.e. no install parameter in the library package

lanyusea gravatar image lanyusea  ( 2016-03-26 03:28:36 -0500 )edit
  1. Of course. 2. Very likely.
joq gravatar image joq  ( 2016-03-26 08:56:35 -0500 )edit

The best local testing prior to building debs is to use catkin_make_isolated --install to validate you have setup install rules. And use the install space instead of the devel space.

tfoote gravatar image tfoote  ( 2016-03-26 16:56:49 -0500 )edit

thanks @joq and @tfoote , sorry I'm a newbie in pkg release =.=

lanyusea gravatar image lanyusea  ( 2016-03-27 01:19:06 -0500 )edit

Question Tools

1 follower


Asked: 2016-03-26 02:39:05 -0500

Seen: 276 times

Last updated: Mar 26 '16