Is MatlabBGL octave compatible?

Asked by David Gleich

Can I use MatlabBGL with the open-source octave system? If so, what works?

Question information

Language:
English Edit question
Status:
Solved
For:
Matlab BGL Edit question
Assignee:
No assignee Edit question
Solved by:
David Gleich
Solved:
Last query:
Last reply:
Revision history for this message
David Gleich (dgleich) said :
#1

Yes, but ...

You'll need to hack the compile script to detect octave.
You'll need to remove -O from the compiler flags and add -DMX_API_VER=0x70300000 -DMWINDEX_MAX=2147483647
You'll need to compile and link against libmbgl-linux-64 and not libmbgl-linux-64-large on 64-bit platforms.
After everything compiles, you'll need to move everything in the private directory to the main matlab-bgl directory.

Further:

The classes @inplace @ipdouble and @ipint32 don't work in Octave.