Open kinghajj opened 8 years ago
HI! It should work. Let me try it, we discovered a better way to link with Apple frameworks and maybe it solves the problem. I'll report back.
Try now, I've updated the libcurl package. Remember to use the "-u" option in conan install to get the updated recipe. Now the linker works great against the apple frameworks but it fails linking with zlib. Conan specifies it as a dependency automatically but I think you should "hack" a little more the CMakeLists aws-sdk-cpp/CMakeLists.txt. Take in account that in these CMakeLists.txt the CONAN_LIBS variable is not used so I don't know if it's automatically linking with "z" or not. But I think it's another issue and not related with the libcurl package, so it's and advance!
Great job with the conanfile.py by the way, it looks fantastic. Write me if I can help with it.
First, I'm quite new to conan, so I'm not really sure if this is 1) a bug with conan, 2) a bug with this recipe, or 3) a bug in my own recipe. Sorry if it turns out 1 or 3 are the actual culprits.
I'm trying to write a recipe for the AWS C++ SDK. So far, I've managed to use it successfully on both Arch Linux and an Ubuntu 16.04 Docker container. When I attempted to install it on my Macbook, however, I get a bunch of "Undefined symbols for architecture x86_64" referencing functions like _CFArrayCreate/_SSLClose/etc.
Here's the recipe I've come up with so far:
Do you have any suggestions to make the recipe work? I shouldn't have to specify these libraries manually, right, because line 166 of this project conanfile.py, right?