t0mac0 / camshot

Automatically exported from code.google.com/p/camshot
0 stars 0 forks source link

compile problem Linux photon 2.6.9-1.667 #1 Tue Nov 2 14:41:31 EST 2004 i686 i686 i386 GNU/Linux #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
 svn checkout http://camshot.googlecode.com/svn/trunk/ camshot-read-only
A  camshot-read-only/shmem.h
A  camshot-read-only/image.c
A  camshot-read-only/main.c
A  camshot-read-only/arguments.c
A  camshot-read-only/image.h
A  camshot-read-only/camera.c
A  camshot-read-only/shmem_test.c
A  camshot-read-only/shmem.c
A  camshot-read-only/arguments.h
A  camshot-read-only/Makefile
A  camshot-read-only/camera.h
Checked out revision 12.
[root@photon build]# [root@photon camshot-read-only]# make
Compiling main.c
main.c:36:29: linux/videodev2.h: No such file or directory
main.c: In function `main':
main.c:140: error: invalid use of undefined type `struct v4l2_format'
main.c:141: error: invalid use of undefined type `struct v4l2_format'
main.c: In function `capture_func':
main.c:310: error: `V4L2_PIX_FMT_YUYV' undeclared (first use in this function)
main.c:310: error: (Each undeclared identifier is reported only once
main.c:310: error: for each function it appears in.)
main.c: In function `stream_func':
main.c:399: error: `V4L2_PIX_FMT_YUYV' undeclared (first use in this function)
make: *** [main.o] Error 1

Original issue reported on code.google.com by nikolay....@gmail.com on 6 May 2014 at 3:15

GoogleCodeExporter commented 9 years ago
Hi Nikolay,

do you have video for linux support compiled in your kernel? It looks like the 
support is missing (linux/videodev2.h: No such file or directory). You will 
need to recompile your kernel and then all should compile fine.

Regards,
Gabriel

Original comment by gabriel....@gmail.com on 6 May 2014 at 3:57