matrix-io/xc3sprog

Building wants wiringpi.h on a AMD build host

Opened this issue · 1 comments

I don't see anything configurable for the building process....

When building on a Debian 11.1 AMD64 host it stops at:

[ 66%] Building CXX object CMakeFiles/xc3sproglib.dir/iowiringpi.cpp.o /home/me/develop/fpga/xc3sprog/iowiringpi.cpp:3:10: fatal error: wiringPi.h: No such file or directory 3 | #include <wiringPi.h> | ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/xc3sproglib.dir/build.make:441: CMakeFiles/xc3sproglib.dir/iowiringpi.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:212: CMakeFiles/xc3sproglib.dir/all] Error 2 make: *** [Makefile:171: all] Error 2

There is an option to build without WiringPi, it's even currently HEAD of the master branch: 357c420

Use -DUSE_WIRINGPI=OFF when running cmake to disable it