Replies: 1 comment 1 reply
-
@hros The "file not found" error is not from our extension. Do you have another extension installed that could generating that? It may be from the "C/C++ Clang Command Adapter extension" extension, so you should disable that one. |
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.
-
I've created a
cmake
cpp library project with a vcpkg.json file (manifest mode) which downloadscpprestsdk
with its dependenciesAt the top of the autogenerated source file I've add two include files for
cpprestsdk
:the project compiles successfully, but vs code show an error for the first include (
json.h
):file not found
interestingly, if I switch the order of the two includes:
the
file not found error
is displayed again for the first file, this time:http_listener.h
note that
CMakeLists.txt
has package dependency command:find_package(cpprestsdk CONFIG REQUIRED)
and the whole project is configured and built successfullymoreover, the "missing" include files are present in
build/vcpkg_installed/x64-linux/include/cpprest/
is there any vs code setting that has to be set for the extension to add the vcpkg include directories?
Beta Was this translation helpful? Give feedback.
All reactions