eclipse - Linking port audio library to C project -


i'm trying use portaudio library start build audio programs in c. install have on ubuntu 16 , i've followed steps installing on linux. far i'm aware i've installed correctly using on here (including alsa).

i've managed libportaudio.a , portaudio.h file copied workspace file i'm using on eclipse. i'm using simple c program test have access library when have both files in workspace file references "undefined".

are there other ways need link libraries project? apologies if simple task, relatively new matter.

for reference here program i'm testing with:

#include <stdio.h> #include <stdlib.h> #include "portaudio.h"  int main(void){   paerror err;   err = pa_initialize();   printf("success!");   return 0; } 

thanks in advance!


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

java - The path to the driver executable must be set by the webdriver.gecko.driver system property; -