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

Incomplete QDLDL installed headers prevent manual compilation of mex #27

Open
goulart-paul opened this issue Sep 1, 2020 · 2 comments

Comments

@goulart-paul
Copy link
Collaborator

This issue only relates to manual building of the OSQP mex interface. It does not affect the recommended build method using make_osqp.m. See #26 for the origin of this issue.

When installing OSQP from source, the QDLDL build does not export <includedir>/qdldl/qdldl_interface.h. This causes manual compilation of the OSQP mex interface to fail when using only the standard OSQP installed binaries and include paths.

Solution : we should either export this header as part of a standard install, or (preferably) make a better build option for Octave so that this is not necessary.

@imciner2
Copy link
Member

imciner2 commented Sep 2, 2020

Hmm, according to the comment that header is only needed for the codegen component. I was wanting to move the code generation into the C library itself for v1 (so that more interfaces could do codegen), so that might eventually solve the issue.

@traversaro
Copy link
Contributor

If anyone is interested in the "compilation of just the matlab mex against an externally provided osqp", we added a CMakeLists for that use case in ami-iit/osqp-matlab-cmake-buildsystem#1 , even if at the moment it does not support codegen as we are not using it. If there is interest I would be happy to contribute it in this repo, otherwise we can continue to mantain it in that repo.

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

3 participants