build] D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lubsan
[build] collect2.exe: error: ld returned 1 exit status
[build] mingw32-make.exe[2]: *** [CMakeFiles\RayTracing.dir\build.make:130: RayTracing.exe] Error 1
[build] mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:82: CMakeFiles/RayTracing.dir/all] Error 2
[build] mingw32-make.exe: *** [Makefile:90: all] Error 2
[build] Build finished with exit code 2
[cpptools] The build configurations generated do not contain the active build configuration. Using “” for CMAKE_BUILD_TYPE instead of “Debug” to ensure that IntelliSense configurations can be found
我的代码已下载下来,在cmake编译好之后,在vscode运行就会出现以上的错误。