jpbarrette / curlpp

C++ wrapper around libcURL
http://www.curlpp.org
1.68k stars 360 forks source link

Update Nuget Package #143

Open xCENTx opened 2 years ago

xCENTx commented 2 years ago

You can't even complete the first example with the nuget package. I'm not installing 20 different programs to make an http request.

Please fix as I have no intention on learning the ins and outs of cmake for the next 5-7 hours

image

CMAKE ERRORS FOR DAYS:

CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.23/Modules/FindCURL.cmake:181 (find_package_handle_standard_args)
  CMakeLists.txt:72 (find_package)

Downloaded straight from source and followed all the directions. There is seriously no sane reason for this to be so complicated. Honestly

jpbarrette commented 2 years ago

I appreciate the feedback and I encourage you to submit a fix. You could also use libcURL directly, which I'm sure have a better support for NuGet. Have a good day.

xCENTx commented 2 years ago

I appreciate the feedback and I encourage you to submit a fix. You could also use libcURL directly, which I'm sure have a better support for NuGet. Have a good day.

I'm literally just retarded and had a typo

#include <curlpp/Options,hpp>

Although i still cannot build from source and have given up on even trying. Will stick with a depreceated 10 year old build until the devloper decides to update for everybody

xCENTx commented 2 years ago

Nevermind. It seems the package has even more unresolved issues Forgetting that main should return a value, regardless. These errors should not be present

image