Dsplib / libdspl-2.0

libdspl-2.0 is opensource cross-platform digital signal processing algorithm library, written in C language.
GNU Lesser General Public License v3.0
91 stars 27 forks source link

How to build using make #7

Open Argonghost opened 6 months ago

Argonghost commented 6 months ago

Hi,

How do i build for linux?

alexey-klimov commented 6 months ago

Hi, Just run make command inside project dir, shared library will be build inside _release folder. What is the problem?

Argonghost commented 6 months ago

@alexey-klimov

Hi! Built successfully, how do i link? gcc xxxx.c -o xxxx -ldspl doesnt work

alexey-klimov commented 6 months ago

Try gcc xxxx.c dspl.c -o xxxx -ldspl -Lpath-to-library -Ipath-to-library-header -DLINUX_OS -lm -ldl