Closed towardthesea closed 8 years ago
I was having this error in Sept when compiling on the blackie console. Back then we had the issues with the icub-common
package. Is it your machine or blackie? @pattacini told me to:
dpkg -l *icub-common*
to see whether icub-common
is installed.
This is from my machine. I will try will blackie in next monday.
I did re-install icub-common
also, then checked it with dpkg -l icub-common
and got results as following:
$ dpkg -l icub-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-================-================-====================================================
ii icub-common 1.4.0-5~xenial amd64 List of dependencies for iCub software
but the compile error is still the same.
Hi @towardthesea
Try to compile the Ipopt smoke test
shipped with icub-tutorials.
Hi @pattacini ,
Compilation of Ipopt smoke test
ran without any problem, then the same for test_ipopt
:
./test_ipopt
Ipopt: testing correct installation...
******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Eclipse Public License (EPL).
For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************
target position = (-0.30000 0.10000 0.10000) [m]
solved position = (-0.30060 0.09992 0.09992) [m]
distance to target = 0.000605631 [m] ... test successful!
Let me test myself the compilation of react-controller/dev
.
Hold on 🖐
What's this missing header iCub/motionPlan/motionPlan.h
?
It is provided by reaching-planner to communicate the trajectory message
.
Yeah, that was what I imagined, but then the react-controller
doesn't deal with that as a proper dependency. For example, on my system where reaching-planner
is not installed, cmaking the project didn't catch any problem and I stumbled into that missing header.
@towardthesea can you please fix that? 😄
I am willing to do that but sincerely don't know which is the most efficient solution? Do you have any hint? Is it OK to include the same motionPlan class as lib
in react-control
?
Since reaching-planner
is a library, it should be organized as e.g. kinect-wrapper.
Modules depending on such a library can be coded taking inspiration from e.g. agentDetector, where a call to find_package(kinectWrapper)
is done conveniently before.
The motionPlan is added as lib
in the new branch integration-plan. Hope it can solve the dependency problem
What's this missing header iCub/motionPlan/motionPlan.h?
@towardthesea you should not add and compile the motionPlan library inside this repository. You just have to properly export the library in your repository (i.e. reaching-planner
), and add it as dependency of this one so that it can be proficiently linked by the executables which need it :slightly_smiling_face:
Yep indeed, @alecive's comment is spot on. We can do that together on Monday if you want.
Hi @towardthesea I've fixed the problem as per my commit.
Issues description
Trying to compile
react-control
in Ubuntu 16.04 with updatedyarp
,icub-main
andIpOpt
but got the following error.Error log