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

Commented Unassigned: build error on Mac 10.10 [310]

$
0
0
I have met these errors when I build it on my mac:

/Users/liuzhn/Projects/odatacpp/odatacpp/lib/casablanca/Release/libs/websocketpp/websocketpp/common/network.hpp:53:17: error: expected ')'
inline uint64_t htonll(uint64_t src) {


/Users/liuzhn/Projects/odatacpp/odatacpp/lib/casablanca/Release/libs/websocketpp/websocketpp/common/network.hpp:74:17: error: expected ')'
inline uint64_t ntohll(uint64_t src) {


Is there anything I missed?

Thanks!
Comments: Hi Izbobr, This is a conflict between OS X and one of our dependencies, websocketpp. In an update OS X started defining macros for htonll and ntohll which is causing the conflict. We've added a work around for the issue in the development branch. The fix will be in the master branch for release 2.3.0, probably out in the next week. For now I recommend you use off of the development branch until then. Here is a [relevant discussion](https://casablanca.codeplex.com/discussions/568883) that hit the issue as well. Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



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