Skip to content

Possible inaccurate information in the vcpkg build doc leading to build error #1053

@finalreq

Description

@finalreq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions