{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/349","repository_url":"https://api.github.com/repos/aws/aws-sdk-cpp","labels_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/349/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-cpp/issues/349/events","html_url":"https://github.com/aws/aws-sdk-cpp/issues/349","id":191953813,"number":349,"title":"AWS, S3: Android static library link error","user":{"login":"Woof-he1","id":5362211,"avatar_url":"https://avatars.githubusercontent.com/u/5362211?v=3","gravatar_id":"","url":"https://api.github.com/users/Woof-he1","html_url":"https://github.com/Woof-he1","followers_url":"https://api.github.com/users/Woof-he1/followers","following_url":"https://api.github.com/users/Woof-he1/following{/other_user}","gists_url":"https://api.github.com/users/Woof-he1/gists{/gist_id}","starred_url":"https://api.github.com/users/Woof-he1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Woof-he1/subscriptions","organizations_url":"https://api.github.com/users/Woof-he1/orgs","repos_url":"https://api.github.com/users/Woof-he1/repos","events_url":"https://api.github.com/users/Woof-he1/events{/privacy}","received_events_url":"https://api.github.com/users/Woof-he1/received_events","type":"User","site_admin":false},"labels":[{"id":210264940,"url":"https://api.github.com/repos/aws/aws-sdk-cpp/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-28T09:17:24Z","updated_at":"2016-12-12T06:42:00Z","closed_at":"2016-12-12T06:42:00Z","body":"project generated by this command\r\n`cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=0 -DANDROID_STL=\"libc++_static\" -DBUILD_SHARED_LIBS=0 -DFORCE_SHARED_CRT=0 -DTARGET_ARCH=ANDROID -DBUILD_ONLY=\"s3\" -DNDK_DIR=\"C:\\Android\\ndks\\android-ndk-r13b\" -G \"NMake Makefiles\" ..\\aws-sdk`\r\n\r\n> -- Found Git: C:/Program Files/Git/bin/git.exe (found version \"2.6.3.windows.1\")\r\n-- Building AWS libraries as static objects\r\n-- Android ABI: none specified, defaulting to armeabi-v7a\r\n-- Android toolchain unspecified, defaulting to standalone-clang\r\n-- Libc++ requires setting API level to at least 21\r\n-- Android std lib: libc++_static\r\n-- Android API level: android-21\r\n-- Detected NDK version r13b\r\n-- Using existing standalone toolchain located at D:/Work/_OPEN_SOURCE/from_tag/aws-sdk/toolchains/android/armeabi-v7a-standalone-clang-android-21-libc++_static-13002\r\n-- Building project version: 1.0.34\r\n-- The CXX compiler identification is Clang 3.8.256229\r\n-- Check for working CXX compiler: D:/Work/_OPEN_SOURCE/from_tag/aws-sdk/toolchains/android/armeabi-v7a-standalone-clang-android-21-libc++_static-13002/bin/clang++.cmd\r\n-- Check for working CXX compiler: D:/Work/_OPEN_SOURCE/from_tag/aws-sdk/toolchains/android/armeabi-v7a-standalone-clang-android-21-libc++_static-13002/bin/clang++.cmd -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n--   Building Zlib as part of AWS SDK\r\n-- Encryption: Openssl\r\n--   Building Openssl as part of AWS SDK\r\n-- Http client: Curl\r\n--   Building Openssl as part of AWS SDK\r\n-- Considering s3\r\n-- Updating version info to 1.0.34\r\n-- Custom memory management enabled; stl objects now using custom allocators\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: D:/Work/_OPEN_SOURCE/from_tag/aws-sdk-android-so-libc++static\r\n\r\nthe build process was success. \r\n\r\nI link all libraries from generated project such as libssl, libcrypto, libcurl, libaws-cpp-sdk-core and libaws-cpp-sdk-s3. \r\nerros are like\r\n`\\curl\\lib\\vtls\\openssl.c:function Curl_ossl_init: error: undefined reference to 'OPENSSL_load_builtin_modules'\r\nD:/Work/_FROM_NEW_GITLAB/TestAWS_A/app/src/main/cpp/../../../libs/armeabi-v7a/libaws-cpp-sdk-core.a(CryptoImpl.cpp.o):D:\\Work\\_OPEN_SOURCE\\from_tag\\aws-sdk\\aws-cpp-sdk-core\\source\\utils\\crypto\\openssl\\CryptoImpl.cpp:function Aws::Utils::Crypto::OpenSSL::init_static_state(): error: undefined reference to 'ERR_load_CRYPTO_strings'`\r\n\r\ni guess openssl and libcurl has problems..\r\n\r\nwhen link static library, should add some options?\r\n\r\n\r\n"}}
{"actor":{"display_login":"Woof-he1"}}