错误如下,实在解决不了了
D:\Qt\Tools\CMake_64\share\cmake-3.21\Modules\CMakeTestCXXCompiler.cmake:62: error: The C++ compiler "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/mumumu/Desktop/FEM/build-test-Desktop_Qt_6_2_1_MSVC2019_64bit-Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/PROGRA2/MICROS3/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_2a368 && [1/2] Building CXX object CMakeFiles\cmTC_2a368.dir\testCXXCompiler.cxx.obj [2/2] Linking CXX executable cmTC_2a368.exe FAILED: cmTC_2a368.exe cmd.exe /C "cd . && D:\Qt\Tools\CMake_64\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_2a368.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests -- C:\PROGRA2\MICROS3\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_2a368.dir\testCXXCompiler.cxx.obj /out:cmTC_2a368.exe /implib:cmTC_2a368.lib /pdb:cmTC_2a368.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ." RC Pass 1: command "rc /fo CMakeFiles\cmTC_2a368.dir/manifest.res CMakeFiles\cmTC_2a368.dir/manifest.rc" failed (exit code 0) with the following output: 绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆 ninja: build stopped: subcommand failed.