how to include path and compile user written code on linux platform using c++ rest sdk

Jul 29, 2013 at 7:15 AM
Edited Jul 29, 2013 at 9:20 AM
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.

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.
Jul 30, 2013 at 4:17 PM
If you are using v1.1, you need to qualify the include file name by using "cpprest/http_client.h." In 1.1, we moved the files down into subdirectories to avoid possible naming conflicts with other libraries.