-
I know my credibility just instantly shot down by 90% by trying to compile code on Windows of all platforms, but it's legitimately all I have. Behold, the compile error monster:
The exact commands that were run are:
and it is the latter one that failed. MSVC is stupid, maybe I should just switch to a different compiler. The version of CMake in use is 3.22.0-rc2, downloaded from here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think the issue is likely that the C++ flags are overridden externally, which disables /EHsc; it should be on by default in CMake projects. I'm not sure why that is, presumably CLion controls these? You should be able to run cmake externally (see README) and open the resulting project in Visual Studio. |
Beta Was this translation helpful? Give feedback.
I think the issue is likely that the C++ flags are overridden externally, which disables /EHsc; it should be on by default in CMake projects. I'm not sure why that is, presumably CLion controls these? You should be able to run cmake externally (see README) and open the resulting project in Visual Studio.