I am trying to use libgpiod within a Qt project which cross-compiles for an i.MX8M processor. When I add the lines below to local.conf in the Yocto project, I get the necessary files created in the SDK.
IMAGE_INSTALL_append = " libgpiod libgpiod-dev libgpiod-tools"
TOOLCHAIN_HOST_TASK_append = " nativesdk-libgpiod"
TOOLCHAIN_HOST_TASK_append = " nativesdk-libgpiod-dev"
TOOLCHAIN_HOST_TASK_append = " nativesdk-libgpiod-tools"
I get an error though when building the Qt project:
"gnu/stubs-32.h: No such file or directory"
Any idea why this library is looking for a 32 bit file?
Any suggestions will be appreciated.