Добрый день, я новичёк в сфере сереров WoW и у меня такой вопрос.
На начальных этапах компиляции ядра у меня возникли проблемы, а именно выскакивает какой-то варнинг со старой политикой CMake и чёртова ошибка с не найденными библиотеками MySQL. На самом деле, если бы я не протолкался с этим симейком около 2-х, а то и трёх дней, чтобы дойти до этапа компиляции (чего у меня не получилось), я бы не оставлял тему на этом форуме .
Так вот, у меня огромная просьба помочь мне, ибо я уже очень долго копаюсь и всячески "правильно" переустанавливаю программы требуемые для нормальной работы СИмака.
Лог ошибки из CMake:
Лог ошибки из файла:
На начальных этапах компиляции ядра у меня возникли проблемы, а именно выскакивает какой-то варнинг со старой политикой CMake и чёртова ошибка с не найденными библиотеками MySQL. На самом деле, если бы я не протолкался с этим симейком около 2-х, а то и трёх дней, чтобы дойти до этапа компиляции (чего у меня не получилось), я бы не оставлял тему на этом форуме .
Так вот, у меня огромная просьба помочь мне, ибо я уже очень долго копаюсь и всячески "правильно" переустанавливаю программы требуемые для нормальной работы СИмака.
Лог ошибки из CMake:
SQL:
The C compiler identification is MSVC 19.23.28105.4
The CXX compiler identification is MSVC 19.23.28105.4
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy):
The OLD behavior for policy CMP0005 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:24 (cmake_policy):
The OLD behavior for policy CMP0043 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Detected 64-bit platform
MSVC: 64-bit platform, enforced -D_WIN64 parameter
MSVC: Enabled increased number of sections in object files
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
cotire 1.7.10 loaded.
CMake Error at cmake/macros/FindMySQL.cmake:237 (message):
Could not find the MySQL libraries! Please install the development
libraries and headers
Call Stack (most recent call first):
CMakeLists.txt:67 (find_package)
Configuring incomplete, errors occurred!
See also "E:/Trinity/tc/CMakeFiles/CMakeOutput.log".
Код:
The system is: Windows - 10.0.18362 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:
Build flags:
Id flags:
The output was:
0
Microsoft (R) Build Engine ўҐабЁЁ 16.3.0+0f4c62fea ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
‘Ў®аЄ з в 02.10.2019 23:54:35.
Џа®ҐЄв "E:\Trinity\tc\CMakeFiles\3.15.4\CompilerIdC\CompilerIdC.vcxproj" ў 㧫Ґ 1 (楫ҐўлҐ ®ЎкҐЄвл Ї® 㬮«з Ёо).
PrepareForBuild:
‘®§¤ ЁҐ Є в «®Ј "Debug\".
‘®§¤ ЁҐ Є в «®Ј "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
‘®§¤ ЁҐ "Debug\CompilerIdC.tlog\unsuccessfulbuild", в Є Є Є Ўл«® § ¤ ® "AlwaysCreate".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
CompilerIdC.vcxproj -> E:\Trinity\tc\CMakeFiles\3.15.4\CompilerIdC\.\CompilerIdC.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
” ©« "Debug\CompilerIdC.tlog\unsuccessfulbuild" г¤ «пҐвбп.
ЋЎа 饨Ґ Є "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
‘Ў®аЄ Їа®ҐЄв "E:\Trinity\tc\CMakeFiles\3.15.4\CompilerIdC\CompilerIdC.vcxproj" § ўҐаиҐ (楫ҐўлҐ ®ЎкҐЄвл Ї® 㬮«з Ёо).
‘Ў®аЄ гбЇҐи® § ўҐаиҐ .
ЏаҐ¤гЇаҐ¦¤ҐЁ©: 0
ЋиЁЎ®Є: 0
Џа®и«® ўаҐ¬ҐЁ 00:00:01.16
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"
The C compiler identification is MSVC, found in "E:/Trinity/tc/CMakeFiles/3.15.4/CompilerIdC/CompilerIdC.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:
Build flags:
Id flags:
The output was:
0
Microsoft (R) Build Engine ўҐабЁЁ 16.3.0+0f4c62fea ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
‘Ў®аЄ з в 02.10.2019 23:54:36.
Џа®ҐЄв "E:\Trinity\tc\CMakeFiles\3.15.4\CompilerIdCXX\CompilerIdCXX.vcxproj" ў 㧫Ґ 1 (楫ҐўлҐ ®ЎкҐЄвл Ї® 㬮«з Ёо).
PrepareForBuild:
‘®§¤ ЁҐ Є в «®Ј "Debug\".
‘®§¤ ЁҐ Є в «®Ј "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
‘®§¤ ЁҐ "Debug\CompilerIdCXX.tlog\unsuccessfulbuild", в Є Є Є Ўл«® § ¤ ® "AlwaysCreate".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp
CMakeCXXCompilerId.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
CompilerIdCXX.vcxproj -> E:\Trinity\tc\CMakeFiles\3.15.4\CompilerIdCXX\.\CompilerIdCXX.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
” ©« "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" г¤ «пҐвбп.
ЋЎа 饨Ґ Є "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
‘Ў®аЄ Їа®ҐЄв "E:\Trinity\tc\CMakeFiles\3.15.4\CompilerIdCXX\CompilerIdCXX.vcxproj" § ўҐаиҐ (楫ҐўлҐ ®ЎкҐЄвл Ї® 㬮«з Ёо).
‘Ў®аЄ гбЇҐи® § ўҐаиҐ .
ЏаҐ¤гЇаҐ¦¤ҐЁ©: 0
ЋиЁЎ®Є: 0
Џа®и«® ўаҐ¬ҐЁ 00:00:00.81
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"
The CXX compiler identification is MSVC, found in "E:/Trinity/tc/CMakeFiles/3.15.4/CompilerIdCXX/CompilerIdCXX.exe"
Determining if the C compiler works passed with the following output:
Change Dir: E:/Trinity/tc/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_37fd3.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine ўҐабЁЁ 16.3.0+0f4c62fea ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
ЋЇвЁ¬Ё§ЁагойЁ© Є®¬ЇЁ«пв®а Microsoft (R) C/C++ ўҐабЁЁ 19.23.28105.4 ¤«п x64
testCCompiler.c
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_37fd3.dir\Debug\\" /Fd"cmTC_37fd3.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue E:\Trinity\tc\CMakeFiles\CMakeTmp\testCCompiler.c
cmTC_37fd3.vcxproj -> E:\Trinity\tc\CMakeFiles\CMakeTmp\Debug\cmTC_37fd3.exe
Detecting C compiler ABI info compiled with the following output:
Change Dir: E:/Trinity/tc/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d4b87.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine ўҐабЁЁ 16.3.0+0f4c62fea ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
ЋЇвЁ¬Ё§ЁагойЁ© Є®¬ЇЁ«пв®а Microsoft (R) C/C++ ўҐабЁЁ 19.23.28105.4 ¤«п x64
CMakeCCompilerABI.c
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d4b87.dir\Debug\\" /Fd"cmTC_d4b87.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.15\Modules\CMakeCCompilerABI.c"
cmTC_d4b87.vcxproj -> E:\Trinity\tc\CMakeFiles\CMakeTmp\Debug\cmTC_d4b87.exe
Determining if the CXX compiler works passed with the following output:
Change Dir: E:/Trinity/tc/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_acad3.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine ўҐабЁЁ 16.3.0+0f4c62fea ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
ЋЇвЁ¬Ё§ЁагойЁ© Є®¬ЇЁ«пв®а Microsoft (R) C/C++ ўҐабЁЁ 19.23.28105.4 ¤«п x64
testCXXCompiler.cxx
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_acad3.dir\Debug\\" /Fd"cmTC_acad3.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue E:\Trinity\tc\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
cmTC_acad3.vcxproj -> E:\Trinity\tc\CMakeFiles\CMakeTmp\Debug\cmTC_acad3.exe
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: E:/Trinity/tc/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_3875b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine ўҐабЁЁ 16.3.0+0f4c62fea ¤«п .NET Framework
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
ЋЇвЁ¬Ё§ЁагойЁ© Є®¬ЇЁ«пв®а Microsoft (R) C/C++ ўҐабЁЁ 19.23.28105.4 ¤«п x64
CMakeCXXCompilerABI.cpp
(C) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation). ‚ᥠЇа ў § йЁйҐл.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_3875b.dir\Debug\\" /Fd"cmTC_3875b.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.15\Modules\CMakeCXXCompilerABI.cpp"
cmTC_3875b.vcxproj -> E:\Trinity\tc\CMakeFiles\CMakeTmp\Debug\cmTC_3875b.exe