-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swig on window10 #26
Comments
Did you find the method to solve this problem?I just met the same issue. |
很简单,将DOTA_devkit-master文件夹根目录的 |
|
牛,有用 |
牛逼! |
还是不行,报同样的错误,有什么其他办法吗 |
牛啊牛 |
Can I use swigwin on win10 to compile the repo?
When I do that, I met some errors, and how can I solve this?
polyiou.cpp: warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
polyiou.cpp(89): error C2059: 语法错误:“if”
polyiou.cpp(90): error C2059: 语法错误:“if”
polyiou.cpp(91): error C2065: “n1”: 未声明的标识符
polyiou.cpp(91): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
polyiou.cpp(91): error C2440: “初始化”: 无法从“int”转换为“int [1]”
polyiou.cpp(91): note: 没有转换为数组类型,但有转换为数组的引用或指针
polyiou.cpp(92): error C2065: “n2”: 未声明的标识符
polyiou.cpp(92): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
polyiou.cpp(92): error C2440: “初始化”: 无法从“int”转换为“int [1]”
polyiou.cpp(92): note: 没有转换为数组类型,但有转换为数组的引用或指针
polyiou.cpp(94): error C2059: 语法错误:“for”
polyiou.cpp(94): error C2143: 语法错误: 缺少“)”(在“;”的前面)
polyiou.cpp(94): error C2143: 语法错误: 缺少“;”(在“<”的前面)
polyiou.cpp(94): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
polyiou.cpp(94): error C2143: 语法错误: 缺少“;”(在“++”的前面)
polyiou.cpp(94): error C2086: “int i”: 重定义
polyiou.cpp(94): note: 参见“i”的声明
polyiou.cpp(94): error C2059: 语法错误:“)”
polyiou.cpp(94): error C2143: 语法错误: 缺少“;”(在“{”的前面)
polyiou.cpp(94): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
polyiou.cpp(99): error C2059: 语法错误:“return”
polyiou.cpp(100): error C2059: 语法错误:“}”
polyiou.cpp(100): error C2143: 语法错误: 缺少“;”(在“}”的前面)
polyiou.cpp(105): error C2143: 语法错误: 缺少“;”(在“{”的前面)
polyiou.cpp(105): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
The text was updated successfully, but these errors were encountered: