-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Description
For everyone trying to install this on CachyOS:
I tried compiling this on CachyOS (which is based on Arch) https://cachyos.org and I run into some issues, however I managed to get it working.
Here is what I did:
- CachyOS kernel is compiled with clang instead of gcc, so first thing to note is that
makeneeded to be run like this:
make CC=clang CXX=clang++ LD=ld.lld- CachyOS headers do not include <linux/prandom.h> in the <linux/random.h> header (as opposed to the headers found in
linux-headerspackage, and so there was some invalid type error. Tio fix this I just added
#include <linux/prandom.h>in the https://github.com/patjak/facetimehd/blob/master/fthd_ddr.c on line 19.
This way everything went well and the camera is working correctly.
I could create a PR for this but I am not quite sure how to autodetect that clang should be used and how and where set the CC=clang CXX=clang++ LD=ld.lld vars so that they don't need to be typed manually.
Any suggestions?
sonhng97
Metadata
Metadata
Assignees
Labels
No labels