I want to link YARP with Matlab to run this system. I set up based on this.
First,
I download YARP from github.
Next,
- cmake example/swig
- toggle CREATE_JAVA on
- generate and compile the example SWIG project
I got the following compile error
Macro 'VOCAB' redefined Vocab.h
previous definition of 'VOCAB' yarp.i
Macro 'VOCAB4' redefined Vocab.h
previous definition of 'VOCAB4' yarp.i
Macro 'VOCAB3' redefined Vocab.h
previous definition of 'VOCAB3' yarp.i
Macro 'VOCAB2' redefined Vocab.h
previous definition of 'VOCAB2' yarp.i
Macro 'VOCAB1' redefined Vocab.h
previous definition of 'VOCAB1' yarp.i
My development environment
- windows10
- Matlab R2018a
- Yarp 2.3.72
- jdk 10.0.1
Thank you
I'm not sure if that wiki page is updated, this is the official documentation for using the java bindings on matlab.
Anyway, there are experimental matlab bindings for using YARP in matlab without java, I recommend to try those.