|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
这里给大家提醒下:% _2 W6 @# b! V9 \
7 X( g3 Y- K" s& l8 @! B3 c
NX 8 ,NX 8.5 必须要在VS2010上去编译运行。; [0 K6 e3 S9 a: \. n, ?
也许你不详细,那就用VS2012 去运行试试,整个代码编译不会出问题,但是当你运行的时候,就会程序崩掉。$ i5 |7 P- r5 S) a. {1 R
主要原因可能还是底层库对向量Vector的支持问题,希望大家引以为戒
2 O/ |! i' b$ w5 {# h( G( A) B2 f) y1 W6 Q0 k& {
7 q" l* `7 O" B
*** 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 中国标准时间
) b5 n; O9 M+ P$ s+++ General Fault Exception) g; G7 Z: g; a3 x( h3 v
[ 1] 7FFB05416CFB (ntdll)
8 @* [5 m8 I* |+ x[ 2] 7FFB053947B1 (ntdll)1 T' J2 p k8 |1 _1 a5 ~
[ 3] 7FFA93306338 free\free Line 51 +0x1c (MSVCR110)5 G4 p* t! l# e( G0 O
[ 4] 7FFA941494E2 xmemory0\std::allocator<int>::deallocate Line 587 +0x32 (AutoCavityMill)% k8 D# X$ ^! [. P Z
[ 5] 7FFA9414912C xmemory0\std::_Wrap_alloc<std::allocator<int> >::deallocate Line 888 +0x3c (AutoCavityMill)
$ W% T2 c h& }" X6 U[ 6] 7FFA94146C17 vector\std::vector<int,std::allocator<int> >::_Tidy Line 1542 +0x97 (AutoCavityMill)
2 P" T$ l1 o- f- Y' G[ 7] 7FFA94138EA8 vector\std::vector<int,std::allocator<int> >::~vector<int,std::allocator<int> > Line 901 +0x28 (AutoCavityMill); P& d$ L! i0 [, E) ^
[ 8] 7FFA941ACB18 plmhometoolkits_colorface\plmhomeToolKits_colorFace::apply_cb Line 200 +0x2a8 (AutoCavityMill)0 t7 l3 i! c" U2 _4 I; | o
[ 9] 7FFA941AD3EF callback\NXOpen::Callback0MemberFunction<plmhomeToolKits_colorFace,int>::operator() Line 138 +0x2f (AutoCavityMill)
) Q4 |5 } Q- X" ^$ A9 t0 a- q \
" F1 F! _' Z7 ?6 c4 K高版本VS也可以用,但是要安装好对应的工具集
( N- Q8 R' B9 o3 Y! HVS各版本对应的工具集版本号如下:
& X; g1 m1 v9 f5 k6 e-Visual Studio 2019: V142
/ Z; N& p: S$ V-Visual Studio 2017: V141
: h: g6 `# [) n3 ~9 q- n. S, i-Visual Studio 2015: V1406 e& g; B, X( R( i
-Visual Studio 2013: V1202 Y3 o: g6 t: j ~) ^3 h- K2 k
-Visual Studio 2012: V110) |* U% x6 ^: P2 V+ S0 ]! A
-Visual Studio 2010: V100; R' V2 h- u& C7 [" f) ]7 w
-Visual Studio 2008: V900 }0 ?- F# v9 n k
-Visual Studio 2005: V80. _5 d; p r6 v& ~4 \
-Visual Studio 2003: V71
A* A, a( M; ]5 f-Visual Studio 2002: V703 I4 A9 c; o# B& F
-Visual Studio 6: V60
: v2 d! s( W3 b9 O9 n" x# F( R5 K3 F) P0 D, t2 B5 T' ^8 G
3 w3 o; G* ~: Z, T2 ~, h# r2 B+ O1 k- G m. P4 M! G/ N/ l
) ~9 J" ]: f0 ^
7 m' p3 e( [4 I* d, G$ u8 d5 w8 g" \/ O% m1 a- D! H e
; D, P1 d. a& R y+ A. y' R" E3 c" V0 Q' j0 G$ c) O
; ^- e4 d) m+ \" k; w* _% `4 K* Z/ x$ E0 A6 l
|
|