-
Notifications
You must be signed in to change notification settings - Fork 14
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
cpr dependency not building on Windows MSVS 2015 #18
Comments
OK. So, the cpr library isn't presently used. It's there in the build system from when I was messing with plotly online (it's used in online.h to post figures to plotly online. I'd like to come back to whether an online feature should be kept - so cross-referencing #10 as some discussion should be made. However, in the meantime at least, I'm quite happy with removing the cpr dependency because I don't think it's actually linked anywhere. Give me half an hour. |
OK. 36 minutes. Give that a try @ShamanTcler |
Update I switched to using conan-cmake (https://github.com/conan-io/cmake-conan) in the CMakelists.txt file and then gave it: conan_cmake_run( And it compiled but did not link. The switch to using conan-cmake was because it gets rid of the install issue... though you do need to have a conan.cmake file... |
Have you still got the same problem of not linking against cpr? or is it a new problem? |
conan install . --install-folder C:/Users/xxxx/github/cpplot/build/release
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=14
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
ERROR: cpr/1.5.0: Error in configure() method, line 39
if self.options["libcurl"].with_openssl == False: # 'is False' doesn't work here (see conan-io/conan#3620)
ConanException: option 'with_openssl' doesn't exist
Possible options are []
I was using the conan-center as my remote.
The text was updated successfully, but these errors were encountered: