Ask Your Question
1

ros buildfarm: package build failed because include not found

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

Hi,

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

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
'/tmp/catkin_workspace/install_isolated/include'.

However, there is a include dir in my package https://github.com/dji-sdk/Onboard-SD...

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: http://build.ros.org/job/Idev__dji_on... and error message shows in 00:03:48

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

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

Comments

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
2
  1. Of course. 2. Very likely.
joq gravatar image joq  ( 2016-03-26 08:56:35 -0500 )edit
3

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

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

Stats

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

Seen: 143 times

Last updated: Mar 26 '16