Description:
I tried to compile 3.3.5 in dynamic mode (screen attached) but visual studio fails to finish compile.
Rev is linked. Screens attached. No scripts added or modified. Plain installation.
Current behaviour:
Visual Studio 19 (latest update, no preview) is failing compiling in dynamic mode.
Expected behaviour:
Compile should work
Steps to reproduce the problem:
Branch(es):
3.3.5
TC rev. hash/commit:
299d6ebbffd1
Operating system: Windows
The whole visual studio log is needed, the screenshot of a portion is not enough.
https://ci.appveyor.com/project/DDuarte/trinitycore/builds/30666866 also says dynamic build on windows works
Paste the entire goddamn output window on a service like paste2 or gist, not partial screenshots
21>D:\VS19\VC\Tools\MSVC\14.24.28314\include\xhash(437): fatal error C1001: An internal error has occurred in the compiler.
21>(compiler file 'd:\agent\_work\5\s\src\vctools\Compiler\Utc\src\p2\tuple.c', line 8422)
Nice. internal compiler error
Yes, checked now an got the same
21>C:Program Files (x86)Microsoft Visual Studio2019PreviewVCToolsMSVC14.25.28508includexhash(420): fatal error C1001: Internal compiler error.
21>(compiler file 'd:agent_work8ssrcvctoolsCompilerUtcsrcp2main.c', line 182)
21>C:Program Files (x86)Microsoft Visual Studio2019PreviewVCToolsMSVC14.25.28508includexhash(420): fatal error C1001: CL!RaiseException()+0x3d
21> CL!RaiseException()+0x3d
Sounds to me you are using latest Visual Studio 2019, try using a lower version, maybe that'll fix it.
Report the issue to Visusl Studio through its support channels, we can't fix issues in Visual Studio.
In the meantime you could build TC with static build instead of dynamic.
this happens on VS 2019 16.4.4 too (no preview).
Try building without PCH, check also if the RAM usage is going very high before the internal error happens.
21>Building Custom Rule D:/Projekte/WoW/Core/TrinityCore/src/server/game/CMakeLists.txt
21>CreatureAI.cpp
21>D:VS19VCToolsMSVC14.24.28314includexhash(437): fatal error C1001: An internal error has occurred in the compiler.
In PCH mode the issue happens when trying to compile the PCH (triggered by CreatureAI.cpp) . In no-PCH mode the issue doesn't happen (just built the whole solution).
@jackpoz thanks, will try it tonight!
Sorry for the delay. Checked on my side. Everything works fine without PCH麓s.
Thanks again for the advice!
Most helpful comment
In PCH mode the issue happens when trying to compile the PCH (triggered by CreatureAI.cpp) . In no-PCH mode the issue doesn't happen (just built the whole solution).