How to include the libdigiapix in Eclipse

I run the example apix-gpio-sample-3 without problems.

I try now to integrate the libdigiapix into my code. I #include but the compiler complain for any functions I used on the lib, saying that I do not have the reference.

I tried by adding the libdigiapix in the property build settings but the build says it cannot find the library…

I cannot make a compare with the example because the make file is completely different.

What Yocto version are you using? Are you building your own yocto images? Try with stock DEY-2.4 images. The library is there by default.

I found the solution. Sorry to be late in the answer.
I added the libdigiapix in properties -> C/C++ Build -> Settings -> Libraries.
Added “digiapix”.
This made it.

1 Like