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
/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