Hi Adnan
first of all sory for late reply
i did some steps more but still have problem
1-i cross compiled and installed whole opencv libraries to my desktop
pc
When i put these libraries to eclipse with cross compiling settings i
faced some problem
errors are
**** Build of configuration bb_debug for project Copy of
baran_beagle_cplas ****
make all
Building target: baran_beagle_cplas
Invoking: GCC C++ Linker
/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gcc -L/usr/
local/lib -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/lib -
o"baran_beagle_cplas" ./baran_beagle_cplas.o -lopencv_core -
lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -
lopencv_features2d -lopencv_objdetect -lopencv_contrib -lopencv_legacy
-lopencv_flann -lopencv_calib3d
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_core.so, needed by /usr/local/lib/libopencv_imgproc.so,
not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_imgproc.so, needed by /usr/local/lib/
libopencv_highgui.so, not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_highgui.so, needed by /usr/local/lib/
libopencv_features2d.so, not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_flann.so, needed by /usr/local/lib/
libopencv_features2d.so, not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_features2d.so, needed by /usr/local/lib/
libopencv_objdetect.so, not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_calib3d.so, needed by /usr/local/lib/
libopencv_objdetect.so, not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_ml.so, needed by /usr/local/lib/libopencv_contrib.so,
not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_video.so, needed by /usr/local/lib/libopencv_contrib.so,
not found (try using -rpath or -rpath-link)
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/
4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: ../../
lib/libopencv_objdetect.so, needed by /usr/local/lib/
libopencv_contrib.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libopencv_core.so: undefined reference to
`pthread_key_create'
/usr/local/lib/libopencv_core.so: undefined reference to
`pthread_getspecific'
/usr/local/lib/libopencv_core.so: undefined reference to
`pthread_once'
/usr/local/lib/libopencv_core.so: undefined reference to
`clock_gettime'
/usr/local/lib/libopencv_core.so: undefined reference to
`pthread_setspecific'
collect2: ld returned 1 exit status
make: *** [baran_beagle_cplas] Error 1
Can somebody say the what the problem is please because i can see that
all the cross-compiled libraries can be found in usr/local/lib :(
by the way thanx yegor for your reply i will look at it and report the
results
On Feb 9, 9:50 am,
yegorsli...@googlemail.com wrote:
> Have ever tried something like Buildroot (
http://buildroot.uclibc.org/)?Buildroot will take care of toolchain, cross-compiling etc. You'll only have to create a package for your project. See following slides for more details:
http://free-electrons.com/~thomas/pub/buildroot.pdfand this article too:
http://free-electrons.com/blog/buildroot-2011-11/
>
> Yegor