Closed Unassigned: how to exceute an object [44]
Hello,Thanks for the response.Now i am able to make the object (object name : first) but when i am exceuting the object by following command./first than i am getting error./first: error while loading...
View ArticleNew Post: how to exceute the Bingreuest object
Please see the comments on the issue you opened. You need to set the LD_LIBRARY_PATH, which Linux relies on for finding shared libraries at runtime.
View ArticleNew Post: how to include path and compile user written code on linux platform...
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...
View ArticleCommented 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...
View ArticleNew Post: Creating a JSON array with objects
I am trying to creating a JSON array and fill it with objects or fields. Are there any examples to do so?
View ArticleCommented 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...
View ArticleNew Post: Creating a JSON array with objects
Does that compile? I'm surprised that the make_pair() call does the right conversion, but C++ can be magical sometimes... :-) Try this, too:json::value polygon; for (int i = 0; i < 10; ++i) {...
View ArticleClosed 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...
View ArticleNew Post: C++ REST SDK support Solaris or not?
We haven't tried it. It would be interesting to know how close the Linux code based is to working on Solaris. The main non-POSIX dependency is on a couple of boost libraries. The makefiles have some...
View ArticleNew Post: Creating a JSON array with objects
Actually I am trying to create the following JSON:"polygons" : [ {"id": "1" "poygon": [ [10, 20], [55. 50], [55. 56]. [50,50] ] }, {"id": "2" "poygon": [ [12, 22], [55. 52], [55. 56]. [51,52] ] } ] Any...
View ArticleNew Post: Creating a JSON array with objects
OK, I don't have a compiler with me right now, so this may be only approximate, but something like this:json::value create_point(int x, int y) { json::value result; result[0] = x; // or...
View ArticleNew Post: Creating a JSON array with objects
Thanks! That was most useful. Plus you are right about the unit test, it contains a whole load of good stuff!
View ArticleCommented Feature: Web Socket Support [33]
Please vote if this is an important scenario for you. If the lack of this feature is is blocking your adoption of the C++ REST SDK, please comment below.Note: We cannot guarantee that this feature will...
View ArticleNew Post: How to PUT a serialized JSON?
Here's an example from the unit tests: http_client client(m_uri); // JSON bool value. json::value bool_value = json::value::boolean(true); client.request(methods::PUT, U("/"), bool_value).get(); Of...
View ArticleCreated Unassigned: test_runner httplistener_test.so crashes [45]
OS: CentOS 6.4 x86_64Compiler: GCC 4.8.1```... $ gdb test_runner...(gdb) r httplistener_test.so...Program received signal SIGSEGV, Segmentation fault.0x00007ffeb80012f0 in ?? ()...(gdb) bt#0...
View ArticleCommented Unassigned: test_runner httplistener_test.so crashes [45]
OS: CentOS 6.4 x86_64Compiler: GCC 4.8.1```... $ gdb test_runner...(gdb) r httplistener_test.so...Program received signal SIGSEGV, Segmentation fault.0x00007ffeb80012f0 in ?? ()...(gdb) bt#0...
View ArticleEdited Unassigned: test_runner httplistener_test.so crashes [45]
My application was crashing at exit with similar to the provided below callstack, and I when tried running the tests, they all passed but some of them crashed at the end.OS: CentOS 6.4 x86_64Compiler:...
View ArticleCreated Unassigned: error in calling rest api [46]
Hello,please find the code attached below.the following is compiled successfully but while running it's giving an error :terminate called after throwing an instance of 'web::json::json_exception'...
View Article