Closed rlober closed 9 years ago
@rlober icub-contrib-common
is a metapackage providing cmake helpers for installing user contrib code, so no surprise there is no bin
directory. However, there are still a bunch of products to be installed wherever you decide at cmake configuration time (by means of the CMAKE_INSTALL_PREFIX
var).
Then, as every package, you need to provide an env variable called ICUBcontrib_DIR
pointing at that latter location (unless you choose to go for standard make install
installation), so that all those helpers can be located.
@pattacini
Thank you for the reply. Right now I am on our cluster for Paris02 and we aren't installing anything but rather just pointing to build_x86_64
and build_pc104
. How should I use icub-contrib
in this case?
I'd say you could stick to the same policy then.
Identify a suitable directory for you, something like /usr/local/src/robot/iCubContrib
, and install the package therein, so that you'll end up having the following env variable:
ICUBcontrib_DIR=/usr/local/src/robot/iCubContrib
Don't forget to do also:
YARP_DATA_DIRS=$YARP_DATA_DIRS:$ICUBcontrib_DIR/share/ICUBcontrib
The latter will serve to let YARP locate user contrib contexts.
That is what I did in the first message on this issue however I wasn't able to get it to work.
I think I am going to switch to make install
-ing things for the sake of simplicity with yarp modules.
How are the icub clusters configured at IIT now? Are you still just building the code or are you building and installing?
Well, the way we use it here is as I described before, that is not by pointing to the build
, but rather installing in another directory.
I don't know if for this specific package the build
can be used, actually.
@drdanz any clue on this?
@rlober can we close this issue?
I am just doing a complete re-install of icub software so, moral of the story, go with make install
and avoid headaches.
Thanks for the help guys
So I am trying to compile 'icub-basic-demos' and when I run 'cmake' (for the main CMakeList) I get the following error:
I have followed the 'icub-contrib-common` instructions from here: http://wiki.icub.org/wiki/Linux:Installation_from_sources#Setup_ICUBcontrib_.28optional.29.
What is odd to me is that after I "compile" icub-contrib my build dir only has the following contents:
There is no
bin/
folder or anything. This seems odd.Also, I have set my env variables as follows:
Any suggestions what is happening? BTW:
yarp
/icub-main
are both up to date.