1

I'm trying to test the basic petstore example with a nodejs server and a cpp client. When trying to build the project with cmake, I have the following error:

Failed to find cpprest SDK (or missing components).  Double check that
  "CPPREST_ROOT" is properly set

At line 39 of CMakeLists.txt, I have:

#set(CPPREST_ROOT ${PROJECT_SOURCE_DIR}/../../../developmentTools/3rdParty/cpprest)"

Which third party cpprest library should I use?

3
  • There only is one project called cpprest sdk afaik, so I don't really understand your question.
    – Baum mit Augen
    Commented Mar 7, 2018 at 9:59
  • This one? github.com/Microsoft/cpprestsdk Commented Mar 7, 2018 at 10:00
  • 1
    That's the only one that came up on google and ddg for me, so should be right.
    – Baum mit Augen
    Commented Mar 7, 2018 at 10:01

2 Answers 2

4

Use the following CPP Rest SDK:

Microsoft/cpprestsdk

Use following command to build you project:

cmake -D CPPREST_ROOT=/usr .
0

There is only one cpprest project: https://github.com/Microsoft/cpprestsdk

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.