0

I`m trying to build a linux console app for web post(REST) with VS2017.

Can i compile cpprestsdk for linux with VS2017?

손호성
  • 1
  • 4

1 Answers1

0

Yes ofcourse you can.

  1. Install Vs2017 with "Linux Development with C++"
    https://www.hanselman.com/blog/WritingAndDebuggingLinuxCApplicationsFromVisualStudioUsingTheWindowsSubsystemForLinux.aspx
    then you can now create and debug with Linux
  2. Install cpprestsdk on your Linux Server
    https://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Linux
  3. Open [Property] of your VS Project [Linker] -> [Input]
    Add "boost_system; crypto; ssl; cpprest" to the [Library Dependencies].

    Then it works. Hope this will help you.
Ultimate
  • 76
  • 9