Closed marcs7 closed 2 years ago
you either need to sudo make install
the library first before compiling the sample, or tell the linker where to find it with -L
, and in both cases use -lcppgpio
to tell the linker to use the library
I've installed the library and added the -lcppgpio
and a new error comes up
Error /usr/lib/gcc/aarch64-linux-gnu/9/../../../../lib/libcppgpio.so: undefined reference to `pthread_create'
Solved added pthread
to linker option in viusal studio
Close issue
When compiling the example code
the following error appear
How can I solve it?