|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
这里给大家提醒下:
4 k6 x# M/ a4 V0 z* V: X! G# s9 n
NX 8 ,NX 8.5 必须要在VS2010上去编译运行。9 y. q0 |' s! D+ a4 A
也许你不详细,那就用VS2012 去运行试试,整个代码编译不会出问题,但是当你运行的时候,就会程序崩掉。
" H* q+ w: z6 ^( p主要原因可能还是底层库对向量Vector的支持问题,希望大家引以为戒5 A- A2 j5 ]) ~3 L }& ]& d
& Y6 a" i4 b$ z+ D# n8 U' f' L1 @7 Z- w* L- I( p* [( ?4 S( G
*** EXCEPTION: O/S ERROR: signal 11 in line 1940 of o:\UGnx85\ip23\src\syss\error\ind\error.cxx at Thu Jul 08 19:58:58 2021 中国标准时间
1 M9 B& l2 ^. i; K2 q3 a+++ General Fault Exception
% U0 ] D5 c/ f) Q[ 1] 7FFB05416CFB (ntdll): t! x1 B2 \& O3 S/ s7 f
[ 2] 7FFB053947B1 (ntdll)
: e) T' X: m3 s* d) r( W( i. Y[ 3] 7FFA93306338 free\free Line 51 +0x1c (MSVCR110)
6 S% E, B# y& j/ \& ?& r[ 4] 7FFA941494E2 xmemory0\std::allocator<int>::deallocate Line 587 +0x32 (AutoCavityMill); b$ F& x1 V( L, p4 g
[ 5] 7FFA9414912C xmemory0\std::_Wrap_alloc<std::allocator<int> >::deallocate Line 888 +0x3c (AutoCavityMill)
4 L; J& D) w8 U[ 6] 7FFA94146C17 vector\std::vector<int,std::allocator<int> >::_Tidy Line 1542 +0x97 (AutoCavityMill)5 n; V' o9 P) Q+ F7 h( V& W+ @6 H
[ 7] 7FFA94138EA8 vector\std::vector<int,std::allocator<int> >::~vector<int,std::allocator<int> > Line 901 +0x28 (AutoCavityMill)' L9 f2 @$ d$ Y4 [) v5 j4 X% ^8 w
[ 8] 7FFA941ACB18 plmhometoolkits_colorface\plmhomeToolKits_colorFace::apply_cb Line 200 +0x2a8 (AutoCavityMill)' {6 B, S% d+ R5 [6 \( C3 O, f
[ 9] 7FFA941AD3EF callback\NXOpen::Callback0MemberFunction<plmhomeToolKits_colorFace,int>::operator() Line 138 +0x2f (AutoCavityMill)$ q' o5 \; u4 `& I1 {3 O
, s) m+ c( o/ s% o
高版本VS也可以用,但是要安装好对应的工具集
6 C+ \7 ^$ l' rVS各版本对应的工具集版本号如下:
2 }6 W" Q8 Y8 V/ |-Visual Studio 2019: V142
( K r4 p9 r L( N$ Q-Visual Studio 2017: V141" s$ j6 T# j+ W/ w
-Visual Studio 2015: V1400 Y: `( d! R: G9 \# |) j! P# H
-Visual Studio 2013: V120
, ]+ c* K& h8 u2 s-Visual Studio 2012: V110
7 q. [' J4 j) X- W/ E9 W2 ?0 b-Visual Studio 2010: V100
6 [5 B' o' Y! y3 n% G( i-Visual Studio 2008: V90. u+ y7 _4 E$ m
-Visual Studio 2005: V80' n$ U6 B# |: {
-Visual Studio 2003: V71
$ N, L2 Z* T2 W4 M+ p" Q-Visual Studio 2002: V70" t- G/ s) N; g* u% R
-Visual Studio 6: V60
$ t+ c5 v: \. t8 b) D
& k6 i7 t8 H9 p4 z. Z* x; Y6 |* j; ~
0 E5 I Z( [, N0 |
u* D6 Z D Y, c: f" g
4 |0 ]$ K! ^! Q4 d# u* F H; B# \$ d" M# C7 h7 a1 t, ]
# e+ G* Z1 M) X z J, I
6 i8 v/ l, ~" `) \0 @3 h0 K/ ~8 k% D/ @
1 Q/ \! j6 f" U V$ c# G E. c. B2 l) J) o( N( K3 `$ [
|
|