Question / Help HELLO Please Help for Run OBS on Wheezy debian

Sunniboi

New Member
Hallo Wenn Du Deutsch kannst schreibe bitte in Deutsch!

Other People please write in Englisch


If everything goes according to the error elimination. If the first Debian version be there with instructions Howto

http://pastebin.com/Ts0NrR5A



/obs-studio/plugins/linux-v4l2/v4l2-input.c: In function ‘v4l2_device_list’:
/obs-studio/plugins/linux-v4l2/v4l2-input.c:301:36: error: ‘V4L2_CAP_DEVICE_CAPS’ undeclared (first use in this function)
/obs-studio/plugins/linux-v4l2/v4l2-input.c:301:36: note: each undeclared identifier is reported only once for each function it appears in
/obs-studio/plugins/linux-v4l2/v4l2-input.c:302:15: error: ‘struct v4l2_capability’ has no member named ‘device_caps’
/obs-studio/plugins/linux-v4l2/v4l2-input.c: In function ‘format_selected’:
/obs-studio/plugins/linux-v4l2/v4l2-input.c:599:28: error: ‘V4L2_IN_CAP_DV_TIMINGS’ undeclared (first use in this function)
/obs-studio/plugins/linux-v4l2/v4l2-input.c: In function ‘v4l2_init’:
/obs-studio/plugins/linux-v4l2/v4l2-input.c:831:19: error: ‘V4L2_IN_CAP_DV_TIMINGS’ undeclared (first use in this function)
make[2]: *** [plugins/linux-v4l2/CMakeFiles/linux-v4l2.dir/v4l2-input.c.o] Fehler 1
make[1]: *** [plugins/linux-v4l2/CMakeFiles/linux-v4l2.dir/all] Fehler 2
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
You need a more up-to-date version of the v4l package I believe.
 

Sunniboi

New Member
I have replaced the files with Vim and deletes the old. However, there were errors! The problem can be solved?

I have / build even deleted everything and made new mkdir build && cd build
cmake -DUNIX_STRUCTURE = 1 -DCMAKE_INSTALL_PREFIX = / usr

make

Fixed not help? on https://github.com/jp9000/obs-studio/pull/419

Scanning dependencies of target linux-v4l2
[ 74%] Building C object plugins/linux-v4l2/CMakeFiles/linux-v4l2.dir/linux-v4l2.c.o
[ 75%] Building C object plugins/linux-v4l2/CMakeFiles/linux-v4l2.dir/v4l2-input.c.o
/obs-studio/plugins/linux-v4l2/v4l2-input.c: In function ‘format_selected’:
/obs-studio/plugins/linux-v4l2/v4l2-input.c:505:27: error: ‘V4L2_IN_CAP_DV_TIMINGS’ undeclared (first use in this function)
/obs-studio/plugins/linux-v4l2/v4l2-input.c:505:27: note: each undeclared identifier is reported only once for each function it appears in
/obs-studio/plugins/linux-v4l2/v4l2-input.c: In function ‘v4l2_init’:
/obs-studio/plugins/linux-v4l2/v4l2-input.c:691:18: error: ‘V4L2_IN_CAP_DV_TIMINGS’ undeclared (first use in this function)
/obs-studio/plugins/linux-v4l2/v4l2-input.c: At top level:
/obs-studio/plugins/linux-v4l2/v4l2-input.c:798:5: error: unknown type name ‘Status’
/obs-studio/plugins/linux-v4l2/v4l2-input.c:800:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Training’
/obs-studio/plugins/linux-v4l2/v4l2-input.c:800:5: error: unknown type name ‘Training’
make[2]: *** [plugins/linux-v4l2/CMakeFiles/linux-v4l2.dir/v4l2-input.c.o] Fehler 1
make[1]: *** [plugins/linux-v4l2/CMakeFiles/linux-v4l2.dir/all] Fehler 2
make: *** [all] Fehler 2
 
Last edited:

leonhard

Developer
It seems like you may have missed a change there. The pr is merged to master now, please make sure you are on at least 1f3b747 and try again.
 
Top