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

compilation error, YUV420toYUV444 function is missing #13

Closed
nazikus opened this issue Nov 3, 2018 · 1 comment
Closed

compilation error, YUV420toYUV444 function is missing #13

nazikus opened this issue Nov 3, 2018 · 1 comment

Comments

@nazikus
Copy link

nazikus commented Nov 3, 2018

compilation error:

$ gcc v4l2grab.c -o v4l2grab -Wall -ljpeg -lv4l2 -DIO_READ -DIO_MMAP -DIO_USERPTR

/tmp/user/1000/ccIvliiI.o: In function `imageProcess':
v4l2grab.c:(.text+0x374): undefined reference to `YUV420toYUV444'
collect2: error: ld returned 1 exit status

Having gcc v7.3 and following v4l packages installed:

$ apt list --installed | grep v4l

libv4l-0/bionic,now 1.14.2-1 amd64 [installed]
libv4l-dev/bionic,now 1.14.2-1 amd64 [installed]
libv4l2rds0/bionic,now 1.14.2-1 amd64 [installed]
libv4lconvert0/bionic,now 1.14.2-1 amd64 [installed]
v4l-conf/bionic,now 3.103-4build1 amd64 [installed]
v4l-utils/bionic,now 1.14.2-1 amd64 [installed]
v4l2loopback-dkms/bionic,bionic,now 0.10.0-1ubuntu1 all [installed]
v4l2loopback-source/bionic,bionic,now 0.10.0-1ubuntu1 all [installed]
v4l2loopback-utils/bionic,now 0.10.0-1ubuntu1 amd64 [installed]
v4l2ucp/bionic,now 2.0.2-4build1 amd64 [installed]
@twam
Copy link
Owner

twam commented Nov 4, 2018

YUV420toYUV444 is defined in yuv.c which you need to compile and link as well. Please follow the instructions on https://github.com/twam/v4l2grab/wiki/Installation

@twam twam closed this as completed Nov 4, 2018
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