Closed traversaro closed 4 years ago
See https://github.com/xEnVrE/robots-modules/blob/38aaa2beeee1e74ca84611d055cc595aacf25a92/src/ICUB/ExtrinsicCalibration/Test/CMakeLists.txt#L32 for an example on how to link YARP::YARP_eigen
.
Shouldn't this be available in ${YARP_LIBRARIES}?
From what I noted, a YARP installation using robotology-superbuild was creating an include/yarp/Eigen
folder, whereas in iCubGenova02 there was no such installation.
Shouldn't this be available in ${YARP_LIBRARIES}?
I am not sure, I guess in any case you need to explicitly ask to it via https://github.com/xEnVrE/robots-modules/blob/38aaa2beeee1e74ca84611d055cc595aacf25a92/src/ICUB/ExtrinsicCalibration/Test/CMakeLists.txt#L16 .
whereas in iCubGenova02 there was no such installation.
Using YARP from the build directory is not widespread nowadays, but it still works fine even without any installation.
Thank you @lrapetti.
74 has been opened. @lrapetti told he would test this PR on iCubGenova02.
Thank you @lrapetti.
I have tested the code you commited using YARP from the build directory and it fixes the compilation issue
Great, thanks a lot @lrapetti !!
Compiling the baseEstimatorV1 device against a YARP used from the build directory result in the following error:
this happens because
baseEstimatorV1
does not correctly links toYARP::YARP_eigen
.