When I saw the solution, I didn’t know why my first reaction was: Sima Danghuo, doctor.
Under the. Vscode folder, locate C_ cpp_ Properties.json, I don’t need to tell you that people have told you about their mistakes.
{
"configurations": [
{
"name": "Linux",
"includePath": [
"/usr/include/**", add this line
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64",
"compileCommands": "${workspaceFolder}/build/release-cpp11/compile_commands.json"
}
],
"version": 4
}
Read More:
- Euopenler 21.09 sudo Yum Update Error: Errors during downloading metadata for repository ‘EPOL’
- Ubuntu update source error: E: Problem executing scripts APT::Update::Post-Invoke-Success…
- Ubuntu install and compile OpenCV3.4.0 fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nv
- [Solved] Error detected while processing /root/.vimrc: E492: Not an editor command: Plug ‘scrooloose/nerdtree’
- [Solved] Warning: detected “cgroupfs“ as the Docker cgroup driver. The recommended driver is “systemd“.
- No devices detected Fatal server error no screens found
- Error resolution in composer 2 install or update
- [Solved] xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory #include <expat.h>
- Ubuntu18.04 Install ROS Error: rosdep update [How to Solve]
- [Solved] Invalid signature error for ROS repository while trying to do sudo apt-get update
- [Solved] svn: OPTIONS of ‘https://xxx/svn/xxx’: SSL handshake failed: SSL error: Key usage violation in certificate has been detected.
- Make update-api Error: ckati failed with: signal: killed
- [Solved] Ubuntu Update source error: Certificate verification failed: The certificate is NOT trusted.
- Errors encountered when configuring static ip on Ubuntu 18.04
- Solutions to errors in installing xunsearch engine in centos8.0
- [Solved] Using GCP copy to report errors in Linux: DBUS. Exceptions. Dbusexception: org. Freedesktop. DBUS. Error. Notsupported:
- [Solved] Log Error: kernel: blk_update_request: I/O error, dev fd0, sector 0
- Linux apt-get update Error: Error in `appstreamcli‘: double free or corruption … Aborted (core dumped)
- deepin rosdep update Error: ERROR: Rosdep experienced an error: Could not detect OS,
- Failed to Initialize Error: error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR Port-6443]