Reference to Salaboy's great tutorial
http://salaboy.com/2013/06/14/using-javacv-in-the-raspberry-pi-linux-arm/
Hardware requirements
A Raspberry Pi <<revision memory picture>>
A 16 GB 20Mb/s SD card was purchased and used for the build after spending a day+ waiting for a compile to run on a usb drive.
Operating System
wheezy - hard point (link)
pi@raspberrypi ~/build/javacv/javacpp $ uname -aLinux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux
Build essentials - apt-get install (all necessary) - maven
OpenCV
cd ~
mkdir build
cb build
mkdir opencv
cd opencv
wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4…
tar zxvf opencv-2.4.6.1.tar.gz
cd opencv-2.4.6.1/
mkdir release
cd release$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_PYTHON_SUPPORT=OFF -D BUILD_EXAMPLES=ON -D WITH_GTK=ON -D WITH_UNICAP=ON -D WITH_V4L=ON ..
References
JavaCV
JavaCV really consists of 2 projects JavaCV and JavaCPP.
directory structure
./build
./build/opencv
./build/javacv
./build/javacv/javacv
./build/javacv/javapp
JavaCPP
The build options for JavaCPP need to change. Current build options cater to arm processors in smartphones, and to the most common settings
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=11629
vi /home/pi/build/javacv/javacpp/src/main/resources/com/googlecode/javacpp/properties/android-arm.properties
I changed the following configuration properties to force Raspberry Pi's suggested compiling settings
cd ~/build/javacv/javacpp
mvn clean install -Dplatform.name=linux-arm
JavaCV
cd ~/build/javacv/javacv
mvn clean install -Dplatform.name=linux-arm
References
References to other builds
Grog...you changed
Grog...you changed the android-arm.properties but you compiled for linux-arm mvn clean install -Dplatform.name=linux-arm
:( so maybe you need to change the linux-arm.properties instead :(
I tried following salaboy
I tried following salaboy instructions...
JavaCPP is sucessfully compiled..
JavaCV gives me this error :
soft or hard baked ?
When building javacv this is what I'm getting for the output ..
We want mfloat-abi=hard for hard floating point support