![]() OWNER_READ, OWNER_WRITE, OWNER_EXECUTE, GROUP_READ, PERMISSIONS Specify permissions for installed files. Mechanism explained in the CMAKE_INSTALL_PREFIX variableĭocumentation. The prefix can be relocated at install time using the DESTDIR Relative to the value of the CMAKE_INSTALL_PREFIX variable. If a relative path is given it is interpreted If a full path (with a leading slash or drive letter) is given The common options are: DESTINATION Specify the directory on disk to which a file will be installed. Multiple signatures are covered here but they are valid only for Installation options for files and targets. There are multiple signatures for this command. Specified by calls to this command within a source directory areĮxecuted in order during installation. DAPU_CONFIG_BIN=/path/to/bin/apu-1-configįor more information about how to use Visual Studio to compile OSS SDK for C, visit Use Alibaba Cloud OSS SDK for C on Windows.This command generates installation rules for a project. If the Could not find apu-config/apu-1-config error is reported during compilation, the apu-1-config file does not exist in the default path. DAPR_CONFIG_BIN=/path/to/bin/apr-1-config If the Could not find apr-config/apr-1-config error is reported during compilation, the apr-1-config file does not exist in the default path. DAPR_UTIL_LIBRARY=/usr/lib64/libaprutil-1.so DAPR_UTIL_INCLUDE_DIR=/usr/include/apr-1 Specify the path in which third-party libraries cURL, APR, APR-util, and Mini-XML are installed. Specify a path to install OSS SDK for C. Typical build types include Debug, Release, RelWithDebInfo, and MinSizeRel. If you want to install third-party libraries cURL, APR, APR-util, and Mini-XML in a custom installation path, run the following commands to install OSS SDK for C: cmake -f CMakeLists.txt. ![]() If third-party libraries cURL, APR, APR-util, and Mini-XML are installed in the default path, run the following commands to install OSS SDK for C: cmake.Run the following code to install Mini-XML. Download CMake from the download page and install it.Install the third-party libraries sudo zypper install libcurl-devel libapr1-devel libapr-util1-devel mxml-devel.Install CMake sudo zypper install cmake.Use the RPM package to install Mini-XML: sudo rpm -ivh 86_64.rpm Select an RPM package based on the bit version of your Linux distribution: If the YUM repository does not contain the Mini-XML installation package, use the RPM package to install Mini-XML. Install the third-party libraries sudo yum install curl-devel apr-devel apr-util-devel mxml mxml-devel.Install the third-party libraries sudo apt-get install libcurl4-openssl-dev libapr1-dev libaprutil1-dev libmxml-dev.Install CMake sudo apt-get install cmake.The methods to install CMake and the third party libraries vary based on the Linux distributions. Parses the XML data returned by a request. Manages memory and portability between different platforms. Manages the build process of software by using a compiler-independent method. The following table describes parameters required to install CMake and the third-party libraries. When you install OSS SDK for C on Linux, you must install CMake and the following third-party libraries: cURL, APR, APR-util, and Mini-XML. Otherwise, OSS fails to find functions included in the third-party library. Important Make sure that the installation path name of a third-party library on Linux contains only allowed English characters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |