質問編集履歴

1

修正

2017/07/12 08:49

投稿

kohekoh
kohekoh

スコア140

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:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Users\AppData\Local\conda\conda\envs\anaconda\include" "-IC:\Users\kohei nishimuta\AppData\Local\conda\conda\envs\anaconda\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /Tccythonfn.c /Fobuild\temp.win-amd64-3.6\Release\cythonfn.obj
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
- cythonfn.c
35
+ In file included from C:\Users\ユーザ名\AppData\Local\conda\conda\envs\anaconda\include/Python.h:65:0,
28
36
 
29
- c:\users\appdata\local\conda\conda\envs\anaconda\include\pyconfig.h(222): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
37
+ from cythonfn.c:4:
30
38
 
31
- error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
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