dojiong / Lo-runner

Loco's program runner core, for online judge
165 stars 63 forks source link

安装时出错了呀 #17

Open Setiuo opened 5 years ago

Setiuo commented 5 years ago

C:\Users\Dell\Desktop\Lo-runner-master>python C:\Users\Dell\Desktop\Lo-runner-master\setup.py install running install running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\lorun copying lorun__init__.py -> build\lib.win-amd64-3.6\lorun running build_ext building 'lorun/_lorun_ext' extension creating build\temp.win-amd64-3.6 creating build\temp.win-amd64-3.6\Release creating build\temp.win-amd64-3.6\Release\lorun creating build\temp.win-amd64-3.6\Release\lorun\cext D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-ID:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\include" "-ID:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\include" "-ID:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-ID:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-ID:\Windows Kits\10\include\10.0.17763.0\ucrt" "-ID:\Windows Kits\10\include\10.0.17763.0\shared" "-ID:\Windows Kits\10\include\10.0.17763.0\um" "-ID:\Windows Kits\10\include\10.0.17763.0\winrt" "-ID:\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tclorun/cext/lorun.c /Fobuild\temp.win-amd64-3.6\Release\lorun/cext/lorun.obj lorun.c c:\users\dell\desktop\lo-runner-master\lorun\cext\lorun.h(50): error C2061: 语法错误: 标识符“u_char” c:\users\dell\desktop\lo-runner-master\lorun\cext\lorun.h(57): error C2059: 语法错误:“}” c:\users\dell\desktop\lo-runner-master\lorun\cext\convert.h(24): error C2146: 语法错误: 缺少“)”(在标识符“calls”的前面) c:\users\dell\desktop\lo-runner-master\lorun\cext\convert.h(24): error C2081: “u_char”: 形参表中的名称非法 c:\users\dell\desktop\lo-runner-master\lorun\cext\convert.h(24): error C2061: 语法错误: 标识符“calls” c:\users\dell\desktop\lo-runner-master\lorun\cext\convert.h(24): error C2059: 语法错误:“;” c:\users\dell\desktop\lo-runner-master\lorun\cext\convert.h(24): error C2059: 语法错误:“[” c:\users\dell\desktop\lo-runner-master\lorun\cext\convert.h(24): error C2059: 语法错误:“)” lorun/cext/lorun.c(37): error C2037: “args”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(40): error C2037: “fd_in”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(41): error C2037: “fd_in”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(43): error C2037: “fd_out”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(44): error C2037: “fd_out”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(46): error C2037: “fd_err”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(47): error C2037: “fd_err”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(51): error C2037: “time_limit”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(55): error C2037: “memory_limit”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(58): error C2037: “runner”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(60): error C2037: “runner”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(64): error C2037: “trace”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(70): warning C4013: “initCalls”未定义;假设外部返回 int lorun/cext/lorun.c(70): error C2037: “inttable”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(72): error C2037: “files”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(74): error C2037: “files”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(76): error C2037: “trace”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(77): error C2037: “trace”的左侧部分指定未定义的结构/联合“Runobj” lorun/cext/lorun.c(84): error C2079: “runobj”使用未定义的 struct“Runobj” lorun/cext/lorun.c(88): warning C4133: “函数”: 从“int ”到“Runobj ”的类型不兼容 lorun/cext/lorun.c(89): error C2224: “.args”的左侧必须具有结构/联合类型 lorun/cext/lorun.c(90): error C2224: “.args”的左侧必须具有结构/联合类型 lorun/cext/lorun.c(90): error C2198: “free”: 用于调用的参数太少 lorun/cext/lorun.c(94): warning C4133: “函数”: 从“int ”到“Runobj ”的类型不兼容 lorun/cext/lorun.c(96): error C2224: “.args”的左侧必须具有结构/联合类型 lorun/cext/lorun.c(97): error C2224: “.args”的左侧必须具有结构/联合类型 lorun/cext/lorun.c(97): error C2198: “free”: 用于调用的参数太少 error: command 'D:\Program Files\Microsoft Visual Studio\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe' failed with exit status 2

skyzh commented 5 years ago

仅支持 *nix。