Closed gabrielenava closed 7 years ago
Unable to reproduce on my machine, are you using the branch devel
of both YARP and yarp-matlab-bindings ?
Yes I'm in devel
in both repos. I have everything installed using codyco-superbuild
.
Quick fix: set the YARP cmake configuration variable YARP_WRAP_STL_STRING
to ON
. The default for this variable has been changed in https://github.com/robotology/yarp/pull/1406 .
I could push the bindings that work with YARP_WRAP_STL_STRING
to OFF
, but this would break the compilation for all the users that still have YARP_WRAP_STL_STRING
set to ON
in their cache. : (
It is compiling, so this workaround fixed the issue for now.
@drdanz This is a bit of an edge case, and probably is not worth changing the decision taken for YARP https://github.com/robotology/yarp/pull/1406#issuecomment-336433473 , but the fact that *nix and Windows use different default settings for YARP_WRAP_STL_STRING make distributing the generated bindings for matlab extremly cumbersome.
Pushed two new commits on the devel
branch:
This means that from now on if you are using the devel
branch, you will need to have the YARP_WRAP_STL_STRING
of YARP set to OFF (the default for new YARP builds on *nix, but on old build and on Windows it is necessary to specify it explicitly).
Solved by the commits mentioned in https://github.com/robotology-playground/yarp-matlab-bindings/issues/15#issuecomment-339272544 , see https://github.com/robotology-playground/yarp-matlab-bindings/issues/17 for more info.
Tested, I confirm it works flawlessly now.
I tried to compile the
devel
branch of this repo. I got the following error: