我正在学习 eosio 智能合约,在教程的开头,他们要求我包含 eosio/eosio.hpp。但是,由于我的 CDT 版本,它是 eosiolib。我在 Mac 上使用 vscode 2019。完成输入后,我收到一条错误消息:检测到 #include 错误。请更新您的 includePath。这是我的 .json 文件
"configurations": [
{
"name": "Mac",
"includePath": [
"/usr/local/include",
"${workspaceFolder}/**"
],
"defines": [],
"macFrameworkPath": [],
"compilerPath": "/usr/local/bin/gcc-9",
"cStandard": "c11",
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/local/include",
"${workspaceRoot}"
]
},
"cppStandard": "c++11"
}
],
"version": 4
}```