1、下载boost的源码包,并解压到相应的目录。
2、使用"Visual Studio 2005 Command Prompt",进入到"boost_1_35_0\libs\regex\build"
3、nmake vc8.mak
4、生成的文件在vc80下。
5、在VC环境下配置。
Tools->Options->Projects and Solutions->VC++ Directories
在include目录和lib目录将相关库的目录添加进去。
include为"boost_1_35_0"
lib为上面提到的"vc80"
6、如果需要正则表达式支持unicode,还需要在编译库时使用下面的脚本
nmake ICU="ICU_PATH" vc8.mk
阅读(760) | 评论(0) | 转发(0) |