vcpkg packages are not reachable
See original GitHub issueI have generated a nuget-package with vcpkg, and this file uses a .targets-file to insert includes etc. However, the includes are not found by clang-power-tools:
<ItemDefinitionGroup Condition="'$(VcpkgEnabled)' == 'true'">
<Link>
<AdditionalDependencies Condition="'$(VcpkgNormalizedConfiguration)' == 'Debug' and '$(VcpkgAutoLink)' != 'false'">%(AdditionalDependencies);$(VcpkgRoot)debug\lib\*.lib</AdditionalDependencies>
<AdditionalDependencies Condition="'$(VcpkgNormalizedConfiguration)' == 'Release' and '$(VcpkgAutoLink)' != 'false'">%(AdditionalDependencies);$(VcpkgRoot)lib\*.lib</AdditionalDependencies>
<AdditionalLibraryDirectories Condition="'$(VcpkgNormalizedConfiguration)' == 'Release'">%(AdditionalLibraryDirectories);$(VcpkgRoot)lib;$(VcpkgRoot)lib\manual-link</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories Condition="'$(VcpkgNormalizedConfiguration)' == 'Debug'">%(AdditionalLibraryDirectories);$(VcpkgRoot)debug\lib;$(VcpkgRoot)debug\lib\manual-link</AdditionalLibraryDirectories>
</Link>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(VcpkgRoot)include</AdditionalIncludeDirectories>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(VcpkgRoot)include</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
My code uses boost from the nuget-package:
C:\development\QMS_Src\BaseModel\QsGeodataMod\Source\src\PersistentObject.cpp:10:10: fatal error: 'boost/uuid/uuid.hpp' file not found
#include <boost/uuid/uuid.hpp>
^~~~~~~~~~~~~~~~~~~~~
Tell me if you need a vcpkg-made nuget-package to experiment with (with e.g. zlib).
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Unable to access library after `integrate install` ...
Note: I installed VCPKG on my M drive. VCPKG is installed no where else on this computer (typically I use virtual machines.. not...
Read more >Vcpkg package not showing up on Visual Studio 2019
I have installed colmap via vcpkg and it's not showing up for me. It shows up on .\vcpkg list but not on Visual...
Read more >Vcpkg Libraries not detected by Visual Studio 2019 ...
Hello, I'm been using the spdlog:x86-windows library installed via vcpkg and it was working in VS2019 CE. However, I tried adding my ...
Read more >Setting up vcpkg for VS2022. vcpkg integrate install not ...
If I run vcpkg integrate install in admin powershell, it outputs: Applied user-wide integration for this vcpkg root.
Read more >Compiling - vcpkg fails to install libraries
Hello there, I am on my WINDOWS 10 PC trying to install all required packages for TFS. I am using "Node.js command prompt...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello,
We’re happy to inform you that we’ve fixed this and vcpkg packages are now detected by ClangPowerTools. Version
3.7
, to be released today, will contain the fix.Regards, Gabriel
Hi @Twon,
Thanks for your feedback.
My colleague, @hero101111 is already investigating this. When we’ve made some progress, we’ll update this thread.