svn co http://v4l4j.googlecode.com/svn/v4l4j/trunk v4l4j-trunk
cd v4l4j-trunk/
export JDK_HOME=/usr/lib/jvm/java-7-openjdk-armhf/
export LIBPIXFC=pixfc-sse/libpixfc-sse-armv6l-hardfp.a
ant clean all
s.c
[exec] cc 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 -Wl,-soname,libvideo.so.0 \
[exec] -lm -lrt -shared -ljpeg -lv4lconvert -o libvideo.so.0
[exec] ln -f -s libvideo.so.0 libvideo.so
[exec] make: Leaving directory `/home/pi/dev/v4l4j-trunk/libvideo'
[exec] make: Entering directory `/home/pi/dev/v4l4j-trunk/src'
[exec] cc -I/usr/lib/jvm/java-7-openjdk-armhf//include -I/usr/lib/jvm/java-7-openjdk-armhf//include/linux/ -I../libvideo -I../libvideo/pixfc-sse -I. -O3 -fPIC -fno-stack-protector -c -o jpeg.o jpeg.c
[exec] In file included from jpeg.c:24:0:
[exec] common.h:32:23: fatal error: pixfc-sse.h: No such file or directory
[exec] compilation terminated.
[exec] make: Leaving directory `/home/pi/dev/v4l4j-trunk/src'
[exec] make: *** [jpeg.o] Error 1
BUILD FAILED
/home/pi/dev/v4l4j-trunk/build.xml:92: exec returned: 2
Total time: 1 minute 31 seconds
...
#include <stdio.h>
#include <jpeglib.h>
#include "libvideo.h"
#include "pixfc-sse.h"
...
sudo LIBPIXFC="${LIBPIXFC}" ant install
Buildfile: /home/pi/dev/v4l4j-trunk/build.xml
install-libvideo:
[exec] make: Entering directory `/home/pi/dev/v4l4j-trunk/libvideo'
[exec] mkdir -p /usr/include
[exec] install -p -m 644 libvideo.h libvideo-err.h libvideo-palettes.h /usr/include
[exec] mkdir -p /usr/lib
[exec] install -m 755 libvideo.so.0 /usr/lib
[exec] cd /usr/lib && ln -f -s libvideo.so.0 libvideo.so
[exec] make: Leaving directory `/home/pi/dev/v4l4j-trunk/libvideo'
install-v4l4j:
[mkdir] Created dir: /usr/lib/jni
BUILD FAILED
/home/pi/dev/v4l4j-trunk/build.xml:115: Warning: Could not find file /home/pi/dev/v4l4j-trunk/libv4l4j.so to copy.
Total time: 12 seconds
--Multiverse--
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.
pi@raspberrypi ~/dev/v4l4j-trunk $ LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so ant deviceInfo
Buildfile: /home/pi/dev/v4l4j-trunk/build.xml
deviceInfo:
[java] [ libvideo.c:68 ] Using libvideo version 0.9-
libvideo_r494
[java] name: Camera Board OV5647
[java] Device file: /dev/video0
[java] Supported formats:
[java] MJPEG - 48 - no resolution information
[java] Formats that can be RGB24-converted:
[java] MJPEG - 48 - no resolution information
[java] Formats that can be BGR24-converted:
[java] MJPEG - 48 - no resolution information
[java] Formats that can be YUV420-converted:
[java] MJPEG - 48 - no resolution information
[java] Formats that can be YVU420-converted:
[java] MJPEG - 48 - no resolution information
[java] Formats that can be JPEG-encoded:
[java] MJPEG - 48 - no resolution information
[java] RGB24 - 7 - no resolution information
[java] BGR24 - 6 - no resolution information
[java] YUV420 - 31 - no resolution information
[java] Inputs:
[java] Name: default
[java] Type: 2(Camera)
[java] Index: 0
[java] Supported standards:
[java] 0(None/Webcam)
BUILD SUCCESSFUL
Total time: 15 seconds