Replies: 2 comments 3 replies
-
I don't see documentation stating that. The mstelemetry is not available on public vcpkg. It's vcpkg port is available in the repo, but not distributed publically through vcpkg repositories.
Can you try setting tripet to correct architecture, and try again. As an example, these command works for me from the repo root folder. PS> $env:VCPKG_DEFAULT_TRIPLET = 'x64-windows' |
Beta Was this translation helpful? Give feedback.
-
f.y.i. - we discussed it earlier in the day with @finalreq offline that yet another solution is to build as |
Beta Was this translation helpful? Give feedback.
-
I am trying to get a vcpkg build to integrate 1DS into our code base and the build instruction documentation for vcpkg is not accurate. It says mstelemetry is already in vcpkg which as far as I can tell is not. But the main issue is in #810 @maxgolov left a comment requesting the documentation to be updated and it seems that never happened. Currently I'm trying to get a build for windows and I encounter an error that says "error MSB4126: The specified solution configuration "Release|x86" is invalid.". But when I look at the command ran, configuration is specified as Release and not Release|x86. see below for full command printed to cmd.
(msbuild D:/vcpkg/buildtrees/mstelemetry/x86-windows-rel/275154d47f-c88f9d4ac2.clean/Solutions/MSTelemetrySDK.sln /p:Configuration=Release /p:MATSDK_SHARED_LIB=1 /t:sqlite:Rebuild,win32-lib:Rebuild /p:Platform=x86 /p:PlatformToolset=v142 /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=10.0.22000.0 /p:VcpkgTriplet=x86-windows /p:VcpkgInstalledDir=D:/vcpkg/installed /p:VcpkgManifestInstall=false /p:UseMultiToolTask=true /p:MultiProcMaxCount=13 /p:EnforceProcessCountAcrossBuilds=true /m:13 /p:WholeProgramOptimization=false /p:ForceImportBeforeCppTargets=D:/vcpkg/scripts/buildsystems/msbuild/vcpkg.targets /p:VcpkgApplocalDeps=false)
Call Stack (most recent call first):
scripts/cmake/vcpkg_install_msbuild.cmake:79 (vcpkg_execute_required_process)
D:/oneds/cpp_client_telemetry/tools/ports/mstelemetry/portfile.cmake:65 (vcpkg_install_msbuild)
scripts/ports.cmake:147 (include)
Any guidance as to the cause of this error and how to fix it? I'm assuming that I'm missing something that perhaps wasn't clarified in the build docs but please let me know. I've just followed the steps in the documentation I linked above, and it led to that error. I'm running the lates repo pull and building on win 11.
Beta Was this translation helpful? Give feedback.
All reactions