Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5744

C/C++ • Re: libgpiod compilation problems.

$
0
0
try -lgpiod -lpthread -lgpiodcxx

I just use these you are not really using any of the c++

Here is a cmake snippet

Code:

# Link librariestarget_link_libraries(${PROJECT_NAME}        pthread        gpiod        gpiodcxx)

Statistics: Posted by foxsquirrel — Wed Aug 28, 2024 11:45 pm



Viewing all articles
Browse latest Browse all 5744

Trending Articles