Skip to content

How to install and link multiple configurations in my project? #2315

Answered by jkaplan55
jkaplan55 asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to solve this by manually adding all the libs the SDK requires.

I was not able to use cmakes findpackage function to find the debug and release versions of the SDK. If i tell cmake:

findpackage(AWSSDK)
findpackage(AWSSDKdebug)

CMake will find the first one, and no matter what I tried, the second findpackage() would always refer back to the first package already loaded.

So I attempted to manually add the .libs from aws-cpp-sdk/all/lib. This didn't work at first until I discovered that the findpackage scripts add additional libs that are not in those folders! Once I added ALL of the the libs the sdk requires, I was able to build successfully. Below is what I added to my project…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jkaplan55
Comment options

@jkaplan55
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jkaplan55
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants