Open ZackOfAllTrades opened 3 years ago
Regarding your Issue, your are definitely on the right track. OpenSSL with your configuration only required for testing. Therefore setting CPR_BUILD_TESTS_SSL=OFF
should resolve this Issue. I would try removing the build directory, and then running
mkdir build
cd build
cmake .. -DCPR_BUILD_TESTS=OFF
cmake --build .
Usually this should resolve your Issue.
I totally agree that the Windows support of cpr and it's docs, is best described as lacking. Unfortunately I stopped using Windows about 6 years ago. I would pretty much consider myself clueless on Windows for development. Therefore, I do not see myself in the position, to improve those issues. That's why such changes must come from the community of cpr (Since it is having a pretty respectable size, I have sincere hope that this could happen). So I would conclude this issue with PRs from users welcome.
I'm having a terrible time trying to build cpr on windows.
Describe the solution you'd like I'm fairly new to cmake so maybe Im missing some assumed knowledge, It would be nice to have a beginner friendly verbose setup guide. Im not sure what OpenSSL has to do with it or how to set it up so cpr can use it but it seems like it won't work without it. I've tried setting the
CPR_BUILD_TESTS_SSL=OFF
but the get runtime errors.