본문 바로가기
프로그래밍/C빌드 에러

aws sdk cpp cmake error

by Ohdumak 2018. 9. 28.
728x90

AWS SDK Cpp cmake error



현상:


jwpark@jwpark-OptiPlex-3050 /data1/dev/aws-sdk-cpp-1.6.20 $ cmake .

-- Could NOT find Git (missing:  GIT_EXECUTABLE) 

-- TARGET_ARCH not specified; inferring host OS to be platform compilation target

-- Building AWS libraries as shared objects

-- Generating linux build config

-- Building project version: 1.6.20

--   Zlib include directory: /usr/include

--   Zlib library: /usr/lib/x86_64-linux-gnu/libz.so

-- Encryption: Openssl

--   Openssl include directory: /usr/include

--   Openssl library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so

-- Http client: Curl

-- Could NOT find CURL (missing:  CURL_LIBRARY CURL_INCLUDE_DIR) 

CMake Error at cmake/external_dependencies.cmake:86 (message):

  Could not find curl

Call Stack (most recent call first):

  CMakeLists.txt:112 (include)



-- Configuring incomplete, errors occurred!



원인:
libcurl4-openssl-dev가 없어서 발생

해결:

sudo apt-get install libcurl4-openssl-dev

728x90

댓글