Author Topic: The CMake build system  (Read 72795 times)

0 Members and 2 Guests are viewing this topic.

Offline den5

  • 27
Re: The CMake build system
Try compiling a debug build and launching FSO with an attached debugger. That will show where the crash occurs.
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.

I compiled debug build and it doesn't crash where the standard and fast debug does it. This SSE2 build, my processor does not support AVX\ AVX2.

 

Offline den5

  • 27
Re: The CMake build system
I installed VS2015, compiled build and it works fine. There are no crashes like before. So I don't know what's wrong with VS2017.

 

Offline ksotar

  • 26
Re: The CMake build system
If you want to build SSE2 version (or other variants instead of AVX), then you should alter
Code: [Select]
MSVC_SIMD_INSTRUCTIONS and set it to SSE2. You may not see that option at start, but if you check 'Advanced' on top, it will show (BTW 'Grouped' is very convenient).
« Last Edit: October 21, 2018, 05:05:39 am by ksotar »