新建.vscode,新建c_cpp_properties.json,在includePath中配置/tdGUI/output/include/
c_cpp_properties.json
{ "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "/tdGUI/output/include/**" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "gnu11", "cppStandard": "c++17", "intelliSenseMode": "gcc-x64" } ], "version": 4 }