cross compile opencv for Beagle

hi everybody,

I am struggling to compile opencv2.0 on my host computer by using codesourcery cross toolchain. But i always get error what i change. I use configure script to create make file.
MY COMMAND is

sudo ./configure --build=i686-linux --host=arm-linux --target=arm-linux --prefix=/home/orkun/cross/OpenCV-2.0.0/opencvcross --disable-shared --enable-static --without-imageio --without-carbon --without-quicktime --without-python --without-swig --without-v4l --disable-apps --disable-dependency-tracking CC=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc CXX=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ CPPFLAGS=-I/home/orkun/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/include CXXFLAGS="-fsigned-char -O0 -pipe" LD=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ld CPP=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-cpp CXXCPP=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-cpp AR=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar RANLIB=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ranlib NM=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-nm STRIP=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-strip AS=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as

How can i solve this problem? Is there any web/wiki page explain cross compile opencv for beagleboard. (I set analogy this from gumstick wiki).

thanks everyone

ahmet orkun tomruk wrote:

hi everybody,

I am struggling to compile opencv2.0 on my host computer by using
codesourcery cross toolchain. But i always get error what i change. I
use configure script to create make file.
MY COMMAND is

sudo ./configure --build=i686-linux --host=arm-linux --target=arm-linux
--prefix=/home/orkun/cross/OpenCV-2.0.0/opencvcross --disable-shared
--enable-static --without-imageio --without-carbon --without-quicktime
--without-python --without-swig --without-v4l --disable-apps
--disable-dependency-tracking
CC=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
CXX=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++
CPPFLAGS=-I/home/orkun/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/include
CXXFLAGS="-fsigned-char -O0 -pipe"
  LD=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ld CPP=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-cpp CXXCPP=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-cpp AR=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar RANLIB=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ranlib NM=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-nm STRIP=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-strip AS=/home/orkun/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as

How can i solve this problem? Is there any web/wiki page explain cross
compile opencv for beagleboard. (I set analogy this from gumstick wiki).

1) it could help to also mention the actual "error" :slight_smile:

2) opencv is already supported by oe/angstrom, so why not use oe to build it
or just grab an image with opencv inside from the online builder....

thanks for your attention, you are right.

  1. after run ./configure everythink okey. but when I command “sudo make”. After some compiling(about 3 minute later), it gives this error:http://pastebin.com/EEs2VSYA

2)I use ubuntu in my beagle with compiling rootstock. Is oe/angstromrequired or supplied it for ubuntu?

thanks