Building v4l4j for Beaglebone black

130 views
Skip to first unread message

Victor Garcia

unread,
Sep 2, 2013, 11:02:25 AM9/2/13
to v4...@googlegroups.com
Hi all,

I am trying to build v4l4j for the Beaglebone black running ubuntu 13.04, but at the moment I have not succes. In fact, I don't know if v4l4j includes support for Beaglebone black, so first of all I would like to be sure about that.

Thank you!

Gilles Gigan

unread,
Sep 2, 2013, 7:15:01 PM9/2/13
to v4...@googlegroups.com
Hi Victor,
v4l4j should build on your beaglebone board, provided you have all the dependencies installed.
What have you tried so far that doesnt work ? Can you please post the output of 'ant clean all'
Gilles


--
You received this message because you are subscribed to the Google Groups "v4l4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v4l4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Victor Garcia

unread,
Sep 3, 2013, 5:04:35 AM9/3/13
to v4...@googlegroups.com
Hi,

the output of 'ant clean all' is:

Buildfile: /home/ubuntu/v4l4j/build.xml

clean:
     [exec] make: Entering directory `/home/ubuntu/v4l4j/libvideo'
     [exec] rm -f v4l2-input.o v4l1-input.o libvideo.o pwc-probe.o gspca-probe.o qc-probe.o fps-param-probe.o v4l1-query.o v4l2-query.o v4l1-tuner.o v4l2-tuner.o palettes.o  libvideo.so libvideo.so.0 test-capture.o dump-capture.o list-caps.o \
     [exec]   ./*.o list-caps test-capture dump-capture version.h ./*~
     [exec] make: Leaving directory `/home/ubuntu/v4l4j/libvideo'
     [exec] make: Entering directory `/home/ubuntu/v4l4j/src'
     [exec] rm -f jpeg.o v4l4j_FrameGrabber.o v4l4j_ImageFormatList.o v4l4j_DeviceInfo.o v4l4j_VideoDevice.o v4l4j_Control.o v4l4j_Tuner.o v4l4j_ResolutionInfo.o v4l4j_FrameInterval.o libv4l4j.so ./*~ jpeg
     [exec] make: Leaving directory `/home/ubuntu/v4l4j/src'
   [delete] Deleting directory /home/ubuntu/v4l4j/classes

init:
    [mkdir] Created dir: /home/ubuntu/v4l4j/classes

jnilib:
     [exec] make: Entering directory `/home/ubuntu/v4l4j/libvideo'
     [exec] cc  -DVER_MAJ=0 -DVER_MIN=9 -O3 -fPIC -I.   -c -o v4l2-input.o v4l2-input.c
     [exec] In file included from v4l2-input.c:32:0:
     [exec] libvideo.h:31:27: fatal error: libv4lconvert.h: No such file or directory
     [exec] compilation terminated.
     [exec] make: *** [v4l2-input.o] Error 1
     [exec] make: Leaving directory `/home/ubuntu/v4l4j/libvideo'

Something else could be helpful for you?

Thanks, 
Victor

Victor Garcia

unread,
Sep 3, 2013, 10:27:15 AM9/3/13
to v4...@googlegroups.com
Solved!!

I had installed libv4l by 'apt-get install libv4l-0', but it doesn't seem to work fine.
I downloaded and compiled it from source (git://git.debian.org/git/collab-maint/libv4l.git) and it works now.

Regards
Reply all
Reply to author
Forward
0 new messages