linux libimath.so,安装OPENCV出问题,请教牛人。

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

问题,按照教程完成opencv源码安装之后,运行例子出现问题:

hjk@hjk-virtual-machine:~/gdesign/testspace/c$ ./build_all.sh

compiling contours.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling convert_cascade.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling delaunay.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling fback_c.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling morphology.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling motempl.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling polar_transforms.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling pyramid_segmentation.c

/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../libopencv_highgui.so: undefined reference to `__fdelt_chk@GLIBC_2.15'

/lib/i386-linux-gnu/libpthread.so.0: undefined reference to `__ctype_init@GLIBC_PRIVATE'

collect2: ld 返回 1

compiling adaptiveskindetector.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling bgfg_codebook.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling blobtrack_sample.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling facedetect.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling find_obj_calonder.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling find_obj.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling find_obj_ferns.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling latentsvmdetect.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling mser_sample.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling mushroom.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling one_way_sample.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling smiledetect.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

compiling tree_engine.cpp

/usr/bin/ld: this linker was not configured to use sysroots

collect2: ld 返回 1

hjk@hjk-virtual-machine:~/gdesign/testspace/c$

用在opencv 2.4.9文件夹下 cmake . 的提示中:

DEBUG -D_DEBUG

-- Linker flags (Release):

-- Linker flags (Debug):

-- Precompiled headers: YES

--

-- OpenCV modules:

-- To be built: coreflann imgproc highgui features2d calib3d ml video legacy objdetect photo gpuocl nonfree contrib python stitching superres ts videostab

-- Disabled: world

-- Disabled by dependency: -

-- Unavailable: androidcamera dynamicuda java viz

--

-- GUI:

-- QT: NO

-- GTK+ 2.x: NO

-- GThread : NO

-- GtkGlExt: NO

-- OpenGL support: NO

-- VTK support: NO

--

-- Media I/O:

-- ZLib: /usr/lib/libz.so (ver 1.2.3.4)

-- JPEG: libjpeg (ver 62)

-- PNG: /usr/lib/libpng.so (ver 1.2.46)

-- TIFF: build(ver 42 - 3.9.5)

-- JPEG 2000: build(ver 1.900.1)

-- OpenEXR: /usr/lib/libImath.so /usr/lib/libIlmImf.so /usr/lib/libIex.so/usr/lib/libHalf.so /usr/lib/libIlmThread.so (ver 1.6.1)

--

-- Video I/O:

-- DC1394 1.x: NO

-- DC1394 2.x: NO

-- FFMPEG: NO

-- codec: NO

-- format: NO

-- util: NO

-- swscale: NO

-- gentoo-style: YES

-- GStreamer: NO

-- OpenNI: NO

-- OpenNI PrimeSensor Modules: NO

-- PvAPI: NO

-- GigEVisionSDK: NO

-- UniCap: NO

-- UniCap ucil: NO

-- V4L/V4L2: YES/YES

-- XIMEA: NO

-- Xine: NO

--

-- Other third-party libraries:

-- Use IPP: NO

-- Use Eigen: NO

-- Use TBB: NO

-- Use OpenMP: NO

-- Use GCD NO

-- Use Concurrency NO

-- Use C=: NO

-- Use Cuda: NO

-- Use OpenCL: YES

--

-- OpenCL:

-- Version: dynamic

-- Include path: /home/hjk/opencv-2.4.9/3rdparty/include/opencl/1.2

-- Use AMD FFT: NO

-- Use AMD BLAS: NO

--

-- Python:

-- Interpreter: /usr/bin/python2 (ver 2.7.3)

-- Libraries: /usr/lib/libpython2.6.so (ver 2.6.6)

-- numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.6.1)

-- packages path: lib/python2.6/site-packages

--

-- Java:

-- ant: NO

-- JNI: NO

-- Java tests: NO

--

-- Documentation:

-- Build Documentation: NO

-- Sphinx: NO

-- PdfLaTeX compiler: NO

--

-- Tests and samples:

-- Tests: YES

-- Performance tests: YES

-- C/C++ Examples: NO

--

-- Install path:

--

-- cvconfig.h is in: /home/hjk/opencv-2.4.9

-------------------------------------------------------------------

--

CMake Warning at CMakeLists.txt:1054(message):

Thesource directory is the same as binary directory. "make clean" may

damage the source tree

请问问题出在哪里, 新手一枚,如问题描述不清楚,请提示我该贴哪一部分找问题,多谢。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值