-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cpprestsdk] with dependencies from Conan Center Index repo #1065
Comments
You have both openssl/1.1.1d (from CCI) and OpenSSL (from Conan Community). As you can see the name is same, but the package is not the same. Removing the old version (OpenSSL) should work, but as it's that package requires the old version, we need to fix it.
Yes, until having it in CCI.
Case sensitive it is a system feature, so if you are running Linux or Max (Unix) it's case-sensitive of course. The libxml2 module was changed to follow the correct name provided by CMake modules: https://gitlab.kitware.com/cmake/cmake/blob/master/Modules/FindLibXml2.cmake |
Thank you for the info. I will wait until cpprestsdk is updated. May be we need boost 1.69.0 in CCI because of #969
Ok. But we don't use the cmake_paths generator and find_package(...) in our CMakeLists.txt from our CMakeLists.txt. I've changed from CONAN_PKG::libxml2 to CONAN_PKG::LibXml2 to compile successfully. May be cmake generator bug? |
@dmn-star: conan/1.69.0 is being added by @uilianries : conan-io/conan-center-index#498 I patched websocket here: bincrafters/conan-websocketpp#5 So cpprestsdk/stable will work with 1.71.0 once bincrafters/conan-cpprestsdk#9 is merged in (Sync testing 2.10.14 -> stable 2.10.14). |
Description of Problem, Request, or Question
I have tried to use cpprestsdk with the dependencies from Conan Center Index repo.
Case insensitive filesystem can't manage this
I found the similar issue #1557 conan-io/conan#1557
was not found. Perhaps a find_package() call is missing for an IMPORTED
I've changed from CONAN_PKG::libxml2 to CONAN_PKG::LibXml2.
Two questions:
Do you plan to update cpprestsdk recipe to works with the dependencies from Conan Center Index repo?
Are the CONAN_PKG::xxx case sensitive now?
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)conanfile.txt
[requires]
cpprestsdk/2.10.14@bincrafters/stable
openssl/1.1.1d
libxml2/2.9.9
zlib/1.2.11
boost/1.70.0
libxslt/1.1.33@bincrafters/stable
[generators]
cmake
[options]
cpprestsdk:exclude_websockets = True
profile
[settings]
os_build=Macos
arch_build=x86_64
compiler=clang
compiler.version=8
compiler.libcxx=libc++
os=Android
os.api_level=21
arch=armv7
build_type=Release
[build_requires]
android_ndk_installer/r20@bincrafters/stable
Steps to reproduce (Include if Applicable)
Install & cross build cpprestsdk with custom profile
The text was updated successfully, but these errors were encountered: