Skip to content

Commit 2c2eda0

Browse files
committed
update to occt 7.5
1 parent 09d8333 commit 2c2eda0

7 files changed

Lines changed: 3501 additions & 58 deletions

File tree

.vscode/c_cpp_properties.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Linux",
5+
"includePath": [
6+
"${default}",
7+
"/usr/include/opencascade"
8+
],
9+
"defines": [],
10+
"cStandard": "c17",
11+
"cppStandard": "c++14",
12+
"intelliSenseMode": "linux-clang-x64"
13+
}
14+
],
15+
"version": 4
16+
}

binding.gyp

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"library_dirs": [
2727
],
2828
"include_dirs": [
29-
"/usr/local/include/opencascade",
29+
"/usr/include/opencascade",
3030
"<!(node -e \"require('nan')\")"
3131
],},
3232
],
@@ -58,22 +58,27 @@
5858
"ldflags": [
5959
"-Wl,-rpath,\$$ORIGIN",
6060
],
61-
6261
"library_dirs": [
62+
"/usr/lib/x86_64-linux-gnu",
6363
],
6464
"include_dirs": [
6565
"/usr/include/opencascade",
6666
"<!(node -e \"require('nan')\")"
67-
],}
67+
],
68+
"_libraries": [
69+
"/usr/lib/x86_64-linux-gnu/libTKMath.so",
70+
"/usr/lib/x86_64-linux-gnu/libTKG2d.so"
71+
]
72+
}
6873
],
6974
[
7075
"OS=='win'",
7176
{
7277
"library_dirs": [
73-
"./occt-7.2.0/win64/vc14/lib",
78+
"./occt-7.5.0/win64/vc14/lib",
7479
],
7580
"include_dirs": [
76-
"./occt-7.2.0/inc",
81+
"./occt-7.5.0/inc",
7782
"<!(node -e \"require('nan')\")"
7883
],}
7984
]
@@ -135,6 +140,7 @@
135140
],
136141
"libraries+": [
137142
"-lTKBO<(dbg)",
143+
"-lTKMath<(dbg)",
138144
"-lTKBool<(dbg)",
139145
"-lTKBRep<(dbg)",
140146
"-lTKernel<(dbg)",
@@ -146,7 +152,6 @@
146152
"-lTKGeomBase<(dbg)",
147153
"-lTKIGES<(dbg)",
148154
"-lTKernel<(dbg)",
149-
"-lTKMath<(dbg)",
150155
"-lTKMesh<(dbg)",
151156
"-lTKOffset<(dbg)",
152157
"-lTKPrim<(dbg)",
@@ -163,6 +168,7 @@
163168
],
164169
"other_libraries": [
165170
"-lTKTObj<(dbg)",
171+
"-lTKMath<(dbg)",
166172
"-lTKLCAF<(dbg)"
167173
],
168174
},

0 commit comments

Comments
 (0)