CC++ interface


Precompiled platform-dependent shared and static libraries are available on Bintray. We here assume that the user uncompressed each archive to OSQP_FOLDER.

Each archive contains static OSQP_FOLDER/lib/libosqpstatic.a and shared OSQP_FOLER/lib/libosqp.ext libraries to be used to interface OSQP to any C/C++ software. The required include files can be found in OSQP_FOLDER/include.

Simply compile with the linker option with -LOSQP_FOLDER/lib and -losqp or -losqpstatic.


The OSQP libraries can also be compiled from sources. For more details see Build from sources.