Open KristijanZic opened 3 years ago
Same on fedora
And on NixOS:
In file included from /build/source/src/gphoto-udev.c:1:
/nix/store/xhvmfaq5b4jk2640l1xrzgjs7z2vri95-obs-studio-26.1.2/include/obs/obs-internal.h:39:10: fatal error: caption/caption.h: No such file or directory
39 | #include <caption/caption.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
Same on Arch and Manjaro
Install libcaption
to fix the issue. Either from here, or use AUR on Arch and Manjaro.
Workaround assuming you have obs-studio source copied with git clone --recursive https://github.com/obsproject/obs-studio.git
) in the same directory as obs-gphoto
:
cd src/
ln -s ../../obs-studio/deps/libcaption/caption
I've tried building it on Ubuntu 20.04 and it errored out with this: