|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
NX12.0 二次开发使用VS2012 报错解决方案
5 m! \6 ~& i7 ?0 y( X9 H严格的讲NX12.0需要使用VS2015进行开发,这里说下如果你是低版本的解决方案,但是不推荐!
% a/ q( q8 M+ C(1)安装完后,点击Open Wizard 告诉你创建项目错误
9 p1 e: @" O8 F0 `
% U6 {$ u$ d* ]* ^0 \这种问题就是编译器版本不符合官方的匹配导致的,更改方法很简单 5 I# a/ I9 G) R$ u% X8 \
打开 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects下的NX12_NXOpenCPP.vsz 将
( v4 P& D; Z/ f% _Wizard=VsWizard.VsWizardEngine.14.0 中的14 改成11 也就是对应的VS2012( r' U! p% c9 l' `
* S/ I t# _0 I: z; H4 \9 V" {这样创建的对话框就可以出来了!6 x% u7 w1 \4 _3 O3 P
(2)你可能还会遇到路径错误,path not found, 建议对这个文件进行修改,尤其是你有多个版本存在的话,一劳永逸) G" r9 L4 M$ `2 q# f
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\NX11_NXOpenCPP\scripts\1033 下的default.js 文件+ s( z* o% I1 u$ ]" c
修改里面的环境变量路径,注意路径是双反斜线 \\,参考如下!
* o: \. c1 }( c
# `9 o2 c# T" [% U//@<DEL>@ TEXT ENCLOSED within delete markers will be REMOVED L: `% U$ Z% | n! n
// 09-Jun-2012 Frank Berger Initial Release for VS2010 based on "NX8 Open Wizard"
& @ ?( z# d5 r# g# _: B// 31-Okt-2013 Frank Berger modified for VS20123 [. W( c, p& R' K' w" ~, G0 n
// 13-Feb-2015 Sudhir Pawar ARCH:11320: Added libufun_die.lib,libufun_vdac.lib & libufun_weld.lib3 t8 ~) B, C8 S# i$ |' I0 L
// 21-Dec-2015 Purushottam Thakre Fixed PR#7567548: Call DeletePlatform function to delete 'Win32' platform.6 x; V* f6 L7 a9 s
// 08-Jan-2016 Prabhakar Mandlik Fixed PR#7588129: Added /d1scalableinclude- swiTCh.
- H- L. G6 V1 D: }// 10-Feb-2016 Purushottam Thakre Fixed PR#7630769: Reverted changes done to fix PR#7567548 which is causing regression
3 M+ b3 H6 T( j8 v3 s8 u//TEXT ENCLOSED within delete markers will be REMOVED @<DEL>@
( E' d; ]8 f* Y1 s3 Z* \
* m5 _+ ^1 Y. y+ w5 F: r; Sfunction OnFinish(selProj, selObj)6 ^2 i. i7 b; f* s% }
{' M. \8 r$ e8 x
try
3 M* K2 A% F( j$ Q) `2 Q {; R, p0 s3 p5 i5 c6 R( m
var bodyTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "body_template.txt";# [+ W+ U0 B* D; ~. ~9 n O
var bodyTemplateText = wizard.RenderTemplateToString(bodyTemplateFile); @0 h! K& G* C! g
wizard.AddSymbol("BODY_TEMPLATE", bodyTemplateText);. P' S: a0 R( y4 `9 w+ `
G9 b$ {# R% _. [
var entryPointsTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "entry_points_template.txt";
1 \2 `) _; c7 d2 \5 [4 D4 c var entryPointsTemplateText = wizard.RenderTemplateToString(entryPointsTemplateFile);# h' v% y2 j0 c: P) R
wizard.AddSymbol("ENTRY_POINTS_TEMPLATE", entryPointsTemplateText);5 I' k2 u7 | h9 `0 C
! v. h3 j5 o2 [" }. ?5 t4 m var unloadOption = "UNLOAD_IMMEDIATELY";
' G& q( v4 n& h if ( wizard.FindSymbol( "UF_UNLOAD_UG_TERMINATE" ) )
) A( p& Y _' n& o( A" W. V+ b8 Y {
* p5 G; E, ]6 l* F; L1 h unloadOption = "UF_UNLOAD_UG_TERMINATE";9 H, f" c: p) z# m* N9 }5 C8 i& t
}9 p U q( V; j% ]" K
else if ( wizard.FindSymbol( "UNLOAD_SEL_DIALOG" ) )
6 E! r2 }/ f( o7 `9 x+ Y {
" N. r5 q! T9 D" H1 a4 B unloadOption = "UF_UNLOAD_SEL_DIALOG";4 F% V! A8 Q' s( e
}
`# X& H0 M& r5 T5 i$ z wizard.AddSymbol("UF_UNLOAD_OPTION", unloadOption);3 h+ e) F) |$ l) K0 P* J
( O' x: c* L( b4 q& h5 K
; w% H5 ?6 ]& R3 w6 i* h // Assign the project path and project name7 U4 r7 U' Z1 z; C
var strProjectPath = wizard.FindSymbol("PROJECT_PATH");- h. }- }- f. c1 R
var strProjectName = wizard.FindSymbol("PROJECT_NAME");% v8 h* S+ R& C2 ?6 Q
var strClassName = wizard.FindSymbol("MAIN_CLASS_NAME");
/ ?+ y9 D2 @1 `# v if ( strClassName.length < 1 ) - u% k; a4 N9 J- t# u
{
) b( j2 D, O8 E+ n |6 ] wizard.AddSymbol("MAIN_CLASS_NAME", "NONAME");
* c* E. r; F) N( ]; p! b! p( _, _ }5 ?$ G; y6 c- L' K Q
- U8 q8 L9 t1 d" D3 @
// Create the Visual C++ project and call it "NXOpenProj". ?4 K+ Y4 r6 k w+ R8 f9 V% ? w
selProj = CreateProject(strProjectName, strProjectPath);
' W. k8 |: n2 S( k6 ^+ Y4 {// selProj.Object.Keyword = "NXOpenProj"
" ^/ @' {6 P$ x" }8 l+ G5 F u* H
+ d& M3 \5 z8 ]6 E( K // Add common and specific configurations to the project1 H& z7 P, z; j8 B0 @8 m
AddCommonConfig(selProj, strProjectName);/ O3 i( u" c: h1 ]/ N/ X. m
AddSpecificConfig(selProj, strProjectName);
# B d! k- c5 ?' v9 }$ B& L6 f// selProj.Object.keyword = "MFCDLLProj";
1 B# w/ h3 z! A0 \
7 N# Z* ?: y9 ]& ^ //Set the project filters % f8 |. _1 J# u! r* b! X0 z3 @
SetupFilters(selProj);
% j+ a. Q x& D5 Z( p! `& x# [2 l" @
// Add files to the project from the project's Templates.inf file: Y0 @3 C M# Q- H( j( `- U% w" w9 s
AddFilesToProjectWithInfFile(selProj, strProjectName);
4 m6 R. b: ?2 }2 h/ x$ s 4 ^" V$ F; l' E; T
selProj.Object.Save();
0 j* j M& C/ V* e( w }
0 ~7 N( h! Y, h3 y+ [* p catch(e)
' T. a4 j1 Q- E {$ K: w1 r. \4 F+ W' ?' ~- C
if (e.description.length != 0)& A7 L4 `( {. f/ f# \
SetErrorInfo(e);
3 @4 N S- U2 a! @7 l4 v2 S return e.number# _! L' ]6 {. o1 ?) I4 u' o
}/ M" k- ]7 E& l* d
}1 h& C- b) o+ u: q9 x
$ {6 @% @+ v8 i0 D* Xfunction SetFileProperties(projfile, strName)+ T! ], k4 r, l
{
" W0 C1 @; \! p5 L/ F0 t. w, b# ] return false;( T1 ]( i. h8 G1 `. `4 Z
}: F ]5 J/ b, q
1 i9 \! [" z& O3 V* n4 H) Q
function DoOpenFile(strTarget)
0 N3 g8 Q: A2 V! M( q{
( R2 d/ b. S5 ?/ @ return false; L; \$ e! _. Y* G
}/ c9 B+ J% C+ o( }$ a7 O3 N
/ |' Y# t4 Y$ p6 b+ |4 z9 Y; L. dfunction GetTargetName(strName, strProjectName, strResPath, strHelpPath)( W |: @2 Q6 w1 c( F
{0 H" g: s8 `% b8 K
try' [, I; |! [: C$ I, L: E6 \* {
{
1 v' V! z3 }7 z/ g' ^ var strTarget = strName;
8 `( b& t t4 m. h( p) D if (strName.substr(0, 4) == "root")
; x6 m8 Z8 u- } {. U& x, z3 w5 a) Q5 O( U3 K
var strlen = strName.length;
2 l/ U# z5 s* o9 s+ l& S6 Y z if (strName == "root.ico" || strName == "root.rc2")
! h; O/ N) z- H* `! a/ `# k" c6 e {8 b6 x( k! c& ~/ D2 c
var strSafeProjectName = wizard.FindSymbol("SAFE_PROJECT_NAME"); b7 \% P( b/ h) W8 L0 l" o( B
strSafeTarget = strSafeProjectName + strName.substr(4, strlen - 4);" Z4 K/ H+ J/ K: x0 L5 r
strTarget = strResPath + "\\" + strSafeTarget;
& x) `8 k9 S" }. w" B }
; h0 T9 a, V/ G# `3 S6 r else if (strName == "root.txt" )
4 V0 u3 z% K0 T$ H {+ Y7 A/ `: s$ c5 Q5 e5 J5 [* U0 h b( L3 O
strTarget = strProjectName + ".cpp";
/ K9 i, H: G3 F: a/ ? }
% G' q5 m# u9 I. B0 F0 ]& K else# x: p+ s5 {: q8 Z# S/ s
{) P% ^4 o) _( |0 X6 k' _
strTarget = strProjectName + strName.substr(4, strlen - 4);
( e. H- ^5 d$ D5 j/ a; s& S! G }
. S5 D( d; c$ b) q return strTarget;6 L* ~9 H8 O. U* v- `
}
6 _/ D2 s5 t/ u+ N/ n: D2 t' b. | b0 G2 h% N
switch (strName)
. B$ c* B" e7 G6 w+ {# _ {, L w1 s+ y& t3 g& [3 T. y
case "readme.txt":' q. Y# G8 a6 G9 P
strTarget = "ReadMe.txt";, s1 S$ I( ~ D+ `
break;. ~' w7 p7 k s9 I2 n; D( d
case "all.rc":; c8 O9 s/ l% }5 [
case "dlgall.rc":
# G3 @& p& g- c1 B+ s strTarget = strProjectName + ".rc";' z# w$ {6 W, u$ a" D
break;$ H1 ?9 `; W1 E+ _. v( @
case "dlgres.h":0 y7 q2 y E; C& h, R
case "resource.h":
: M3 h7 z. |- q" w5 X- x strTarget = "Resource.h";
7 E- J1 d9 z% g$ O" p% a break;$ a( G; ^( _: \% R
default:
; x4 J1 K$ s; r0 }, N! K* r break;
" ?/ R, f7 E4 }/ W }
9 h9 a: N1 T: P( g' J return strTarget; ! \! S1 K, A6 `7 G/ z3 {+ `
}
6 G6 B' v9 u% W: b$ K7 Q* N) ] catch(e)2 H# K. t6 i( V y
{
/ p$ Y6 \! i: E3 ? throw e;
' t F6 {+ x+ K8 d4 d: Z }/ [: g2 @+ U- @! z3 y
}
2 K/ |( e8 z' S# e9 P$ r `4 N5 i" }; t& i$ F7 g$ M" K
function AddSpecificConfig(proj, strProjectName)
2 g. k+ A1 g9 w$ O$ o{
" S6 [! \/ @5 F" Y6 J, s3 ~) { try
' A2 {% v9 L1 g$ T& F {
3 S! a/ v4 w" w7 S! @( ]6 [ var isDllApp = wizard.FindSymbol("DLL_APPLICATION");8 _2 I& v3 D' j# L6 ?# v" H7 m
var isCxx = true;1 ^. ]$ s, d& N4 P% D
, b5 n' I* c, Q; q" ]
var appType;$ s2 ?! a: n: k( {+ J
var appExtension;
+ K/ ?" y% P$ s4 Q0 w# K/ Y* v6 {
# Q) b0 L$ s2 p8 B) D proj.ConfigurationManager.AddPlatform("x64", "Win32", true);
9 T. A# L- { r6 n7 p
% M7 C! i. F, v3 A+ S9 c if ( isDllApp )! s9 S0 k1 g& n# ]$ l5 v
{9 b- a4 X8 U. c0 l
appType = typeDynamicLibrary;7 W8 O+ C0 r+ Z* m7 g2 ^0 ]
appExtension = ".dll";
0 h, s8 h7 [: B }
& A9 N) z) _! [" y else( @& ~9 V4 d8 f4 j. M
{
- C' b! U- Z; |8 {9 w! p i D4 u& J appType = typeApplication;- ^, b2 `7 ^# L- p( U l
appExtension = ".exe";
# V6 @5 y! S/ a }
; y- ^ n: i/ L# u3 c) T2 Z5 K5 a9 \2 j( D K7 L1 L
var linkLibs = "libufun.lib";
- g, d p S+ n/ S# j4 ?* P, L# ] linkLibs += " libufun_cae.lib";7 T2 F1 w; Q3 z' t7 S# }5 p
linkLibs += " libufun_cam.lib";
) B; _/ r! }: ?) R linkLibs += " libufun_die.lib";3 }/ Q2 o9 \, h) e. h$ b. t! w
linkLibs += " libufun_vdac.lib";7 C2 r; R* W* T8 l0 R
linkLibs += " libufun_weld.lib";
) P+ d* I5 F, Z- A& }: P, `/ m6 C7 A @: S: X
if ( isCxx)% P0 L: m' V3 ] r$ I5 y
{
1 T: g+ ? Z) z( D- ~ var wshell = new ActiveXObject("WScript.Shell")+ ^( P* J5 o' b
var libpath ="D:\\dsplm\\Siemens\\NX12\\ugopen";* S! P2 B* |7 S2 p
var Fo =new ActiveXObject("Scripting.FileSystemObject");2 S8 r% g- C# l: @
var FSo = new Enumerator(Fo.GetFolder(libpath).Files);3 J# t2 {0 N5 O+ {; K
var nxopencppName = "libnxopencpp";
c; E& k2 M1 A! [ for(; !FSo.atEnd(); FSo.moveNext())
& p" y+ c% h' Q7 V* d2 w& R {
7 K: ^8 P4 Q: J! Q" U: V0 m if(FSo.item().name.match("^"+nxopencppName)==nxopencppName) //check if file name start with libnxopencpp
- m# H8 T8 x& | if(FSo.item().name.slice(FSo.item().name.lastIndexOf(".")+1).toLowerCase() == "lib") //check if file has '.lib' as an extension3 g9 o# u7 p) G& {8 h& n9 t; l$ Q( a
{# A6 n d( D& a: g* ]- G
linkLibs = linkLibs + " " + FSo.item().name;/ @5 b5 m5 j r4 G2 M( n/ B
}
1 s" X1 ]+ f, B3 u1 o }
Q* r4 J) o; Q: |$ P6 k: ] }6 _2 G2 U$ Q6 x& D/ T* c- ^
1 e6 T+ ~4 S) G7 ^9 w; _. Z/ |
if ( isDllApp )
2 g+ n8 `8 ?6 G D! i2 Z- j6 `' | {
7 G D# g% H$ L8 b9 ^! m1 p linkLibs += " libugopenint.lib";2 c! H, }% S# q/ _/ ^0 U* Y
linkLibs += " libugopenint_cae.lib";. Q. g# r( m/ e9 Q
linkLibs += " libugopenint_cam.lib";
/ W4 F$ i+ P" E+ R; s& ~% c6 s" P. `% _0 [' k
if ( isCxx)! W e. [7 d' U8 ]& @! _7 E5 d$ b
linkLibs += " libnxopenuicpp.lib";
7 ]9 A7 }' Y# p' x& s6 D2 g }
6 |/ _4 K: D3 T( W$ J1 z3 y. h. ^+ \5 `8 X) x: {' d+ ]4 [
//=================================================================$ d% a( e5 Z2 N
// Debug Configuration" \) b0 T8 u1 J/ K1 O X2 x! V7 O
//=================================================================
) d: v+ d; b$ C" G+ b% @4 ~! r//LRJ - add x64
% a; v# A, C! {1 h" Y: ~1 _3 u/ g var config = proj.Object.Configurations("Debug|x64");
/ N! {; G" q8 v' N/ t/ @) B" W0 O config.ConfigurationType = appType;
* W# r9 m8 k% h) n- E# j( s config.CharacterSet = charSetUnicode;& n/ y* r, C2 T7 K- y5 D2 g( S
config.useOfMfc = useMfcStdWin;, ^ P' P4 j0 b5 q+ d3 {
* \1 ]1 O H9 s9 L, R0 ? var CLTool = config.Tools("VCCLCompilerTool");+ w/ W5 a5 G6 H. g
var strDefines = GetPlatformDefine(config);5 N$ A( H3 N! ?
strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";1 r* U6 M( Z7 `- |9 j5 L
if ( isDllApp )
, c8 Y# `5 Q( a/ I$ m9 l {- f" H# r# l6 W; J$ V. s
strDefines += ";_USRDLL";
; ~ t) b/ @9 v$ d8 |9 G- n* g }
0 P3 f0 o! R9 a+ A J8 J/ N! e else+ [6 }4 p7 G: ?! k/ C
{1 F7 D" i* D) t- |+ x) l" x# z0 @
strDefines += ";_CONSOLE";" R. I) c9 Y& f/ X3 Y
}
; O; n* B+ b! U" @: R4 B& v0 ^6 n6 n( T8 L2 T4 k0 O% r
CLTool.PreprocessorDefinitions = strDefines;
1 D+ R+ ~* v6 j+ B; w( l
& H2 d7 z/ E9 a1 F& k+ r# H config.UseOfMFC = useMfcDynamic;# L, `2 ]) U' W" Y h: X9 o
CLTool.RuntimeLibrary = rtMultiThreadedDLL;0 r% B1 N& r: g& }' D" ]
' C+ b; k9 h" x4 h Y+ A% g# x9 p3 Z
CLTool.TreatWChar_tAsBuiltInType = true;/ N8 g# o7 k4 ^0 P
CLTool.DebugInformationFormat = debugEnabled;$ ^! l: r& U8 Z
CLTool.AdditionalIncludeDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
5 s t5 B5 W3 r0 I3 o8 U) a% N3 J; G- W$ L: Z8 a
CLTool.RuntimeTypeInfo = 1;4 B! u4 V! S# {1 z2 _' t% S; n
CLTool.UsePrecompiledHeader = pchNone;9 `$ V8 c, r( G6 |9 M: @$ l5 O
CLTool.AdditionalOptions = "/d1scalableinclude-";
' N9 a ~& E1 |, y+ n' x; R$ G( Q: m8 [- ]' G+ N% y0 J
//LRJ - change for X64 - add TargetMachine
3 i( f3 Y3 h7 U8 f var LinkTool = config.Tools("VCLinkerTool");
0 q# z* _4 G5 e2 N9 v2 i$ L LinkTool.TargetMachine = machineAMD64;
4 F; s p6 H1 A( E, y, Y6 o LinkTool.LinkIncremental = linkIncrementalYes;
5 h! p0 u& Q ~! P0 O& T: y LinkTool.GenerateDebugInformation = true;
W$ Q2 P! L- \/ V4 o LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;% |0 c9 c) H" d
if ( isDllApp )
2 p# G/ B9 a5 {4 w. |- A8 X2 @+ X LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";
" \ o0 t: C- i0 ~5 D3 F LinkTool.AdditionalLibraryDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
# m1 c. @ b8 h LinkTool.AdditionalDependencies = linkLibs;8 [4 W4 o/ A. [3 k6 e, {
LinkTool.SubSystem = subSystemConsole;1 g; j" v1 }! o6 F# f8 D0 d
//LRJ - add following line for X64 definition+ K# |1 X$ f1 l# }! G7 B, b- P
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");
b$ {- f; [! Z: s8 s2 c0 d: @+ @6 i/ I; u
//=================================================================4 j% Q" @/ w+ g
// Release Configuration+ D5 i& E' g* c0 |$ J" W' K% g
//=================================================================/ @) _8 }+ E' k
//LRJ - add X64 definition to configuration line
K/ r: z) U% N$ S config = proj.Object.Configurations("Release|x64");; v$ L, n4 W @1 e& P+ g
config.ConfigurationType = appType;3 _, r+ O) K& m) ~+ _+ C
config.CharacterSet = charSetUnicode;
$ D' K |% M& L: } config.useOfMfc = useMfcStdWin;
- j+ W+ V) L, a3 L# Z! [8 M/ Y1 H2 S8 \: U. z" @' E J5 `
CLTool = config.Tools("VCCLCompilerTool");
+ `3 H& S Q/ E2 v* } strDefines = GetPlatformDefine(config);7 B8 F# ]" P) s, ]$ o! }# e" g; Y
strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";1 f" e. o& s* `$ Q
if ( isDllApp )
, i6 b2 q s( C1 v8 u% P {
. N7 H7 z! O+ `1 s4 e; T4 O strDefines += ";_USRDLL";
2 E& a' K: ]! [ }- C( {- C( c* e7 R( ?2 F
else6 D& @1 C: {4 ^4 e0 p9 e6 T' u# K
{
% h# q c6 @5 p- ~% @( q strDefines += ";_CONSOLE";
+ z' S4 M: I& R" z* a' y6 w }
( g% Q4 t! T6 @6 ~' D" b% m& F
; i6 z" z9 F& F, N& Q( C CLTool.PreprocessorDefinitions = strDefines;
: r$ q3 C) ~. Q8 l" X5 g
+ e6 j! e- [: Z" }6 s6 G3 x config.UseOfMFC = useMfcDynamic;5 T( z5 n, X( K3 ^- K6 |
CLTool.RuntimeLibrary = rtMultiThreadedDLL;" W0 W9 p! l7 h) B
: h3 E, K1 T$ @! A8 X- E
CLTool.InlineFunctionExpansion = expandOnlyInline;
: t5 i$ j o( f9 O1 i4 Y( O; M CLTool.TreatWChar_tAsBuiltInType = true;) I/ d& ~/ l4 @* y
CLTool.DebugInformationFormat = debugEnabled;8 u, a! O0 J, i& y
8 D A1 y6 o$ Z" ]" \+ { CLTool.AdditionalIncludeDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";* D- o9 I% z( N; Y8 b
5 v$ F) i7 k, L2 h& H CLTool.RuntimeTypeInfo = 1;0 ^, g) X0 c. C5 j
CLTool.UsePrecompiledHeader = pchNone;' v; u8 c6 [! ]2 }8 \, W
//CLTool.AdditionalOptions = "/d1scalableinclude-";2 A+ j4 A8 C# R+ h8 p
" u2 {% p4 o7 Y6 s+ _, L
LinkTool = config.Tools("VCLinkerTool");+ t4 R+ x* N* H9 Q2 f) D F# F
//LRJ - add following line for X64 definition
$ P8 z( i4 e2 I6 V2 [5 @9 p& c+ a LinkTool.TargetMachine = machineAMD64;! }: ?$ l& n9 @5 A
LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;2 q! ^9 ?' w& d1 J! e3 j: [+ a1 _
if ( isDllApp )
1 t! p x2 W8 I) ]; F: P LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";+ p" i% \% k6 ? o
LinkTool.GenerateDebugInformation = true;
; r8 }% E( J* a LinkTool.LinkIncremental = linkIncrementalNo;- h# s* A( h& A7 \) K
LinkTool.AdditionalLibraryDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";
) U$ ?1 Y6 ]3 ` LinkTool.AdditionalDependencies = linkLibs;
+ \5 A: h( [ i LinkTool.SubSystem = subSystemConsole;. j/ ?+ D& u; z
//LRJ - add following line for X64 definition* i% D( ^+ Y9 o/ I
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");
. z! c: ~ D, X7 \! ]" G, o ]" ^ }
) r* O- [% c9 [$ K catch(e)
& M# |6 I: e; E: [: L! Z- w% y {
- f/ f. `9 }* F/ G* k throw e;
6 Z$ s& ]0 T! o* a }
* G6 N. O0 U: R% {0 G" C2 P}2 { E8 n" V6 O5 N" Q# P
/ C- x( r+ |5 k; N
" T: [; ?; A: Z) `/ B6 Y5 Q1 P
( L5 H, e6 w+ |3 V% m8 N1 Y
|
|