Updated by Andrey Pavlenko about 12 years ago

Hi Dudes,

I'm trying to get openCV run with Java on Ubuntu 10.04.
Solved nearly all problems, but still there are the following issues:

1. Looking for ffmpeg/avformat.h - not found // ' I installed ffmpeg again directly from their site today
2. Looking for sys/videoio.h - not found
and the big one, certainly the consequence of the above:
3. unavailable: androidcamera *java* ocl

I'm dealing with it for half the day now and I've no more ideas.

Could you support me with a hint ?

Thank you !

Lars

<pre>


-- Detected version of GNU GCC: 44 (404)
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- Found apache ant 1.7.1: /usr/bin/ant
--
-- General configuration for OpenCV 2.4.4 =====================================
-- Version control: 2.4.4-beta-110-ge6dd4e8-dirty
--
-- Platform:
-- Host: Linux 2.6.32-41-generic i686
-- CMake: 2.8.0
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: Release
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/c++ (ver 4.4.3)
-- C++ flags (Release): -fPIC -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -DNDEBUG
-- C++ flags (Debug): -fPIC -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O0 -DDEBUG -D_DEBUG -ggdb3
-- C Compiler: /usr/bin/gcc
-- C flags (Release): -fPIC -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG -DNDEBUG
-- C flags (Debug): -fPIC -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -pthread -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -g -O0 -DDEBUG -D_DEBUG -ggdb3
-- Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: YES
--
-- OpenCV modules:
-- To be built: core imgproc flann highgui features2d calib3d ml video objdetect contrib nonfree photo legacy gpu python stitching ts videostab
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: androidcamera java ocl
--
-- GUI:
-- QT 4.x: NO
-- GTK+ 2.x: YES (ver 2.20.1)
-- GThread : YES (ver 2.24.1)
-- GtkGlExt: NO
-- OpenGL support: NO
--
-- Media I/O:
-- ZLib: /usr/lib/libz.so (ver 1.2.3.3)
-- JPEG: /usr/lib/libjpeg.so (ver 62)
-- PNG: /usr/lib/libpng.so (ver 1.2.42)
-- TIFF: /usr/lib/libtiff.so (ver 42 - 3.9.2)
-- JPEG 2000: /usr/lib/libjasper.so (ver 1.900.1)
-- OpenEXR: build (ver 1.7.1)
--
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: YES (ver 2.1.2)
-- FFMPEG: YES
-- codec: YES (ver 52.20.1)
-- format: YES (ver 52.31.0)
-- util: YES (ver 49.15.0)
-- swscale: YES (ver 0.7.1)
-- gentoo-style: YES
-- GStreamer:
-- base: YES (ver 0.10.28)
-- app: YES (ver 0.10.28)
-- video: YES (ver 0.10.28)
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- UniCap: NO
-- UniCap ucil: NO
-- V4L/V4L2: Using libv4l (ver 0.6.4)
-- XIMEA: NO
-- Xine: NO
--
-- Other third-party libraries:
-- Use IPP: NO
-- Use Eigen: NO
-- Use TBB: NO
-- Use OpenMP: NO
-- Use GCD NO
-- Use Concurrency NO
-- Use C=: NO
-- Use Cuda: NO
-- Use OpenCL: NO
--
-- Python:
-- Interpreter: /usr/bin/python2.6 (ver 2.6.5)
-- Libraries: /usr/lib/libpython2.6.so
-- numpy: /usr/lib/python2.6/dist-packages/numpy/core/include (ver 1.3.0)
-- packages path: lib/python2.6/dist-packages
--
-- Java:
-- ant: /usr/bin/ant (ver 1.7.1)
-- JNI: /usr/lib/jvm/java-6-sun/include /usr/lib/jvm/java-6-sun/include/linux /usr/lib/jvm/java-6-sun/include
-- Java tests: YES
--
-- Documentation:
-- Build Documentation: NO
-- Sphinx: NO
-- PdfLaTeX compiler: NO
--
-- Tests and samples:
-- Tests: YES
-- Performance tests: YES
-- C/C++ Examples: NO
--
-- Install path: /usr/local
--
-- cvconfig.h is in: /home/lars/opencv/build
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lars/opencv/build
</pre>

Back