LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 878|回复: 0

安装opencv时出错,帮帮我!!!

[复制链接]
发表于 2005-4-12 16:30:33 | 显示全部楼层 |阅读模式
在安装opencv-0.9 :help .5时
#./configure --enable-shared
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

出现以上的错误.在文件'config.log'中的错误内容为:
configure:2213: checking whether the C++ compiler works
configure:2219: ./a.out
./a.out: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/local/lib/libstdc++.so.6)
configure:2222: $? = 1
configure:2231: error: cannot run C++ compiled programs.

我的gcc编译器的版本是GCC-3.4.2,是我自己安装的.

请大侠帮帮忙啊,着急使用!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表