3 Star 3 Fork 6

andersgong / d2gs

 / 详情

请问vs用什么版本可以编译通过?

Backlog
Opened this issue  
2021-03-11 21:50

请问大佬用的什么编译器?
我用的2012vs,报错图如下:输入图片说明

Comments (3)

mymmiss created任务
mymmiss set related repository to andersgong/d2gs
Expand operation logs

我是2019

@andersgong

已启动生成…
1>------ 已启动生成: 项目: ZERO_CHECK, 配置: Release Win32 ------
1>Checking Build System
2>------ 已启动生成: 项目: d2server_patches_13c, 配置: Release Win32 ------
3>------ 已启动生成: 项目: d2server_patches_13d, 配置: Release Win32 ------
4>------ 已启动生成: 项目: D2GS_13c, 配置: Release Win32 ------
5>------ 已启动生成: 项目: D2GS_13d, 配置: Release Win32 ------
6>------ 已启动生成: 项目: D2Warden_13c, 配置: Release Win32 ------
7>------ 已启动生成: 项目: D2Warden_13d, 配置: Release Win32 ------
8>------ 已启动生成: 项目: patch_d2server, 配置: Release Win32 ------
2>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/d2server_patches_1.13c/CMakeLists.txt
2>Assembling C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2server_patches_1.13c\1.asm...
3>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/d2server_patches_1.13d/CMakeLists.txt
2>1_13c.vcxproj -> C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\build\src\d2server_patches_1.13c\Release\1.exe
3>Assembling C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2server_patches_1.13d\1.asm...
4>Microsoft (R) Library Manager Version 14.28.29912.0
4>Copyright (C) Microsoft Corporation. All rights reserved.
4>
4> 正在创建库 C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/libs/1.13c/d2server.lib 和对象 C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/libs/1.13c/d2server.exp
5>Microsoft (R) Library Manager Version 14.28.29912.0
5>Copyright (C) Microsoft Corporation. All rights reserved.
5>
5> 正在创建库 C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/libs/1.13d/d2server.lib 和对象 C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/libs/1.13d/d2server.exp
4>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/d2gs_1.13c/CMakeLists.txt
5>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/d2gs_1.13d/CMakeLists.txt
6>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/d2warden_1.13c/CMakeLists.txt
6>Assembling C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13c\HashGameSeed.asm...
4>bnethash.c
3>1_13d.vcxproj -> C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\build\src\d2server_patches_1.13d\Release\1.exe
4>callback.c
5>bnethash.c
7>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/d2warden_1.13d/CMakeLists.txt
5>callback.c
7>Assembling C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\HashGameSeed.asm...
8>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/src/patch_d2server/CMakeLists.txt
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>charlist.c
6>bnethash.cpp
8>patch_d2server.cpp
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>charlist.c
6>d2ptrs.cpp
4>config.c
7>bnethash.cpp
7>d2callstub.cpp
5>config.c
6>d2warden.cpp
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
6>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13c\d2warden.cpp(66,1): warning C4005: “D2_1_13_c”: 宏重定义
6>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13c\d2warden.cpp : message : 参见“D2_1_13_c”的前一个定义
4>d2gamelist.c
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>d2gamelist.c
7>d2ptrs.cpp
8>patch_d2server.vcxproj -> C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\build\src\patch_d2server\Release\patch_d2server.exe
6>md5c.cpp
6>RC4.cpp
6>正在生成代码...
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\d2gamelist.c(684,21): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
4>d2ge.c
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\d2gamelist.c(684,21): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
5>d2ge.c
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>debug.c
7>d2warden.cpp
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>debug.c
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
6> 正在创建库 C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/build/src/d2warden_1.13c/Release/D2Warden.lib 和对象 C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/build/src/d2warden_1.13c/Release/D2Warden.exp
6>D2Warden_13c.vcxproj -> C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\build\src\d2warden_1.13c\Release\D2Warden.dll
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(901,52): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(914,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(949,52): error C2039: "Msg": 不是 "WardenHackCheckStruct" 的成员
4>eventlog.c
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1262,194): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1714,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1721,165): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1739,155): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1757,156): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1802,150): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1835,168): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1855,190): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1876,189): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(1941,150): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2012,150): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2050,150): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2090,235): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2094,70): error C2039: "Msg": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2095,102): error C2039: "Msg": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2095,105): error C2661: “SendMsgToClient”: 没有重载函数接受 1 个参数
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2099,261): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2108,254): error C2039: "HackName": 不是 "WardenHackCheckStruct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(105): message : 参见“WardenHackCheckStruct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2163,37): error C2039: "RC4_KEY_0X66": 不是 "Client_Data_Struct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(121): message : 参见“Client_Data_Struct”的声明
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(2282,27): error C2039: "RC4_KEY_0X66": 不是 "Client_Data_Struct" 的成员
7>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2warden_1.13d\d2warden.cpp(121): message : 参见“Client_Data_Struct”的声明
7>md5c.cpp
6>已完成生成项目“D2Warden_13c.vcxproj”的操作。
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>eventlog.c
7>MyHashGameSeed.cpp
7>RC4.cpp
7>正在生成代码...
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
7>已完成生成项目“D2Warden_13d.vcxproj”的操作 - 失败。
4>handle_s2s.c
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>handle_s2s.c
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>hexdump.c
4>main.c
5>hexdump.c
5>main.c
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>net.c
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>net.c
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>telnetd.c
5>telnetd.c
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\telnetd.c(785,24): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\telnetd.c(788,23): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\telnetd.c(793,21): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
4>timer.c
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\telnetd.c(785,24): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\telnetd.c(788,23): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\src\d2gs_src\telnetd.c(793,21): warning C4133: “函数”: 从“long *”到“const time_t *const ”的类型不兼容
5>timer.c
5>utils.c
4>utils.c
5>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
5>vars.c
4>C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\include\d2gelib\colorcode.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
4>vars.c
5>versioncheck.c
4>versioncheck.c
5>正在生成代码...
4>正在生成代码...
5>D2GS_13d.vcxproj -> C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\build\src\d2gs_1.13d\Release\D2GS.exe
4>D2GS_13c.vcxproj -> C:\Users\Moon\Downloads\andersgong-d2gs-mine\d2gs\build\src\d2gs_1.13c\Release\D2GS.exe
5>已完成生成项目“D2GS_13d.vcxproj”的操作。
4>已完成生成项目“D2GS_13c.vcxproj”的操作。
9>------ 已启动生成: 项目: ALL_BUILD, 配置: Release Win32 ------
9>Building Custom Rule C:/Users/Moon/Downloads/andersgong-d2gs-mine/d2gs/CMakeLists.txt
========== 生成: 成功 8 个,失败 1 个,最新 0 个,跳过 0 个 ==========

我的系统win10.64位,cmake-3.19.1-win64-x64,vs2019,编译报错,请问这个问题出在哪里呢?

仔细看一下“编译说明.doc”,这些步骤你每一步都做了吗?

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
1
https://gitee.com/andersgong/d2gs.git
git@gitee.com:andersgong/d2gs.git
andersgong
d2gs
d2gs

Search

105716 1d94204e 1850385 105716 2d26be5c 1850385