> As I am following step 3 in http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples
>
> So I did
>
> metrans@metrans:~/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/opencv-2.3.1-r3$ sed
> -i '/^CXX_FLAGS/s:$:
> -I<home/metrans/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/include:g'
> opencv/modules/core/CMakeFiles/opencv_core.dir/flags.make
>
> metrans@metrans:~/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/opencv-2.3.1-r3$ sed
> -i '/^CXX_FLAGS/s:$:
> -I<home/metrans/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/lib/cmem.a470MV:g'
> opencv/modules/core/CMakeFiles/opencv_core.dir/link.txt
>
> bitbake opencv
>
> This time I got different error
> http://pastebin.com/TyBQ6q2D
which says:
| /bin/sh: cannot open
home/metrans/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr/share/ti/ti-linuxutils-tree/packages/ti/sdo/linuxutils/cmem/include:
No such file
should be easy to check if that is the correct place where you
have linuxutils...
I would suggest you use /home/... and not home/...
I would suggest sticking to http://www.angstrom-distribution.org/building-angstrom and build opencv without cmem to start with. Or just use the opencv binaries..
> Vladimir,
> I tried to use /home/... . But I am ended up with this error http://pastebin.com/nHSBHab1. I don't know what's going
> wrong ? Why I am getting following errors
>
> ../../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'
>
> Does anybody have solution for this ?
the instructions you are following are almost 2 years old, so they could
be slightly outdated or stuff could have changed. Unless somebody else
sites down and tries to re-do what you did, It's hard to tell what
is going wrong in your case. Otherwise, the usual guidelines about
"making stuff compile" apply here, but please understand there is no
definite guide.
As for the error: undefined reference to `CMEM_free'
it looks like you are not linking against the CMEM library.
Yes, I'm having the same error when I try to compile onboard omapfbplay
with cmem option enabled. The cmem kernel module is installed and
running but I can't find a trace of the cmem shared library, nor in my
system neither in the cmem bitbake recipe (that I've used to build the
module)
Vladimir,
okay. I got your point. Can I skip Cmem option ? Does it affect next steps ?
@ Christophe
What you did , if you couldn't fine CMEM shared library ? Did you disable Cmem option ? How did you get rid off this error message ?