Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
如果 compile_commands.json 里面ok,那就是 clangd 没生效 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我通过xmake创建了cpp工程 customizedrpc,在配置好launch.json以及settings.json(配置clangd的
"clangd.arguments": [ "--compile-commands-dir=.vscode", ]
)后,该工程依赖两个包tinyxml以及protobuf-cpp,其xmake.lua如下:写好xmake后我使用xrepo安装了依赖的两个包,安装顺利,
安装后我在main.cpp中尝试使用tinyxml,发现报错file not found

请问我应该如何安装及使用第三方包,此次报错是我使用方式的问题吗,一般情况下,标准的安装及使用方式是什么?
Beta Was this translation helpful? Give feedback.
All reactions