找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 1532|回复: 0

[分享] Using VS 2010 for compiling ARX2007~2011 without installing VS2005/2008

[复制链接]

已领礼包: 145个

财富等级: 日进斗金

发表于 2014-9-24 01:39:15 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
First,you should set your environment as the following:
1.You should have the different verions of VC compiler.
2.Extract the VC compiler files to the installation directory of Visual Studio 2010 as the following:
0.jpg

3.Download the VCCommonBin.Zip file(attachment)  for compiling and extract it to the installation directory of Visual Studio 2010 as the previous image

4.Download the custom PlatformToolsets.zip file(attachment) and extract it to X:\Program Files\MSBuild\
   Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\  as the following:

1.jpg



The following shows you how to comile ARX2007 files using VS2010:
1.Open the sample "Smiley" in ARXSDK 2007 using Visual Studio 2010.
2.After converting the project to VS2010 format,you can select the project in Solution Explorer and then bring up the Property Pages.
3.In the Property Pages,Set "Platform Toolset" to vs2005_arx2007.8.9:


2.jpg

4.For MFC projects,you need set other properties as previous image.
5.All done!Compile!You will get the right arx!
6.Using the Dependency Walker tool,you will see that the dependency items are VS2005 dlls:

3.jpg
d


The following is the relationship between AutoCAD and Visual Studio:
AutoCAD(Arx)    Visual Studio          Net       PlatformSDK         
-------------------------------------------------------------
*                     vs2010                 v4.0       v7.1
Arx2010/11      vs2008(vc9)sp1       v3.5sp1   v7.0(v6.1.7600.16385)
Arx2007/8/9     vs2005(vc8)            v2.0       *                  

论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-9-24 14:28 , Processed in 0.292228 second(s), 30 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表