sdxsdx Posted June 13, 2023 Posted June 13, 2023 When I start a new project, I got this error message; Severity Code Description Project File Line Suppression State Error C1007 unrecognized flag '-Zc:nrvo' in 'p2' test C:\Users\xxx\Documents\Ultra Engine\Projects\test\LINK 1 I have tried 1.0,1.01.1.02,1.03 all versions. and the results are same. visual studio 2022,2019 are same too.
Solution Josh Posted September 6, 2023 Solution Posted September 6, 2023 It sounds like maybe the wrong toolkit is installed?: https://learn.microsoft.com/en-us/answers/questions/1130957/link-fatal-error-c1007-unrecognized-flag-zc-nrvo-i Quote Libraries built with a later toolset was the problem. I changed all the compiler toolsets back to v14.2 (from 14.3), rebuilt the libraries, and now the linker doesn't get any error. The "guidance regarding binary compatibility" page was also useful. My Windows SDK version is 10.0, platform toolset is 143. My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted September 7, 2023 Posted September 7, 2023 Awaiting response... My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted September 7, 2023 Posted September 7, 2023 This is probably solved, please let me know if any problem continues. My job is to make tools you love, with the features you want, and performance you can't live without.
sdxsdx Posted September 7, 2023 Author Posted September 7, 2023 1 hour ago, Josh said: This is probably solved, please let me know if any problem continues. The problem sovled after I reinstalled windows 11. 1
Recommended Posts