|
|
在安装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,是我自己安装的.
请大侠帮帮忙啊,着急使用! |
|