
- Code: Select all • Expand view
Error C1083 Cannot open precompiled header file: 'D:/Workspace/BRZDoom/src/g_pch.pch': No such file or directory D:\Workspace\BRZDoom\out\build\x64-Debug\BRZDoom D:\Workspace\BRZDoom\src\doomstat.cpp 1
Since it's a cmake project, I've tried disabling the precompiled header for this file manually on CMakeLists.txt:
- Code: Select all • Expand view
set_source_files_properties(src/g_pch.h PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
set_source_files_properties(src/g_pch2.h PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
It did not work. I've only managed to compile GZDoom on Ubuntu and Fedora so far, but on Windows I'm having this very specific problem. Did anyone ever had a similar problem?