|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
这里给大家提醒下:
\2 {8 | @5 l6 z2 n! |$ Z) T( Z: }8 l
NX 8 ,NX 8.5 必须要在VS2010上去编译运行。 _3 Z- A% u' D/ R( m+ d5 n& C' @7 T
也许你不详细,那就用VS2012 去运行试试,整个代码编译不会出问题,但是当你运行的时候,就会程序崩掉。3 n6 i2 s' s$ L! _
主要原因可能还是底层库对向量Vector的支持问题,希望大家引以为戒
?* |4 n; @" F5 R2 I* g
4 y( m( z. o' P0 V/ @, W4 z2 f
' M+ U: O& \3 H1 U4 ]$ c8 {1 \*** 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 中国标准时间
4 R6 P6 [& C5 g* X* h" p+++ General Fault Exception) i0 R# w' b9 v8 \) B" \; y
[ 1] 7FFB05416CFB (ntdll)
# ?# J( f. @+ [3 L[ 2] 7FFB053947B1 (ntdll)
1 h3 U* L: H! v' H0 L. J[ 3] 7FFA93306338 free\free Line 51 +0x1c (MSVCR110)) X9 J" d& @8 U) C# [: `" d
[ 4] 7FFA941494E2 xmemory0\std::allocator<int>::deallocate Line 587 +0x32 (AutoCavityMill)
, ~" w7 s! d3 U Y3 b( E[ 5] 7FFA9414912C xmemory0\std::_Wrap_alloc<std::allocator<int> >::deallocate Line 888 +0x3c (AutoCavityMill)
+ g0 I8 I0 k& B) @3 N, M[ 6] 7FFA94146C17 vector\std::vector<int,std::allocator<int> >::_Tidy Line 1542 +0x97 (AutoCavityMill)
/ C; p2 G% L) s! h! A$ l: c: `' h[ 7] 7FFA94138EA8 vector\std::vector<int,std::allocator<int> >::~vector<int,std::allocator<int> > Line 901 +0x28 (AutoCavityMill)$ O4 x9 I9 r% K! f# t* }# F9 V
[ 8] 7FFA941ACB18 plmhometoolkits_colorface\plmhomeToolKits_colorFace::apply_cb Line 200 +0x2a8 (AutoCavityMill)
; w. E3 L7 |3 o u' ]/ n- X[ 9] 7FFA941AD3EF callback\NXOpen::Callback0MemberFunction<plmhomeToolKits_colorFace,int>::operator() Line 138 +0x2f (AutoCavityMill)
$ L3 W- U( @4 B. ^
% R0 ^" d" C- r6 ^/ ^2 y
高版本VS也可以用,但是要安装好对应的工具集' ^, | ?: u5 U
VS各版本对应的工具集版本号如下:) H+ b, }; [" H% _" S% D
-Visual Studio 2019: V142" g o1 ]4 B) v0 {( V
-Visual Studio 2017: V1418 c- \* r' N5 U: {
-Visual Studio 2015: V140" P. [& c2 n, x1 \# u8 u
-Visual Studio 2013: V1207 m9 p% Z4 M1 k
-Visual Studio 2012: V110
+ r% y' d- N7 F9 j' F-Visual Studio 2010: V100
/ T( E# A! E* \9 H; w% g, f-Visual Studio 2008: V906 B3 q) F, Z5 ^9 X4 R$ S6 U: ]0 O
-Visual Studio 2005: V80
: }1 n. c" V1 k: L/ d" \-Visual Studio 2003: V71
1 O. L4 d: Q) G" k# K" x* u-Visual Studio 2002: V709 U2 H- [. s9 a$ c. C
-Visual Studio 6: V60
. d7 O/ H0 G+ j+ I ?9 S j9 m
) t: i, M+ B' ]% I/ r0 _( G& {; V3 w0 N
1 \6 v5 f3 f) R% }8 R
/ g+ x) l) C* B$ P; A: v4 @7 l7 M0 O E& J
1 W1 K4 x3 U) {, J0 b8 y4 J$ @, R ]2 y$ D7 ]: k8 y$ r) Z
% v8 ~+ ^$ u0 J9 l8 Q, |& w' E( G/ R* E" l, b+ V- L
- ^6 ~3 g% A5 h2 L! d, l |
|