dss_capi icon indicating copy to clipboard operation
dss_capi copied to clipboard

Compiling as static library

Open felipemarkson opened this issue 2 years ago • 10 comments

Hi Paulo!

Is there a way to compile the API as a static library?

Or, at less, compiling using KLUSolver as a static library?

I've tried to do this, but I'm not familiar with fpc or any related to Pascal, actually.

I'm trying to create a version of this API (without COM compatible needs) in Rust for thread-safe operations, but the dynamic library is causing some memory issues, especially with the API KLUSolver dependency (I've been using your version).

I'm trying to avoid using a mutex. But if the static library is not possible, maybe it is the only solution...

felipemarkson avatar May 02 '22 15:05 felipemarkson