aws-iot-devide-sdk build in visual studio linker errors

Tejaswini Source

I want aws-iot-devide-sdk for windows. I downloaded this repo from release branch, have placed certificates in mentioned folder, ran cmake as mentioned in README. Build was successful. Now I have a visual studio project ALL_BUILD.vcxproj inside builds dir which I created, I need to build it and get executables for examples provided. Am I right? But after I open ALL_BUILD.vcxproj with visual studio and build, I am getting many errors like :

Error LNK2019 unresolved external symbol _CRYPTO_cleanup_all_ex_data referenced in function "public: __thiscall awsiotsdk::network::OpenSSLInitializer::~OpenSSLInitializer(void)" ([email protected]@awsiotsdk@@[email protected]) pub-sub-sample aws-iot-device-sdk-cpp-release\aws-iot-device-sdk-cpp-release\builds\samples\PubSub\OpenSSLConnection.obj 1

Can anyone please tell me how to overcome this and get successful build? Thankyou :)



comments powered by Disqus