icub-main now builds dynamic plugins only #33
alecive
started this conversation in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
icub-main
repository is now always buildingicubmod
devices as "plugins" instead of "static libraries". As a consequence, theicubmod
library and theicubmoddev
executable are now empty wrappers and should be considered deprecated. Even though your executables will still build and everything should work without touching the code, you are recommended to start doing the following changes:icubmod
library to your executables and libraries (inCMakeLists.txt
files)YARP_DECLARE_PLUGINS(icubmod)
YARP_REGISTER_PLUGINS(icubmod)
YARP_DECLARE_DEVICES(icubmod)
YARP_REGISTER_DEVICES(icubmod)
icubmoddev
withyarpdev
in your modules.Also ensure that on your system the plugins can be found:
/usr
or/usr/local
): nothing to do, it should work out of the box./opt/robotology
):YARP_DATA_DIRS
should contain/opt/robotology/share/yarp
, OR extendXDG_DATA_DIRS
to contain/opt/robotology/share
(YARP_DATA_DIRS
should not be set in this case)./opt/yarp
and/opt/iCub
):YARP_DATA_DIRS
should contain both/opt/yarp/share/yarp
, and/opt/iCub/share/icub
OR extendXDG_DATA_DIRS
to contain both/opt/yarp/share
and/opt/iCub/share
(YARP_DATA_DIRS
should not be set in this case).$YARP_DIR
and$ICUB_DIR
):YARP_DATA_DIRS
should contain$YARP_DIR
and$ICUB_DIR
.you can use the
yarp plugin
command to check whether the plugins areworking correctly.
Let us know if you have any problem.
Beta Was this translation helpful? Give feedback.
All reactions