kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.64k stars 252 forks source link

How to build capi? #142

Closed balping closed 1 year ago

balping commented 2 years ago

I'm following the docs and when I run

cmake  -DENABLE_CAPI_BUILD=ON -DCMAKE_BUILD_TYPE=Release ..

I get

CMake Error at CMakeLists.txt:243 (install):
  install TARGETS given target "kfr_capi" which does not exist.

How can I build kfr_capi then?

dancazarin commented 2 years ago

What compiler do you use? KFR requires Clang to build C API. What is the version of KFR?

balping commented 2 years ago

I was trying gcc. Version is 4.2.1

dancazarin commented 1 year ago

Clang is required for C API to provide the best performance.