error: building aws-c-cal:x64-windows-static-md failed with: BUILD_FAILED #37735
-
I haven't used vcpkg in a year or two. Does anyone have an idea what's going wrong? I'm using VS2022 17.9.4, v143 C:\Dev\Couloir\3pLibs\vcpkg>.\vcpkg install aws-sdk-cpp[apigateway,apigatewayv2,appsync,autoscaling,autoscaling-plans,budgets,core,dynamodb,ec2,email,glacier,iam,imagebuilder,lambda,lex,lex-models,location,logs,managedblockchain,pricing,rds,rds-data,s3,secretsmanager,sms,sns,sqs,translate,wellarchitected,xray]:x64-windows-static-md --recurse warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows-static-md. Consider using --triplet x86-windows or --triplet x86-uwp. CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Call Stack (most recent call first): error: building aws-c-cal:x64-windows-static-md failed with: BUILD_FAILED |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
install-x64-windows-static-md-dbg-out.log C:\PROGRA |
Beta Was this translation helpful? Give feedback.
-
Lesson is that packages with Features can't be upgraded. Also, make sure to remove all related packages before attempting to install again. Won't work: PS C:\Dev\Couloir\3pLibs\vcpkg> ./vcpkg upgrade aws-sdk-cpp[apigateway,apigatewayv2,appsync,autoscaling,autoscaling-plans,budgets,core,dynamodb,ec2,email,glacier,iam,imagebuilder,lambda,lex,lex-models,location,logs,managedblockchain,pricing,rds,rds-data,s3,secretsmanager,sms,sns,sqs,translate,wellarchitected,xray]:x64-windows-static-md My updated procedure:
FIRST TIME
|
Beta Was this translation helpful? Give feedback.
-
This answer was edited for corrections and for coverage. It reflects my understanding of the state of vcpkg, as a community member. It doesn't indicate if I like it or not. The
|
Beta Was this translation helpful? Give feedback.
-
Kai, that doesn't seem to be correct. I don't want people reading this &
thinking that the update command works like that.
https://devblogs.microsoft.com/cppblog/vcpkg-introducing-the-upgrade-command/
https://learn.microsoft.com/en-us/vcpkg/commands/update
If MS had an ounce of sense, they would rename _update_ to _compare_
|
Beta Was this translation helpful? Give feedback.
Lesson is that packages with Features can't be upgraded. Also, make sure to remove all related packages before attempting to install again.
Won't work: PS C:\Dev\Couloir\3pLibs\vcpkg> ./vcpkg upgrade aws-sdk-cpp[apigateway,apigatewayv2,appsync,autoscaling,autoscaling-plans,budgets,core,dynamodb,ec2,email,glacier,iam,imagebuilder,lambda,lex,lex-models,location,logs,managedblockchain,pricing,rds,rds-data,s3,secretsmanager,sms,sns,sqs,translate,wellarchitected,xray]:x64-windows-static-md
error: List of features is not allowed in this context
My updated procedure:
UPDATE