I am trying to compile openssl project from git hub link While compile time i am getting following error
C:\Users\Amit.rai\Desktop\FreeRDP-master>cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Andr oidToolchain.cmake-DANDROID_NDK="D:\ndk\android-ndk-r10"-DFREERDP_EXTERNAL_SSL_P ATH="C:\Program Files\OpenSSL-Win64"-DCMAKE_BUILD_TYPE=Debug -DANDROID_BUILD_JAV A=OFF -- Building for: Visual Studio 10 2010 D:/ndk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86 _64/bin/arm-linux-androideabi-ar.exe 33 D:/ndk/android-ndk-r10/toolchains CMake Warning (dev) at cmake/AndroidToolchain.cmake:1747 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this
warning.Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMakeFiles/3.1.0/CMakeSystem.cmake:6 (include)
CMakeLists.txt:23 (project) This warning is for project developers. Use -Wno-dev to suppress it.-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- FreeRDP GIT -- Git Revision n/a -- FREERDP_EXTERNAL_SSL_PATH not set! - Needs to be set if openssl is not found in the android NDK (which usually isn't) -- Skipping disabled feature X11 for X11 (X11 client and server) -- Skipping disabled feature Wayland for Wayland (Wayland client) -- Skipping disabled feature DirectFB for DirectFB (DirectFB client) -- Finding required feature ZLIB for compression (data compression) -- Finding required feature OpenSSL for cryptography (encryption, certificate va lidation, hashing functions) CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.1/Modules/FindPackageH andleStandardArgs.cmake:138 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES) (found version "1.0.1j") Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.1/Modules/FindPackageHandleStandard Args.cmake:374 (_FPHSA_FAILURE_MESSAGE) cmake/FindOpenSSL.cmake:307 (find_package_handle_standard_args) cmake/FindFeature.cmake:16 (find_package) CMakeLists.txt:542 (find_feature)
-- Configuring incomplete, errors occurred! See also "C:/Users/Amit.rai/Desktop/FreeRDP-master/CMakeFiles/CMakeOutput.log".
0 comments:
Post a Comment