Robotics StackExchange | Archived questions

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

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, 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

Asked by Ibrahim_aerospace on 2019-02-13 01:49:28 UTC

Comments

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 ..

Asked by gvdhoorn on 2019-02-13 02:50:17 UTC

.. (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 ..

Asked by gvdhoorn on 2019-02-13 02:51:31 UTC

.. 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.

Asked by gvdhoorn on 2019-02-13 02:52:16 UTC

Answers