質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,6 +14,14 @@
|
|
14
14
|
|
15
15
|
```python
|
16
16
|
|
17
|
+
python setup.py build_ext --inplace
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
-------------------------------------------------------
|
22
|
+
|
23
|
+
実行結果
|
24
|
+
|
17
25
|
|
18
26
|
|
19
27
|
running build_ext
|
@@ -22,13 +30,37 @@
|
|
22
30
|
|
23
31
|
building 'calculate' extension
|
24
32
|
|
25
|
-
C:\
|
33
|
+
C:\MinGW\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 "-IC:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include" "-IC:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include" -c cythonfn.c -o build\temp.win-amd64-3.6\Release\cythonfn.o
|
26
34
|
|
27
|
-
cython
|
35
|
+
In file included from C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include/Python.h:65:0,
|
28
36
|
|
29
|
-
|
37
|
+
from cythonfn.c:4:
|
30
38
|
|
31
|
-
er
|
39
|
+
C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include/pytime.h:112:5: warning: 'struct timeval' declared inside parameter list
|
40
|
+
|
41
|
+
_PyTime_round_t round);
|
42
|
+
|
43
|
+
^
|
44
|
+
|
45
|
+
C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include/pytime.h:112:5: warning: its scope is only this definition or declaration, which is probably not what you want
|
46
|
+
|
47
|
+
C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include/pytime.h:117:5: warning: 'struct timeval' declared inside parameter list
|
48
|
+
|
49
|
+
_PyTime_round_t round);
|
50
|
+
|
51
|
+
^
|
52
|
+
|
53
|
+
writing build\temp.win-amd64-3.6\Release\calculate.cp36-win_amd64.def
|
54
|
+
|
55
|
+
C:\MinGW\bin\gcc.exe -shared -s build\temp.win-amd64-3.6\Release\cythonfn.o build\temp.win-amd64-3.6\Release\calculate.cp36-win_amd64.def "-LC:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\libs" "-LC:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\PCbuild\amd64" -lpython36 -lmsvcr140 -o "C:\Users\ユーザ名\Dropbox\prg\make_tips\calculate.cp36-win_amd64.pyd"
|
56
|
+
|
57
|
+
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\libs/python36.lib(python36.dll): Recognised but unhandled machine type (0x8664) in Import Library Format archive
|
58
|
+
|
59
|
+
C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\libs/python36.lib: error adding symbols: File format not recognized
|
60
|
+
|
61
|
+
collect2.exe: error: ld returned 1 exit status
|
62
|
+
|
63
|
+
error: command 'C:\\MinGW\\bin\\gcc.exe' failed with exit status 1
|
32
64
|
|
33
65
|
|
34
66
|
|