gylns / opencv-dsp-acceleration

Automatically exported from code.google.com/p/opencv-dsp-acceleration
0 stars 1 forks source link

Cannot link library #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm try to build opencv by use toolchain as host and I got an error :

/usr/local/poky/eabi-glibc/arm-none-linux-gnueabi/usr/lib/libopencv_imgproc.a(co
lor.o): In function `cv::initLabTabs()':
color.cpp:(.text._ZN2cvL11initLabTabsEv+0x80): undefined reference to `cvCbrt'
color.cpp:(.text._ZN2cvL11initLabTabsEv+0x368): undefined reference to `cvCbrt'
/usr/local/poky/eabi-glibc/arm-none-linux-gnueabi/usr/lib/libopencv_imgproc.a(sh
apedescr.o): In function `cvFitEllipse2':
shapedescr.cpp:(.text.cvFitEllipse2+0x7c8): undefined reference to 
`cvMulTransposed'
shapedescr.cpp:(.text.cvFitEllipse2+0x800): undefined reference to `cvSVD'
shapedescr.cpp:(.text.cvFitEllipse2+0x8c4): undefined reference to 
`cvMulTransposed'
shapedescr.cpp:(.text.cvFitEllipse2+0x940): undefined reference to `cvGEMM'
shapedescr.cpp:(.text.cvFitEllipse2+0x97c): undefined reference to `cvGEMM'
shapedescr.cpp:(.text.cvFitEllipse2+0x9ac): undefined reference to `cvEigenVV'
shapedescr.cpp:(.text.cvFitEllipse2+0xe48): undefined reference to `cvGEMM'
shapedescr.cpp:(.text.cvFitEllipse2+0x13ec): undefined reference to `cvSVD'
/usr/local/poky/eabi-glibc/arm-none-linux-gnueabi/usr/lib/libopencv_imgproc.a(sh
apedescr.o): In function `cvArcLength':
shapedescr.cpp:(.text.cvArcLength+0x2a8): undefined reference to `cvPow'

collect2: ld returned 1 exit status
make[1]: *** [linux/remote_ti_platforms_evm3530_opencv.xv5T] Error 1
make[1]: Leaving directory 
`/home/giinos/workspace4opencv/trunk/dsp_opencv/beagle/apps/opencv'
make: *** [opencv_remote] Error 2

I'm already add -L/usr/local/poky/eabi-glibc/arm-none-linux-gnueabi/usr/lib 
-lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d 
-lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy 
-lopencv_ml -lopencv_objdetect -lopencv_video -lopencvdsp -llibtiff -llibjasper 
-lopencv_lapack -lzlib

I think that's all the library that I should add. What should I do to solve 
this error?

Thanks in advance for your help!

Original issue reported on code.google.com by aras...@gmail.com on 16 May 2011 at 12:28