dougbinks / enkiTS

A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.
zlib License
1.74k stars 145 forks source link

Linking with C #79

Closed ib00 closed 1 year ago

ib00 commented 1 year ago

I am obviously missing something very obvious, but can enkiTS be linked with C?

Everything compiles fine with C compiler, but I can only link with C++ compiler.

What am I missing?

ib00 commented 1 year ago

To answer my own question:

The library must be compiled and linked as a shared library and not as a static library.