- boost库regex的编译
下载boost库后,在boost_1_34_0/boost_1_34_0/libs/regex/build目录,
这个目录下有makefile文件,对应vc6的有vc6.mak
先运行Microsoft Visual Studio/VC98/Bin/VCVARS32.BAT
然后转到boost_1_34_0/boost_1_34_0/libs/regex/build目录,运行
namke -f vc6.mak 即可对regex进行编译
等待一段时间编译完成后,产生boost_1_34_0/boost_1_34_0/libs/regex/build/vc6目录 - VC6 设置
tools-》options-》Directories
include file:
E:/boost_1_34_0/boost_1_34_0
lib file:
E:/boost_1_34_0/boost_1_34_0/libs/regex/build/vc6
注:我的boost在E:盘,请根据实际路径配置 - 使用方法
续
在VC中使用正则表达式(boost库)
最新推荐文章于 2017-02-11 22:42:57 发布