Solved gpiod.h file not found
-
I have a Qt project and it runs good. Now I did a fresh Linux and Qt install on Raspberry Pi .
When I open the project I get - gpiod.h file not found.
So I do - sudo apt-get install gpiod libgpiod-dev
Seems like it installed but the error still exists. -
@jenya7 said in gpiod.h file not found:
gpiod.h file not found.
And have you searched for that file? Where is it?
Do you compile on the PI or do you cross-compile from your workstation?
Regards
-
@aha_1980 said in gpiod.h file not found:
@jenya7 said in gpiod.h file not found:
gpiod.h file not found.
And have you searched for that file? Where is it?
Do you compile on the PI or do you cross-compile from your workstation?
Regards
I compile on the target. On the previous Qt5.x version it worked.
And I have in my *.pro - LIBS += lgpiodSorry. It was temporary connection loss. It happens sometimes on our server.
-
Hi,
As @aha_1980, did you look for that file on your system ?
Maybe the include folder has moved so you either have to update yourINCLUDEPATH
variable or use pkg-config if that library development package provides the necessary files for that.