Vectr CAPL DLL - CMake Build System fails with 64bit
18:14 02 Nov 2025

MinGW64 Compiler Failing on Windows — cc1.exe Not Completing Problem

CMake configuration fails when building with MinGW64 on Windows. The compiler test program starts but cannot complete compilation.

Environment

OS: Windows 10 / 11

MinGW: MSYS2 MinGW64 (gcc 14.2.0)

CMake: 3.15+

Path: C:\msys64\mingw64

Error Output gcc (Rev3, Built by MSYS2 project) 14.2.0 ... cc1.exe -quiet -v ... test_compile.c ... -o C:\Users\user\AppData\Local\Temp\ccQ0RDT7.s

ERROR: Simple test compilation FAILED The compiler starts, but the cc1.exe subprocess never completes. No specific error message is printed.

Steps to Reproduce

Clone this repository

Run:

build_project.bat win64

Observe that pre-flight checks fail during the compilation step

Relevant Files

build_project.bat — Build script with diagnostic checks

CMakeLists.txt — CMake configuration

src/*.cpp — Source files

Question

Has anyone encountered this issue with MSYS2 MinGW64 on Windows? What fixed it for you?

Workarounds Tried

✅ Added Windows Defender exclusions

✅ Built from MSYS2 shell directly

✅ Temporarily disabled real-time protection

Repo Link: https://github.com/MohamedHamed19m/Vectr-CAPL-Dll-CMake

c++ vector cmake capl canoe