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

Commented Unassigned: please provide install instructions. [289]

$
0
0
Hi, I cannot find anywhere how to install the package, and there is no install target in cmake files.
Moreover there is no cmake way to provide doxygen files.

can you please explain where should files be installed?

thanks
Comments: Hi, We don't currently have install instructions since our targeted use case has been distribution of the Casablanca .so/.dll files with the using product. For just the redist, you'll need * $(BUILD_DIR)/Binaries/libcpprest.so.2.2 For a dev version, you'll want also * $(SRC_DIR)/Release/include Our doxygen file is located at * $(SRC_DIR)/Release/public_apis_doxyfile So you'll need to put the .so file in /usr/lib, the headers in /usr/include (so it looks like /usr/include/cpprest/json.h), and potentially generate the Doxygen docs and put them somewhere. However! A caveat that you should be aware of is that we do not guarantee binary compatibility between versions (even patch level). We strive for source-level compatibility between minor versions. This means you'll probably need to make sure that linking against cpprest links against _that specific version (libcpprest.so.2.2.0)_ and doesn't link against the versionless .so (libcpprest.so). I don't know the Linux mechanisms to do this (maybe don't make symlinks?), but if this isn't done then the system will only be able to have one copy of Casablanca installed (which is incompatible with all programs built against a different version). roschuma

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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