Quantcast
Viewing all articles
Browse latest Browse all 4845

Edited Unassigned: how to compile the code on linux platform [43]

I have downloaded the c++ rest SDK 'casablanca' code for linux platform and using it on ubuntu 12.04.
I had completed all the setup, build, and run tests steps and all the test has been succesfully passed.
after that i have written my code for HTTP request. I want to know how should i include the path and compile my code on Linux.

please find my code attached.

the same code is running successfully on VS2012 after setting path on windows platform.

when i am compiling my code by following command
g++-4.7 code.cpp -I /home/tushar/Desktop/casablanca/rest/Release/include/ -lcasablanca -lboost_thread -Wno-sign-compare -Wno-unused-parameter

i am getting the error:
fatal error: http_client.h: No such file or directory
compilation terminated.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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