Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Compiling a program on linux.

$
0
0
It runs on my machine doing the following:
  • Build Casablanca in ~/casablanca/build.debug
  • Paste the "Current" source in ~/granda/Realms.cpp
  • Replace the instances of U"hello, world" with U("hello, world")
  • Build with the command "g++ Realms.cpp -L ~/casablanca/build.debug/Binaries -lcpprest -lboost_system -I ~/casablanca/Release/include -std=c++11"
  • Copy the libcpprest.so.2.1 from ~/casablanca/build.debug/Binaries to ~/granda
  • Run with the command "LD_LIBRARY_PATH=. ./a.out"
It prompts for "Enter realm name:" and then does the usual connect when given input.

Does that work for you?

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>