Unsolved C1083: Cannot open compiler generated file.
I have a C++ project that I want to compile. When I use command prompt and build it using Cmake together with Ninja as generator and builder, it works, however, when I use QT with Ninja as generator and VS 19 x64 it gives me the following error:
C1083: Cannot open compiler generated file: ":Invalid argument
Anyone knows what is going wrong?
Thanks for your answer, Yes I meant QT creator.
I managed to solve the issue. The Cmakelist file for compiling the project in QTcreator is different from the one used for compiling it via CMD.
Why are there two different CMakeLists.txt files to build your project ?