boost regex 编译问题: boost 成功编译了,可 regex 没有通过?
boost regex 编译问题: boost 成功编译了,可 regex 没有通过?
我的环境: vs 2005
没有改动过boost的源代码,可是提示下面的错误信息
D:\c++\boost\boost_1_33_1\libs\regex\build>nmake vc8.mak
Microsoft (R) 程序维护实用工具 8.00.50727.42 版
版权所有 (C) Microsoft Corporation。保留所有权利。
Building Boost.Regex without ICU / Unicode support:
Hint: set ICU_PATH on the nmake command line to point
to your ICU installation if you have one.
cl /nologo /MT /W3 /EHsc /O2 /GF /Gy /I..\..\..\ /D_MT /DWIN32 /DNDEBU
G /D_MBCS /D_LIB /FD /Zc:wchar_t /c -Y- -Fo./vc80/libboost_regex-vc80-mt-s-1_3
3_1/ -Fdvc80/libboost_regex-vc80-mt-s-1_33_1.pdb ../src/regex_traits_defaults.cp
p
regex_traits_defaults.cpp
../src/regex_traits_defaults.cpp : warning C4819: 该文件包含不能在当前代码页(936
)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
../src/regex_traits_defaults.cpp(670) : warning C4819: 该文件包含不能在当前代码
页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
../src/regex_traits_defaults.cpp(690) : fatal error C1071: 在注释中遇到意外的文
件结束
NMAKE : fatal error U1077: “"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\
cl.EXE"”: 返回代码“0x2”
Stop.