Do I need to bitbake opencv, if I already have working opencv on my system?

Hello All
I already have manually installed & working Opencv 2.3.1 on my ubuntu 11.04 and I am following Opencv-DSP Accelration tutorial which have step of bitbake Opencv.
When I did ``bitbake -f -c configure opencv ,new opencv 2.3.1 folder created. But when I did bitbake opencv, I am getting errors. Is it because the system already have opencv 2.3.1 ?
DO I need to Uninstall first copy of opencv 2.3.1 to run bitbkae opencv successfully ? if bitbake opencv giving me error, Can I manually make & make install in new Opencv 2.3.1 folder to build ?

error link http://pastebin.com/xWy2n4u4
Opencv-DSP Accelration tutorial link http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples

please reply me.

Thanks,
Dhut

It looks like you are missing some dependencies, I think ti-linuxutils in particular.

Try this sequence:
   % bitbake ti-linuxutils
   % bitbake opencv

Hi Gary,
I tried to run bitbake ti-linuxutils.But I am ended up with folloowing error
http://pastebin.com/KRgfjyPq

looks like libacl packages are missing. What do you suggest ?

Hello Gary,
I solved that problem by sudo apt-get install libacl1-dev

find new generated libacl.la, libacl.a, libacl.so.1 and other libacl related files. Copy all these files and paste into the folder where system was not able to find these files.

So bitbake ti-linuxutils built successfully.

I am running bitbake opencv right now. I will let you know progress. Thanks for direction.

Hello All
I already have manually installed & working Opencv 2.3.1 on my ubuntu 11.04 and I am following Opencv-DSP Accelration tutorial which have step of bitbake Opencv.
When I did bitbake -f -c configure opencv ,new opencv 2.3.1 folder created. But when I did bitbake opencv, I am getting errors. Is it because the system already have opencv 2.3.1 ?
DO I need to Uninstall first copy of opencv 2.3.1 to run bitbkae opencv successfully ? if bitbake opencv giving me error, Can I manually make & make install in new Opencv 2.3.1
folder to build ?

error link http://pastebin.com/xWy2n4u4
Opencv-DSP Accelration tutorial link http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples

It looks like you are missing some dependencies, I think ti-linuxutils in particular.

Try this sequence:
% bitbake ti-linuxutils
% bitbake opencv

Hi Gary,
I tried to run bitbake ti-linuxutils.But I am ended up with folloowing error
http://pastebin.com/KRgfjyPq

looks like libacl packages are missing. What do you suggest ?

Hello Gary,
I solved that problem by sudo apt-get install libacl1-dev

find new generated libacl.la, libacl.a, libacl.so.1 and other libacl related files. Copy all these files and paste into the folder where system was not able to find these files.

So bitbake ti-linuxutils built successfully.

I am running bitbake opencv right now. I will let you know progress. Thanks for direction.

Hello Gary,
When I did run bitbake Opencv, I got following errors. I tried most of options but giving same error.

…/…/lib/libopencv_core.so.2.3.1: undefined reference to CMEM_init' ../../lib/libopencv_core.so.2.3.1: undefined reference to CMEM_alloc’
…/…/lib/libopencv_core.so.2.3.1: undefined reference to CMEM_free' collect2: ld returned 1 exit status make[2]: *** [bin/opencv_test_core] Error 1 make[2]: Leaving directory /home/metrans/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/opencv-2.3.1-r3/opencv’
make[1]: *** [modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2

This is details of error.

http://pastebin.com/vdKyDSXs

Anybody have any idea whats going wrong ? I will appreciate your help.

Thanks,
Dhut