摘要:转自http://hi.baidu.com/xinghun_4/blog/item/9675b80022ceb0d8277fb5da.html
阅读全文
04 2012 档案
摘要:linux平台上编译安装boost库 1.首先解压缩 tar -zxvf boost.1.49.0.tar.gz 2.然后进入解压缩后的文件夹编译boost的编译器jam 3.执行编译出bjam ./bootstrap.sh 4.编译完后在这个目录下有编译出的bjam文件 bjam5.进行编译 ./bjam release install 系统默认会将include拷贝到/usr/local/include/boost/中 将lib拷贝到/usr/local/lib下
阅读全文
摘要:linux redhat5.4 安装qt4.8 出现glibc版本过低: 下载glibc-2.9.tar.bz2 下载glibc-linuxthreads-2.5.tar.bz2 解压 #tar -zxvf glibc-2.9.tar.gz #cd glibc-2.9 #tar -zxvf ../glibc-linuxthreads-2.5.tar.gz #cd .. #export CFLAGS="-g -O2 -march=i486" #./glibc-2.9/configure --prefix=/usr --disable-profile --enable-add-
阅读全文
摘要:转自http://www.cnblogs.com/wondering/archive/2009/05/21/boost_setup.html
阅读全文
摘要:intmain(intargc,char*argv[]){QApplicationa(argc,argv);QTextCodec*codec=QTextCodec::codecForName(“System”);//获取系统编码QTextCodec::setCodecForLocale(codec);QTextCodec::setCodecForCStrings(codec);QTextCodec::setCodecForTr(codec); returna.exec();}
阅读全文
摘要:error LNK2005 默认库与其他库的使用冲突 在.pro 文件中加入如下行:QMAKE_LFLAGS += /NODEFAULTLIB:"MSVCRTD"
阅读全文

浙公网安备 33010602011771号