回答編集履歴
2
コード追加
test
CHANGED
@@ -13,6 +13,14 @@
|
|
13
13
|
```sh
|
14
14
|
|
15
15
|
-I/usr/local/opt/boost/include
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
または
|
20
|
+
|
21
|
+
```sh
|
22
|
+
|
23
|
+
-I/usr/local/include
|
16
24
|
|
17
25
|
```
|
18
26
|
|
1
コード追加
test
CHANGED
@@ -17,3 +17,33 @@
|
|
17
17
|
```
|
18
18
|
|
19
19
|
を追加してみてください
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
.
|
24
|
+
|
25
|
+
【追記】
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
> Undefined symbols for architecture x86_64:
|
30
|
+
|
31
|
+
"_PyLong_FromLong", referenced from: __ZNK5boost6python15to_python_valueIRKiEclES3_ in ccI3wkJk.o
|
32
|
+
|
33
|
+
"_PyLong_Type", referenced from: __ZNK5boost6python15to_python_valueIRKiE10get_pytypeEv in ccI3wkJk.o
|
34
|
+
|
35
|
+
"__Py_Dealloc", referenced from: __Py_DECREF in ccI3wkJk.o
|
36
|
+
|
37
|
+
"__Py_NoneStruct", referenced from: __ZN5boost6python3api6objectC2Ev in ccI3wkJk.o
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
g++-11のオプションに、さらに
|
42
|
+
|
43
|
+
```sh
|
44
|
+
|
45
|
+
-lpython3.9
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
を追加してみてください
|