Target package requests to linking to a directory usr/include. Target may link only to libraries. Cmake is dropping the item. [closed]

asked 2019-02-13 00:49:28 -0500

Ibrahim_aerospace gravatar image

updated 2019-02-17 23:10:59 -0500

Hell all ! I want to compile a package that has a header file include/PIDController.h that depends on another package called "Control_toolbox". and I included header file from it as #include<control_toolbox pid.h="">, also I added this package to the package.xml file of my package as:

> <build_depend>control_toolbox</build_depend>  
> <exec_depend>control_toolbox</exec_depend>

But when I compile the package it gives a warning, that Cmake is dropping the item. And I think because of this reason my package is not working properly. Do you know this will create problem in compilation? or if someone has faced the same problem and knows how to solve it, Please do comment. I have attached to screenshot of it.image description

edit retag flag offensive reopen merge delete

Closed for the following reason Question does not follow our guidelines for questions. Please see: http://wiki.ros.org/Support for more details. by gvdhoorn
close date 2019-02-13 01:49:16.717482

Comments

1

I'm sorry to have to do this, but you've been around long enough to know this and I believe have received similar requests in the past: do not post screenshots of terminals or source code. It is not needed -- it's all text, wastes bandwidth, is harder to read on small devices, cannot ..

gvdhoorn gravatar image gvdhoorn  ( 2019-02-13 01:50:17 -0500 )edit
1

.. (yet) be indexed by search engines and makes quoting of parts of your error in an answers impossible.

Please just copy-paste the error text from your terminal into your question, select it and press ctrl+k or press the Preformatted Text button (the one with 101010 on it).

As the ..

gvdhoorn gravatar image gvdhoorn  ( 2019-02-13 01:51:31 -0500 )edit
1

.. question in its current format goes against the support guidelines (linked above), I'll close it.

After you've rectified the situation (you can still edit your question), I will re-open.

gvdhoorn gravatar image gvdhoorn  ( 2019-02-13 01:52:16 -0500 )edit