Regex++的安装、编译与使用

王朝other·作者佚名  2006-01-10
窄屏简体版  字體: |||超大  

隔段时间没沾VC,再回过头来用Regex++时,竟然不知道怎么安装了,虽然以前安装使用的次数多了,但还是没记住,看来还是好记性不如烂笔头啊,再总结一次吧。环境: XP+VC6.0(SP6)+MS SDK ,且记环境变量中Include的值中MS SDK的位置要先于VC6.0的位置。如:C:\MicrosoftSDK\Include\.;C:\MVS\VC98\atl\include;C:\MVS\VC98\mfc\include;C:\MVS\VC98\include;

注:我机器上VC安装在了C:\MVS\VC98目录,你的可能是C:\Program Files\Microsoft Visual Studio\VC98

MS SDK安装在了C:\MicrosoftSDK目录

下载地址:http://ourworld.compuserve.com/homepages/John_Maddock/regexpp3.zip

然后解压缩到: C:\Regex++

然后进入到dos窗口

cd C:\Regex++\libs\regex\build

set MSVCDIR="C:\MVS\VC98"

nmake -fvc6.mak

nmake -fvc6.mak install

nmake -fvc6.mak clean

Note: To add the Regex++ library to your project select Project | Settings.... In the ensuing dialog, select the C/C++ tab. In the Category drop down list, select Preprocessor. In the Additional include directories: edit box enter C:\Regex++. Now select the Link tab. In the Category drop down list, select Input. In the Additional library path: edit box enter C:\Regex++.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航