Dear Toradex,
I cannot compile a C object file for the Colibri IMX6 that includes the library gpiod.h: no such file or directory. The toolchain from the quick-start guide is sourced and gpiod is installed using the package manager (apt) in Ubuntu (the host).
This is the command for compiling the code:
${CC} test_program.c -o test_program -lgpiod
And as output I get:
fatal error: gpiod.h: No such file or directory
#include <gpiod.h>
^~~~~~~~~
compilation terminated.
In the gcc command it’s specific library is also linked using “-lgpiod” like this, and works for the host machine.
$gcc test_program.c -o test_program -lgpiod
SoM: Colibri iMX6ULL 512MB IT
Carrier: Colobri Evaluation Board
OS: Toradex Embedded Linux Reference Multimedia Image