mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Initialization of OCC kernel (windows)
This commit is contained in:
parent
65a48bcd25
commit
368da4c996
10
ng/ngpkg.cpp
10
ng/ngpkg.cpp
@ -3063,11 +3063,12 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
extern "C" int Ng_stl_Init (Tcl_Interp * interp);
|
extern "C" int Ng_stl_Init (Tcl_Interp * interp);
|
||||||
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
|
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
|
||||||
|
#ifdef OCCGEOMETRY
|
||||||
|
extern "C" int Ng_occ_Init (Tcl_Interp * interp);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef OCCGEOMETRY
|
|
||||||
// extern "C" int Ng_occ_Init (Tcl_Interp * interp);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// extern "C" int Ng_Geom2d_Init (Tcl_Interp * interp);
|
// extern "C" int Ng_Geom2d_Init (Tcl_Interp * interp);
|
||||||
|
|
||||||
@ -3087,6 +3088,9 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
Ng_stl_Init(interp);
|
Ng_stl_Init(interp);
|
||||||
Ng_geom2d_Init (interp);
|
Ng_geom2d_Init (interp);
|
||||||
|
#ifdef OCCGEOMETRY
|
||||||
|
Ng_occ_Init (interp);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user