Modding, Mission Design, and Coding > FS2 Open Coding - The Source Code Project (SCP)

The CMake build system

<< < (12/13) > >>

den5:
This appeared in the error list. Where i can find full error log?

this from output

--- Code: ---1>------ Skipped Build: Project: clean_cotire, Configuration: Release x64 ------
1>Project not selected to build for this solution configuration
2>------ Skipped Build: Project: code_pch_pre, Configuration: Release x64 ------
2>Project not selected to build for this solution configuration
3>------ Build started: Project: code, Configuration: Release x64 ------
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>  cmdline.cpp
3>  cutscenes.cpp
3>  movie.cpp
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>  VideoPresenter.cpp
3>  AudioDecoder.cpp
3>  FFMPEGDecoder.cpp
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>  internal.cpp
3>cl : Command line warning D9025: overriding '/Zm170' with '/Zm200'
3>  SubtitleDecoder.cpp
3>  VideoDecoder.cpp
3>  ddsutils.cpp
3>  console.cpp
3>  consolecmds.cpp
3>  consoleparse.cpp
3>  def_files-win32.cpp
3>  exceptionhandler.cpp
3>  fireballs.cpp
3>  warpineffect.cpp
3>  contexthelp.cpp
3>C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\sound/openal.h(26): fatal error C1001: An internal error has occurred in the compiler.
3>  (compiler file 'msc1.cpp', line 1325)
3>   To work around this problem, try simplifying or changing the program near the locations listed above.
3>  Please choose the Technical Support command on the Visual C++
3>   Help menu, or open the Technical Support help file for more information (C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\cutscene\movie.cpp)
3>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe'
3>      Please choose the Technical Support command on the Visual C++
3>      Help menu, or open the Technical Support help file for more information
3>  gameplayhelp.cpp
3>C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\sound/openal.h(26): fatal error C1001: An internal error has occurred in the compiler.
3>  (compiler file 'msc1.cpp', line 1325)
3>   To work around this problem, try simplifying or changing the program near the locations listed above.
3>  Please choose the Technical Support command on the Visual C++
3>   Help menu, or open the Technical Support help file for more information (C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\cmdline\cmdline.cpp)
3>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe'
3>      Please choose the Technical Support command on the Visual C++
3>      Help menu, or open the Technical Support help file for more information
3>cl : Command line error D8040: error creating or communicating with child process
4>------ Build started: Project: Freespace2, Configuration: Release x64 ------
5>------ Build started: Project: FRED2, Configuration: Release x64 ------
4>  freespace.cpp
5>  initialstatus.cpp
5>  missionsave.cpp
5>  restrictpaths.cpp
5>  setglobalshipflags.cpp
5>  sexp_tree.cpp
5>  shieldsysdlg.cpp
5>  ship_select.cpp
5>  shipchecklistbox.cpp
4>C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\sound/openal.h(26): fatal error C1001: An internal error has occurred in the compiler.
4>  (compiler file 'msc1.cpp', line 1325)
4>   To work around this problem, try simplifying or changing the program near the locations listed above.
4>  Please choose the Technical Support command on the Visual C++
4>   Help menu, or open the Technical Support help file for more information
4>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe'
4>      Please choose the Technical Support command on the Visual C++
4>      Help menu, or open the Technical Support help file for more information
6>------ Skipped Build: Project: launch_fso, Configuration: Release x64 ------
6>Project not selected to build for this solution configuration
5>  shipclasseditordlg.cpp
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(464): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(465): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(466): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(467): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(468): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(469): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(470): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(484): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(485): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(486): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(487): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(488): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(489): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\initialstatus.cpp(490): error C2893: Failed to specialize function template 'void handle_inconsistent_flag(flagset<T,T::NUM_VALUES> &,T,int)'
5>          With the following template arguments:
5>          'T=Ship::Ship_Flags'
5>  shipeditordlg.cpp
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\sound/openal.h(26): fatal error C1001: An internal error has occurred in the compiler.
5>  (compiler file 'msc1.cpp', line 1325)
5>   To work around this problem, try simplifying or changing the program near the locations listed above.
5>  Please choose the Technical Support command on the Visual C++
5>   Help menu, or open the Technical Support help file for more information (C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\sexp_tree.cpp)
5>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe'
5>      Please choose the Technical Support command on the Visual C++
5>      Help menu, or open the Technical Support help file for more information
5>C:\Users\Denis\Documents\GitHub\fs2open.github.com\code\sound/openal.h(26): fatal error C1001: An internal error has occurred in the compiler.
5>  (compiler file 'msc1.cpp', line 1325)
5>   To work around this problem, try simplifying or changing the program near the locations listed above.
5>  Please choose the Technical Support command on the Visual C++
5>   Help menu, or open the Technical Support help file for more information (C:\Users\Denis\Documents\GitHub\fs2open.github.com\fred2\missionsave.cpp)
5>  INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\CL.exe'
5>      Please choose the Technical Support command on the Visual C++
5>      Help menu, or open the Technical Support help file for more information
5>cl : Command line error D8040: error creating or communicating with child process
7>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: PACKAGE, Configuration: Release x64 ------
8>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 3 failed, 11 up-to-date, 5 skipped ==========

--- End code ---

m!m:
It has been some time since I used VS2013 but I think the error log is in the same tab pane as the error list but I don't know the exact title of the tab.

EDIT: Nevermind, I didn't see the edit...

EDIT2: Try updating Visual Studio (or just install the community version of VS2017). That code definitely compiles with VS2013 so this is likely some sort of compiler bug that has been fixed in a later version.

den5:
I got VS2017 and was able to compile fs2_open. But now another problem. The game crashes at any time, any mods \ campaign \ mission. This does not happen with Nightly Builds. What happened this time?

[attachment stolen by Russian hackers]

m!m:
Try compiling a debug build and launching FSO with an attached debugger. That will show where the crash occurs.

AdmiralRalwood:

--- Quote from: m!m on January 19, 2018, 03:40:42 am ---Try compiling a debug build and launching FSO with an attached debugger. That will show where the crash occurs.

--- End quote ---
If you try this and it doesn't crash in non-Release builds, and you're compiling AVX or AVX2 builds, you may have encountered a compiler bug.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version