Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #9199 Score: 0
      youann
      Participant

      想请教一下各位,作业5我打开之后虚拟机里的VScode一大片红色的波浪线…明明上两行定义的变量下面就红色波浪线。强迫症比较难受,但是又不是很想关掉拼写错误检查,有没有办法解决这种拼写检查异常的问题呀

    • #9270 Score: 0
      Kethers
      Participant

      从红色波浪线点击快速修复然后进到一个C/C++扩展设置的界面,把intellisense的C++标准设置为gnuc++17即可。

    • #11483 Score: 0

      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运行就会出现以上的错误。

Viewing 2 reply threads
  • You must be logged in to reply to this topic.