Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ROBOTOLOGY_USES_OCTAVE on Windows #139

Closed
traversaro opened this issue Nov 22, 2018 · 1 comment
Closed

Support ROBOTOLOGY_USES_OCTAVE on Windows #139

traversaro opened this issue Nov 22, 2018 · 1 comment

Comments

@traversaro
Copy link
Member

This wil probably require some modifications to https://github.com/robotology/ycm/blob/7cc2b755e302b972112ca6b77a6dbce4492d0062/3rdparty/cmake-wiki/FindOctave.cmake .

@traversaro
Copy link
Member Author

traversaro commented Apr 26, 2020

This requires much more then just tweaking the FindOctave.cmake . As of early 2020, Octave plugins use a C++ API to talk to the Octave core libraries, and the default binaries of Octave are compiled with mingw-w64, a compiler toolchain that uses a different C++ ABI (in particular a different mangling) w.r.t. to the MSVC based toolchain that we support on Windows. As far as I know, at the moment it is not possible to compile Octave to have a MSVC-compatible ABI.

To support Octave on Windows, we should support compiling the superbuild (and its dependencies) on Windows against mingw-w64. This may be doable (especially now that vcpkg support mingw-w64 triplets, see microsoft/vcpkg#9137), but it is not planned for the future. For the moment I would just document that ROBOTOLOGY_USES_OCTAVE is not supported on Windows, and link to this issue for further explanation. If someone is interested in getting ROBOTOLOGY_USES_OCTAVE to work on Windows, feel free to comment on this issue so that we can re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant