New Post: Compiling a program on linux.
The linking order didn't solve it even while switching to g + + 4.8 so here is the information you requested, thanks for responding so quickly: Linux ubuntu 14.04 lts x64 boost version:...
View ArticleNew Post: Looking for VS2010 support
HI Steve, Thank you for your replay. I'm now use VS2013 and the latest version C++ REST SDK 2.1, but I encounter a problem that which binary file should I choose between bin\win32\v120 and...
View ArticleNew Post: Compiling a program on linux.
Switching from wide chars doesn't resolve the issues either.
View ArticleNew Post: Calling an HTTP request from a function
Hi Zhelu: Thanks for the response-- that was extraordinarily helpful! I do have one quick follow up if you don't mind! How could I change this so that the user could input (or the program detect) the...
View ArticleNew Post: Looking for VS2010 support
Hi joeccmou, If you want to support running on XP then you have to choose to use the 'xp' version of our binaries. This is because some APIs are not available until Vista, so some of parts of our...
View ArticleClosed Unassigned: Compilation error when including...
In general, it appears that cpprest/json.h and boost/iostreams_filtering.hpp are incompatible. Specifically,on Ubuntu 14.4 with gcc 4.8.2 and boost 1.55, adding\#include...
View ArticleNew Post: User Input into HTTP
As I'm building an HTTP request, is there any way to prompt the user in the command window for the server/port/path etc.? Something like:string DummyURI cout << "Enter protocol and server: "...
View ArticleNew Post: Compiling a program on linux.
What do you mean switching from wide chars? Ideally, you should replace all instances of L"xyz" with U("xyz"). This will select either L"xyz" (on windows) or "xyz" (on non-windows) which corresponds...
View ArticleNew Post: Compiling a program on linux.
Errors Pastebin: http://pastebin.com/FipiAAx9 As for the source, I definitely don't mind making it available, this was just supposed to be something simple to help learn the API and it worked fine on...
View ArticleNew Post: Compiling a program on linux.
It looks like you forgot parentheses with the U macro. For example: uri_builder uribuild(U"http://us.battle.net"); should be uri_builder uribuild(U("http://us.battle.net"));
View ArticleUpdated Wiki: Setup and Build on iOS
How to build and setup on iOS First, follow all the instructions on Setup and Build on OSX. While some steps could be skipped if you only want to build for iOS, it is useful to diagnose problems during...
View ArticleCommented Issue: http_client - https server cert verification on iOS [191]
OpenSSL won’t have access to iOS’ built-in keychain which will cause cert validation issues. It will take more time to determine the most satisfactory path to travel from here, but easiest workaround...
View ArticleClosed Issue: http_client - https server cert verification on iOS [191]
OpenSSL won’t have access to iOS’ built-in keychain which will cause cert validation issues. It will take more time to determine the most satisfactory path to travel from here, but easiest workaround...
View ArticleUpdated Release: C++ REST SDK 2.2.0
Please fill in bugs and features as they are added into the release notes.LinuxUpdated to requirements for Boost to version 1.54 and Ubuntu 14.04.OS X, iOSReplace internally to use boost locks instead...
View ArticleNew Post: Looking for VS2010 support
stevetgates wrote: Hi joeccmou, If you want to support running on XP then you have to choose to use the 'xp' version of our binaries. This is because some APIs are not available until Vista, so some of...
View ArticleNew Post: Compiling a program on linux.
That I did, thanks it solved all the large error text from streaming out now the only issue is its saying it can't locate lib casablanca and boost. : /usr/bin/ld: cannot find -lcasablanca /usr/bin/ld:...
View ArticleNew Post: Compiling a program on linux.
So after routing around for a while, it looks like there is no libcasablanca on my computer, after searching around various folders for an .so or .a for libcasablanca and using the locate command...
View ArticleUpdated Release: C++ REST SDK 2.2.0
Please fill in bugs and features as they are added into the release notes.New FeaturesoAuthAdded library support for oAuth 1.0 and 2.0 in an experimental namespace while we fine tune the...
View ArticleUpdated Release: C++ REST SDK 2.2.0
Please fill in bugs and features as they are added into the release notes.New FeaturesoAuthAdded library support for oAuth 1.0 and 2.0 in an experimental namespace while we fine tune the API.Bug Fixes...
View ArticleNew Post: Compiling a program on linux.
Ah, yes. You'll need to add a library path to your link command in order to link against Casablanca. Assuming you've used the Linux instructions to the letter, try g++-4.8 -std=c++11 -o Realms...
View Article