Trinitycore: 3.3.5 branch fails dynamic compile

Created on 10 Feb 2020  路  13Comments  路  Source: TrinityCore/TrinityCore

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:

  1. Clone branch 3.3.5
  2. Open cmake, specify folders, press configure
  3. Change everything to dynamic. Screen attached.
  4. Press generate
  5. Open VS, right click on Install -> Build

Branch(es):

3.3.5

TC rev. hash/commit:

299d6ebbffd1

Operating system: Windows

cmake43
cmake
cmake 2
vs crash

Branch-3.3.5a Comp-Build

Most helpful comment

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).

All 13 comments

The whole visual studio log is needed, the screenshot of a portion is not enough.

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jildor picture Jildor  路  3Comments

funjoker picture funjoker  路  3Comments

Rushor picture Rushor  路  3Comments

DDuarte picture DDuarte  路  3Comments

ZenoX92 picture ZenoX92  路  3Comments