|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
NX12.0 二次开发使用VS2012 报错解决方案
/ x" ]1 r' _% d) N5 l( I& R严格的讲NX12.0需要使用VS2015进行开发,这里说下如果你是低版本的解决方案,但是不推荐!+ q5 Q/ m# J+ L3 \3 ^
(1)安装完后,点击Open Wizard 告诉你创建项目错误
0 N3 A) C0 Y R! @# ?/ E) j }
: Q, R7 M& m% L# K M7 I/ Q! V: @/ U
这种问题就是编译器版本不符合官方的匹配导致的,更改方法很简单 , X( |& t+ e9 j9 P. ^
打开 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects下的NX12_NXOpenCPP.vsz 将
" ?+ l3 l0 O6 p# B4 j) ]8 c G8 ]Wizard=VsWizard.VsWizardEngine.14.0 中的14 改成11 也就是对应的VS20125 p4 s* h4 M% }7 c
- e/ T4 d3 J& C1 _/ ~8 z: o
这样创建的对话框就可以出来了!
. g! o6 i# Z+ C8 V+ N, z(2)你可能还会遇到路径错误,path not found, 建议对这个文件进行修改,尤其是你有多个版本存在的话,一劳永逸+ P% ^4 s* `. W, v( \ ~! u
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\NX11_NXOpenCPP\scripts\1033 下的default.js 文件
: T" C/ \( _, ^9 s/ V7 U$ g1 Q修改里面的环境变量路径,注意路径是双反斜线 \\,参考如下!
) Q2 f" q' R, t- M3 A3 b/ B$ C6 G% e
//@<DEL>@ TEXT ENCLOSED within delete markers will be REMOVED( s$ ^! X0 y7 N
// 09-Jun-2012 Frank Berger Initial Release for VS2010 based on "NX8 Open Wizard"8 H6 J: X' S7 b/ N/ c- v
// 31-Okt-2013 Frank Berger modified for VS20124 L( w! ^' V1 y5 S$ v
// 13-Feb-2015 Sudhir Pawar ARCH:11320: Added libufun_die.lib,libufun_vdac.lib & libufun_weld.lib
( e) o" ~8 R# {) a. Z& G5 m// 21-Dec-2015 Purushottam Thakre Fixed PR#7567548: Call DeletePlatform function to delete 'Win32' platform.
* q+ a$ C) j( }// 08-Jan-2016 Prabhakar Mandlik Fixed PR#7588129: Added /d1scalableinclude- swiTCh.) s' F" G: a$ _% y: `
// 10-Feb-2016 Purushottam Thakre Fixed PR#7630769: Reverted changes done to fix PR#7567548 which is causing regression- p, M% X/ M1 Y, C
//TEXT ENCLOSED within delete markers will be REMOVED @<DEL>@
' w$ [& o2 V' u4 m& o! q3 h
' @* l& }7 F, lfunction OnFinish(selProj, selObj)
, }5 }+ T7 n! w{
' U& w$ T& _5 x/ h* v9 p try; t2 g( I7 B) {4 o, s; y, \& q
{5 l: s/ e' k Q* p$ B) `0 ?8 U& _
var bodyTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "body_template.txt";, m% i5 k. Y& \6 t V8 n
var bodyTemplateText = wizard.RenderTemplateToString(bodyTemplateFile);- e1 I" f, t! i- }, k1 [* ?
wizard.AddSymbol("BODY_TEMPLATE", bodyTemplateText);
* r1 I3 m1 [8 w7 N8 V. t4 G7 S7 g2 P: f2 B$ {
var entryPointsTemplateFile = wizard.FindSymbol("TEMPLATES_PATH") + "\\" + "entry_points_template.txt";
# W% b( A& n" I, |* q$ d" k+ m var entryPointsTemplateText = wizard.RenderTemplateToString(entryPointsTemplateFile);& W2 S1 n' _, `( z1 k. j0 v
wizard.AddSymbol("ENTRY_POINTS_TEMPLATE", entryPointsTemplateText);
' k. d2 l, L0 T$ Y9 x2 G4 O- [$ k$ r
var unloadOption = "UNLOAD_IMMEDIATELY";
* d d( E6 J/ N; G7 X6 ?& N1 g8 s if ( wizard.FindSymbol( "UF_UNLOAD_UG_TERMINATE" ) )% s& G7 }' T! I C6 o$ }
{
L: c* j9 F5 q3 E$ ]' | unloadOption = "UF_UNLOAD_UG_TERMINATE";
. e& l# W% e6 ]; r$ ~% n# ]' g$ ^7 f }! V! X7 s3 s0 G) y c! o* }! e) u% P
else if ( wizard.FindSymbol( "UNLOAD_SEL_DIALOG" ) )
0 ^" j g0 a2 H+ p1 @; K {
' u, ~% ^% b6 y1 j unloadOption = "UF_UNLOAD_SEL_DIALOG";* J$ }4 h+ j4 u/ D
}
% [+ u' [% I+ R, @* Q wizard.AddSymbol("UF_UNLOAD_OPTION", unloadOption);0 j2 s2 x1 f7 h% }9 d$ d6 s; F$ S0 o
. W! S& u2 U/ g, X- J2 B0 I) w- t4 r* T0 u0 v2 x2 ?0 [
// Assign the project path and project name
' x$ g7 o# F: P; F var strProjectPath = wizard.FindSymbol("PROJECT_PATH");" r8 }. |# r! C0 ^3 x4 }, L
var strProjectName = wizard.FindSymbol("PROJECT_NAME");
' |: Y; v9 S8 B1 g% s" ` x h var strClassName = wizard.FindSymbol("MAIN_CLASS_NAME");" V* f+ z h& R8 X7 l
if ( strClassName.length < 1 )
h) A, r @9 C {# E" X7 ^4 P, h+ p# E' s7 B% z
wizard.AddSymbol("MAIN_CLASS_NAME", "NONAME");3 f$ E* J) p% y: E/ j3 T% y
}
6 X% U+ ^9 ^( F) U0 s1 `# t
( Q. ], b- d* b: F' R7 U' X, P; N, g // Create the Visual C++ project and call it "NXOpenProj"
. Z" c" m V8 G% r selProj = CreateProject(strProjectName, strProjectPath);
+ D/ v& T$ C& E: o, N+ x: Q// selProj.Object.Keyword = "NXOpenProj"
6 j- G. i. l5 B( F3 ? n+ t; O* H; Z9 W0 D! C) ]$ m
// Add common and specific configurations to the project
- L9 B. p. [+ f3 E AddCommonConfig(selProj, strProjectName);# S" Z+ m- @( B5 R
AddSpecificConfig(selProj, strProjectName);" n; h6 K, g- S4 j& x
// selProj.Object.keyword = "MFCDLLProj";
! k$ l: x% g1 q6 f( K7 ]; n1 |8 G& m: p3 F z& P4 i4 Q
//Set the project filters ) c5 M( O- v$ K& Z3 L! }, N
SetupFilters(selProj);
2 B( ]' X! s; o- U/ I7 R5 ]
8 X3 |9 b! i6 V' [ k# W6 u" w // Add files to the project from the project's Templates.inf file
) U( l* E, N* H5 E1 V5 D AddFilesToProjectWithInfFile(selProj, strProjectName);
! {% V& @' D# @% I E# F" `1 `" U
! j8 S2 t& A1 z. f- R selProj.Object.Save();! ]2 ~( G: J' `% e0 M- G' d
}
: W& d9 ], ~8 z9 |: p) i catch(e)/ ^$ x4 ? M9 Y- m( B
{
7 Y i, m& ?0 l+ J9 M if (e.description.length != 0)1 h2 w E+ |- u
SetErrorInfo(e);
7 H9 m& h$ D* G4 M' ? return e.number
0 { @4 D) p0 \ }
$ J, P l% I' u8 V6 Y7 q}
: Y) \5 R, n) T Z9 D% B" D) F8 J, I: k+ }1 z3 r p j
function SetFileProperties(projfile, strName)" c" Z) A. \! G/ Z) A! E' A
{2 Q S+ e' c/ l L; D
return false;
% P8 N) l, {, [}, j0 }% h" O9 A' ?; ~
7 W2 ^" M' J4 |% i6 q" W% l
function DoOpenFile(strTarget)
, s& T: c+ G) S# H' W+ I{. V+ ?$ q" L$ w% K/ o) |6 l$ L5 I2 g
return false;. ^$ T3 \& q' m& ^" T% n; H
}
% t( N* I8 e/ C( [
6 S& {; _' [) e+ o# O kfunction GetTargetName(strName, strProjectName, strResPath, strHelpPath)
% j. m' c0 ]! _3 ] L! O{0 N" {4 h H+ l
try9 T. r1 y9 _) L5 O- a
{
1 L" K; F* r- C$ o var strTarget = strName;, u' C& \/ z9 ]3 F
if (strName.substr(0, 4) == "root"). r# d2 j' M. T5 J
{
- p; U) \! o% n; v! R! d var strlen = strName.length;+ Y/ R- e {$ }
if (strName == "root.ico" || strName == "root.rc2")4 {9 Y6 z4 I1 ] |9 I8 ?4 y% A
{
1 ^, f% u- G4 E var strSafeProjectName = wizard.FindSymbol("SAFE_PROJECT_NAME");7 |4 k3 K4 z+ I0 C
strSafeTarget = strSafeProjectName + strName.substr(4, strlen - 4);7 V* s5 u2 ^! E" W5 S c$ V8 [
strTarget = strResPath + "\\" + strSafeTarget;
, i7 I+ K8 o6 F4 L& n \) C }. y' ?' {) |1 r2 [. H) n/ n
else if (strName == "root.txt" )% ^2 l! D5 m+ g+ U# q4 }
{
6 ~9 L; A: A2 ] strTarget = strProjectName + ".cpp";6 y" u+ U' d! ]2 T: l4 y4 r
}
7 d8 k7 e! l5 u/ |# [, s+ ^ else
; k: t) X3 N0 f# q) j& e' c" i {4 J# o( e. y: s
strTarget = strProjectName + strName.substr(4, strlen - 4);1 Q0 H$ ~: m* I' u1 p
} T( B0 a) I" U) ?+ q
return strTarget;
. ]1 T- n: v0 ` }
5 P8 |; G, E) C1 L8 K% c5 G* g
% S7 e* l$ F: Z! z7 r% ?; l switch (strName)
) H" C- J9 F$ w% X: ?7 S" l# ^% x {
9 K$ }4 f/ p2 w case "readme.txt":
, v+ M+ {0 W8 }4 t: Z+ i" W' \+ T strTarget = "ReadMe.txt";
/ ~; n5 j% |7 Q8 C break;: F s8 q" k3 x- M! M
case "all.rc":( c) B- s" q+ C. H, z% {
case "dlgall.rc":; R7 S2 G1 @" k8 F
strTarget = strProjectName + ".rc";
' ]( I9 @1 R3 [/ ^1 C& y! E break;0 M# K4 i0 w1 q( G8 e* w
case "dlgres.h":! ~5 F l7 d4 r
case "resource.h":
; B. ~( p$ P7 ~- y1 c* i strTarget = "Resource.h";
5 g$ s( F2 `8 @8 Y% S0 [ break;
3 W* q/ D1 [ I. ^/ P& i% U default:) i+ |! [5 s0 J% h7 u/ H
break;( n# ?# a4 O a
}
% a l& ?4 v; f8 v5 R return strTarget;
- c8 {1 ?2 n9 j! @0 X! R! | }
1 E# q9 ?2 k/ i+ n+ l catch(e)
9 W( l' f3 Y( B' j {
7 s- ^5 w/ c( |# n- d throw e;
1 E0 W' ~: b0 r) M+ ]+ K1 V }
# ]5 X4 q2 r: z$ h: d: |8 H}
2 e- y& b$ b1 g) G* Y/ \4 f% M X; G. N3 F. q# c
function AddSpecificConfig(proj, strProjectName)8 J& Z! ?: L) V4 Q; G8 H; j( F a
{' {2 E! {+ N q2 X* X; v
try
. n5 t8 q2 u% v. M { z) j7 @2 }0 e2 {8 q% e
var isDllApp = wizard.FindSymbol("DLL_APPLICATION");8 b3 B' ~- w8 s$ h8 W4 p
var isCxx = true;
9 }6 I* u5 m- G J7 X: m8 | n! D% E. M k! V6 a5 f/ ?) M
var appType;/ k5 W! X7 U' T/ C x% K
var appExtension;, X2 ^& f. k$ z9 J- p- e3 D
, y: ]; T4 d! o: P* r9 }
proj.ConfigurationManager.AddPlatform("x64", "Win32", true);8 P) x# i6 W# ^7 ~9 l5 A' u
7 Z- z- R7 D/ ~5 N+ U4 y) {9 o0 o
if ( isDllApp ): A! o+ p" N( @. j; i" ]
{9 L X9 Y! `# x5 i& D
appType = typeDynamicLibrary;
9 q& [+ y4 W4 I0 k0 q- `& h appExtension = ".dll";
; l4 i. [* ]3 I, b5 Y' k }
0 Q3 |( k. k0 k$ R else+ P" G a1 o+ w2 |) H+ Y7 P) Z% y
{* k( b4 q8 a$ d# @/ F; s8 W! m5 e
appType = typeApplication;+ A2 h8 A. G8 f
appExtension = ".exe";
$ s" C9 D% j9 L3 r) ~2 G }! A) A1 s8 j# F% K4 ^/ P( ]1 ^3 q
! P( c" A; t' e. X var linkLibs = "libufun.lib";% i! h- n' r+ E1 y
linkLibs += " libufun_cae.lib";/ h% v1 ~4 O' M
linkLibs += " libufun_cam.lib";# H9 ~/ Q7 P( `" M
linkLibs += " libufun_die.lib";) O, u( X1 _, e( W' R9 m
linkLibs += " libufun_vdac.lib";
7 B/ q! R5 T# \; R* T( b4 m: Q linkLibs += " libufun_weld.lib";1 C' [) H$ l* ?7 P1 @4 r" u
2 j" c6 z ^0 F( y4 Q' o, `( Y if ( isCxx)3 s) T& s8 w) T4 v3 Y$ P" h
{3 w0 j. z$ Q2 P& M; N
var wshell = new ActiveXObject("WScript.Shell")
5 d1 q& Q$ h- U, x var libpath ="D:\\dsplm\\Siemens\\NX12\\ugopen";
, s6 J7 i6 H( ^# I0 K" ~4 c- s var Fo =new ActiveXObject("Scripting.FileSystemObject");
( G5 V$ F& A# V& t$ B var FSo = new Enumerator(Fo.GetFolder(libpath).Files);
; ~( |6 K! a3 C4 I. Z var nxopencppName = "libnxopencpp";2 n0 a6 s8 r1 |% _, W2 V) v, K" ?8 A6 Q
for(; !FSo.atEnd(); FSo.moveNext())
0 R' n# I9 d: g* J: D! D: i7 Y {
$ r) M7 t& E7 H8 r0 g if(FSo.item().name.match("^"+nxopencppName)==nxopencppName) //check if file name start with libnxopencpp
/ n6 `6 s( n' v& r9 v$ } if(FSo.item().name.slice(FSo.item().name.lastIndexOf(".")+1).toLowerCase() == "lib") //check if file has '.lib' as an extension1 E' t; B/ Z0 e8 C) T
{
! l4 G& H, z+ v5 t* \3 b linkLibs = linkLibs + " " + FSo.item().name;
$ M7 X8 V. b8 i/ H' I2 P }( U$ Q! v! ?; U# t, A$ V* u0 A
}; g0 h1 K& q3 w8 N: d
}
, b& n9 P& E# u$ y/ Y( B
. H- r3 S6 n7 Y% z5 J1 d" O0 L6 E if ( isDllApp )
8 x" I/ T5 R: I6 {5 w3 w6 q5 O {- i- G8 @9 U1 N% @
linkLibs += " libugopenint.lib";
' {, \; `+ W5 ]# ^$ | linkLibs += " libugopenint_cae.lib";; G# d6 R; O. I; G$ c' e/ }" }
linkLibs += " libugopenint_cam.lib";
5 l+ @- `. [ Q$ Q2 L9 g( e
; b/ `2 w$ R% t3 N& ~ if ( isCxx)+ x# X/ j# H8 t% J3 ?
linkLibs += " libnxopenuicpp.lib";
) o* t+ o# R8 W }6 t$ `5 N1 ~% M
; K: m/ H( R% K$ \2 j% x4 \
//=================================================================1 m h, |& f# P$ D% J
// Debug Configuration
- [% g6 O( F' r0 z& x //=================================================================. B# `6 a5 m7 E! n( `6 G/ P
//LRJ - add x64( u0 W5 T1 t' y1 d4 n) C# m
var config = proj.Object.Configurations("Debug|x64");; ~" Q3 h' [# X. ]3 s7 m: W
config.ConfigurationType = appType;
. H! M0 o" x# y4 _ config.CharacterSet = charSetUnicode;
& W, A& _* q6 \& ]: _& G, W config.useOfMfc = useMfcStdWin;
F- a' `/ U8 s 9 C. A) l/ U8 j0 _
var CLTool = config.Tools("VCCLCompilerTool");# n2 K# H' u9 `% Y2 y
var strDefines = GetPlatformDefine(config); s; N0 r' M# j( N
strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";& n0 f% k- b9 W, Q f
if ( isDllApp ), E/ V; N# D+ D0 M/ k o3 S9 g
{8 @" K5 Q& \) f% I* P4 \
strDefines += ";_USRDLL";6 }* f/ d# M: e$ x3 M4 V- O
}
1 o) x1 R5 Z/ v# B- l9 r5 i else
$ o) @: v# C+ `6 z. y: z {
( i$ v, w: o1 `% m, T3 ?" F2 ^3 Z strDefines += ";_CONSOLE";
2 f; b( U' l: |) H% e, v }
0 Q4 X+ G" \5 ]' s3 v& I3 x- A, ^" ^, t. T4 x
CLTool.PreprocessorDefinitions = strDefines;3 S# U/ z9 Q) ]$ G D
6 H0 g1 n, Y3 o1 B) `" ] config.UseOfMFC = useMfcDynamic;, }2 Y$ w& c2 N+ J4 ~
CLTool.RuntimeLibrary = rtMultiThreadedDLL;7 _0 B; l( I" Q4 f
# [( P8 P6 E1 Z5 F+ v CLTool.TreatWChar_tAsBuiltInType = true;' E' o2 W4 `% b4 g, F# f! c6 O# ?
CLTool.DebugInformationFormat = debugEnabled;/ c L2 i/ {7 V5 C/ f7 G/ M) k
CLTool.AdditionalIncludeDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
* G; P: X! o. I% f, I' N
, t- R+ }9 p' T* z CLTool.RuntimeTypeInfo = 1;) U9 p: z: s* N) q# n0 P8 K$ W
CLTool.UsePrecompiledHeader = pchNone;% R% E5 R, q( m& L" R
CLTool.AdditionalOptions = "/d1scalableinclude-";
: [9 Q2 @5 r+ T1 {) `
. M/ ~: j$ E2 t9 G$ Y d//LRJ - change for X64 - add TargetMachine
6 m$ K- F- j# S" }- R) J var LinkTool = config.Tools("VCLinkerTool");
- [5 p% {" a; ?1 f' R4 Q LinkTool.TargetMachine = machineAMD64;
7 Q& L2 X/ g" q/ W LinkTool.LinkIncremental = linkIncrementalYes;9 q/ J$ f6 M, ]1 ^( G
LinkTool.GenerateDebugInformation = true;9 y$ u: Y% _/ |7 d& x. s
LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;- y3 N# y7 D7 B2 E, C* Z; l: a
if ( isDllApp )
8 _ [! G' u9 Q. h. i' X; D9 [ LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";
+ {% h/ a- C' v% T4 z LinkTool.AdditionalLibraryDirectories = "D:\\dsplm\\Siemens\\NX12\\ugopen";
0 W8 H% }- l1 e, S/ v- U LinkTool.AdditionalDependencies = linkLibs;+ f* m9 i! T$ a& k" b( }: U. a
LinkTool.SubSystem = subSystemConsole;
, ~0 Q9 n5 o7 ^, N//LRJ - add following line for X64 definition$ s# e1 j; m1 }0 c5 u5 N
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");8 @" u& x6 @# u2 q8 k. j5 M
$ `+ a7 [4 i7 l, h a
//=================================================================
* R, \2 {/ F' v1 @% k4 @( t6 o( O' g // Release Configuration
; f0 }% s- v2 P( B6 D //=================================================================/ B4 Q( p) \0 D0 e+ J r7 r
//LRJ - add X64 definition to configuration line! H6 D5 t% j. \/ r2 H
config = proj.Object.Configurations("Release|x64");
/ ?1 d* Q _ l) f' i# e# w* m config.ConfigurationType = appType;) X) r- ]' |" l9 V% l
config.CharacterSet = charSetUnicode;& ~# f5 J/ F0 e5 X
config.useOfMfc = useMfcStdWin;. }& z/ k' I! x: x" W. e2 W5 Q
4 v( z8 U; D7 o( b( k
CLTool = config.Tools("VCCLCompilerTool");
- p2 f+ J: P& w. x8 i8 O: I strDefines = GetPlatformDefine(config);
6 t2 Q0 u9 k! y* K$ w3 w; S$ { strDefines += "_CRT_SECURE_NO_WARNINGS;_SECURE_SCL=0";
; `; }9 @! R' ^+ a9 ~ if ( isDllApp )7 z1 i. R# V' P
{
/ i- J& [+ P" ^' C strDefines += ";_USRDLL";& l. a8 p/ m% H, c% s6 Q, C- a
}
+ r- J# M; z/ N4 @3 ? else
8 Y @: D! L- o2 a4 l* v' s {
# @$ i9 o) A% C strDefines += ";_CONSOLE";1 R; p0 h' |9 v5 s/ W. f1 s
}$ k; H0 O$ ]! L& [; A H/ N; G
8 P' V& p1 Z8 V0 e( z
CLTool.PreprocessorDefinitions = strDefines;
9 k2 N. X4 H( _& y# B
0 e( ^. R4 n7 Q$ D config.UseOfMFC = useMfcDynamic;
n t+ E$ ^- N' Y; x: C CLTool.RuntimeLibrary = rtMultiThreadedDLL;- J! o F7 B1 l+ }. M5 e! w4 i
' {" T# n q F: B3 H CLTool.InlineFunctionExpansion = expandOnlyInline;) |. ~9 `7 S4 K+ ]6 p# e
CLTool.TreatWChar_tAsBuiltInType = true;; ^4 |4 z. x9 }2 I9 I4 _
CLTool.DebugInformationFormat = debugEnabled;
9 y( d: E* g) s. a9 v1 i. U6 Z$ n5 A' f
CLTool.AdditionalIncludeDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";
' F [: N D X: o3 o4 S2 }" U5 v. p7 Z. q' `9 X g
CLTool.RuntimeTypeInfo = 1;6 Z' z; Z. k$ o' Q
CLTool.UsePrecompiledHeader = pchNone;% O0 j D5 A6 L0 u2 q" v
//CLTool.AdditionalOptions = "/d1scalableinclude-";
- n* p+ K) I) g1 q) Y
7 L; _7 n( j# L1 ~7 k LinkTool = config.Tools("VCLinkerTool");
2 v+ y. h7 ^7 c* n! z//LRJ - add following line for X64 definition
- I% H9 t+ S% ^! s LinkTool.TargetMachine = machineAMD64;) P: ^9 ~8 C; R) [' x! j
LinkTool.OutputFile = "$(OutDir)/" + strProjectName + appExtension;9 L9 q3 R: _) ?$ e. m
if ( isDllApp )
) I( I N/ S' O1 R LinkTool.ImportLibrary = "$(OutDir)/" + strProjectName + ".lib";
$ U; v& g4 b6 m9 O# z% m$ O LinkTool.GenerateDebugInformation = true;
+ j& d, h- S4 t% v. ] LinkTool.LinkIncremental = linkIncrementalNo;
; r, L- u) Y4 F6 |3 B6 l LinkTool.AdditionalLibraryDirectories += ";D:\\dsplm\\Siemens\\NX12\\ugopen";
1 J7 Y* B& K/ O! b! \" L* Q LinkTool.AdditionalDependencies = linkLibs;: X2 G2 ~, t$ s- v: A4 [2 o
LinkTool.SubSystem = subSystemConsole;
) B4 @6 [" W5 O) c' d0 v8 o& F//LRJ - add following line for X64 definition3 f: \( {- v+ k7 e
dte.ExecuteCommand("Build.SolutionPlatforms", "x64");# o$ z0 b I, `6 M: b
}
) Y0 p# E4 l9 \+ R catch(e)
/ v: b1 l1 u3 Y$ Z {
+ L( t; A1 z! J% g! L+ { throw e;& V/ n [+ n; f0 j6 ]: n4 [6 \
}
3 y1 k( m- p4 F( h5 B( f; A}& A% z+ u" P* a5 X5 I( T3 o [
9 a3 H5 B7 {& A3 t; {
( U: [8 I& n, `; Q4 y; a, F1 O
6 J4 S: `1 y5 W# f8 U9 y4 O |
|