Replies: 3 comments 1 reply
-
What is the output of the C/C++: Log Diagnostics command? You may have not it configured to use the CMake configurationProvider. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks for your answer. Here is the new result. I hope I made it well.
From: Sean McManus <[email protected]>
Sent: Tuesday, February 23, 2021 05:26
To: microsoft/vscode-cpptools <[email protected]>
Cc: Osy <[email protected]>; Author <[email protected]>
Subject: Re: [microsoft/vscode-cpptools] vscod can't reach libraries (#7019)
What is the output of the C/C++: Log Diagnostics command? You may have not it configured to use the CMake configurationProvider.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#7019 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADAYPILTZN6HU27H2EXV7ZDTAMU4RANCNFSM4YAPO5GQ>.
|
Beta Was this translation helpful? Give feedback.
-
So here jou can see the Settings.json: The cmake reconfigure: The build: [main] Building folder: CppPrototype clean The jsoncpp and the gtest libs was installed with vcpkg |
Beta Was this translation helpful? Give feedback.
-
I try to use VSPKG I was set the settings.json:
{
"cmake.configureSettings": {
"CMAKE_TOOLCHAIN_FILE": "C:/_work/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
}
and here is the build directory generation log:
[variant] Loaded new set of variants
[kit] Successfully loaded 14 kits from C:\Users\zsolt\AppData\Local\CMakeTools\cmake-tools-kits.json
[main] Configuring folder: CppPrototype
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_TOOLCHAIN_FILE:STRING=C:/_work/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -Hc:/_work/ArtificialBrain/CppPrototype -Bc:/_work/ArtificialBrain/CppPrototype/build -G "Visual Studio 16 2019" -T host=x86 -A x64
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: C:/_work/ArtificialBrain/CppPrototype/build
But the intellicecne and the building process either not see libraries. Can you help me?
THX
Beta Was this translation helpful? Give feedback.
All reactions