In that blog, I still can't apt-get the liblas-armel-cross and
liblapack-armel-cross to install properly on my Ubuntu desktop.
To circumvent that, I had to copy over those ARM libraries from the
beagleboard:/usr/lib to the desktop:/usr/arm-linux-gnueabi/lib. (I
hope someone else can help me with the desktop-installation of the
above libraries).
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
Did you solve the problem? I have same problem now and i dont know what should i do. I took exactly same errors with you. My eclipse + cross compiler works well but when i try to integrate opencv to it, it sucks.