Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building wants wiringpi.h on a AMD build host #34

Open
richardklingler opened this issue Nov 14, 2021 · 1 comment
Open

Building wants wiringpi.h on a AMD build host #34

richardklingler opened this issue Nov 14, 2021 · 1 comment

Comments

@richardklingler
Copy link

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

@LittleFox94
Copy link

LittleFox94 commented Jan 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants