Phenomenon
When transferring vcpkg from CentOS 8 to CentOS virtual machine through SCP, the above error is always reported when running vcpkg
Root cause
The Linux environment needs to add the system variable $VCPKG_ROOT
Solution:
vim ~/. bash_profile
Add a line:
export VCPKG_ROOT=”/home/devuser1/vcpkg”
Change the directory to your directory
Close the shell, reconnect, and everything is OK
verification
[root@localhost vcpkg]# ./vcpkg list abseil:x64-linux 2021-03-24#1 an open-source collection designed to augment th... amqpcpp:x64-linux 4.3.11 AMQP-CPP is a C++ library for communicating with..
Read More:
- [Solved] Vcpkg Install Building package brotli:x64-windows failed with: BUILD_FAILED Locking applocal.ps1
- IDEA appears Module ** must not contain source root **. The root already belongs to module ** This kind of error solution
- git_error:unable to auto-detect email address [How to Solve]
- [Maven] Pom.xml error: Cannot detect Web Project version.
- [Solved] ERROR OGG-01028 Detect partial pdata at rba xxxxxx without coinciding crash recovery marker record
- [Solved] emcc error: error: LLVM_ROOT is not defined
- [Solved] Eureka Startup Error: Root name (‘timestamp‘) does not match expected type EurekaApplications
- [Solved] Hadoop root directory Cancell the quota restriction Error
- How to Solve elasticsearch root user start Error
- [Solved] Flink jdbc Error: Access Denied for user ‘root‘@‘10.0.0.x‘ (using password: YES)
- [Solved] Vue3 Eslint Error: The template root requires exactly one element
- “//./root/CIMV2” because of error 0x80041003. Events cannot be delivered through this filter until t…
- [Solved] Hive tez due to: ROOT_INPUT_INIT_FAILURE java.lang.IllegalArgumentException: Illegal Capacity: -38297
- Vue Error compiling template: Component template should contain exactly one root element. If you
- [Solved] kubeflow pipeline visualization component Error: WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager…
- Find malloc_error_Root cause method of break error
- [Solved] Appium Install Error: Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variab
- ElasticSearch Create Index Error: mapper_parsing_exception Root mapping definition has unsupported parameters
- Springboot configuration project access path URL root path
- Hadoop ERROR: Attempting to operate on hdfs namenode as root ERROR: but there is no HDFS_NAMENODE_US