几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】autocad多版本开发的配置问题 (http://www.dimcax.com/hust/showthread.php?t=6180)

yang686526 2009-04-16 09:19 AM

【转帖】autocad多版本开发的配置问题
 
autocad多版本开发的配置问题
autocad多版本开发的配置问题
请问一下,我在vs.net5下配置vs.net2,编译总是不成功,原因何在?
目前的情况是:如果2和5同时安装就可以,但只有2的头文件和库文件,就不成功。
错误粘贴
1>------ 已启动全部重新生成: 项目: showentattr, 配置: release win32 ------
1>正在删除项目“showentattr”(配置“release|win32”)的中间文件和输出文件
1>正在编译...
1>external build tool process set to low priority...
1>switching to vc7 paths for external build tool process...
1>stdafx.cpp
1>c:\program files\microsoft visual studio .net\vc7\include\xstring(1286) : warning c4346: “std::basic_string<_elem,_traits,_ax>::size_type”: 依赖名称不是类型
1> 用“typename”为前缀来表示类型
1>c:\program files\microsoft visual studio .net\vc7\include\xstring(1286) : error c2143: 语法错误 : 缺少“;”(在“std::basic_string<_elem,_traits,_ax>::npos”的前面)
1>c:\program files\microsoft visual studio .net\vc7\include\xstring(1286) : error c4430: 缺少类型说明符 - 假定为 int。注意: c++ 不支持默认 int
1>c:\program files\microsoft visual studio .net\vc7\include\xstring(1286) : error c2888: “basic_string<_elem,_traits,_ax>::size_type size_type”: 不能在命名空间“std”内定义符号
1>c:\program files\microsoft visual studio .net\vc7\include\xstring(1286) : fatal error c1903: 无法从以前的错误中恢复;正在停止编译
1>showentattr.cpp


所有的时间均为北京时间。 现在的时间是 09:17 PM.