Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for OSX & IOS failed #24

Open
iazarov opened this issue Aug 3, 2015 · 1 comment
Open

Build for OSX & IOS failed #24

iazarov opened this issue Aug 3, 2015 · 1 comment

Comments

@iazarov
Copy link

iazarov commented Aug 3, 2015

Step 4 for OSX build is to build the dependency library Casablanca v2.1.0.
This step failed with the error:

../odatacpp-client/lib/casablanca/Release/libs/websocketpp/websocketpp/common/network.hpp:53:17: error: expected ')'
inline uint64_t htonll(uint64_t src) {
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/_endian.h:141:25: note: expanded
from macro 'htonll'

define htonll(x) __DARWIN_OSSwapInt64(x)

                    ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libkern/_OSByteOrder.h:78:30: note:
expanded from macro '__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))

I tried to use v2.3.0 that successfully was build with MacOSX10.10, however, it causes the error on step 5 while building odatacpp_client.

Is odatacpp_client compatible with MacOSX10.10?
Is it possible to get the binaries for IOS?

@iazarov
Copy link
Author

iazarov commented Aug 3, 2015

after removing htonll() functions from ../casablanca/Release/libs/websocketpp/websocketpp/common/network.hpp
and fixing calls to the function the build for OSX was OK. Three unit tests are broken.

The attempt to build for IOS ended in the following:
fatal: repository 'https://git.gitorious.org/boostoniphone/galbraithjosephs-boostoniphone.git/' not found

@iazarov iazarov changed the title Build for OSX failed Build for OSX & IOS failed Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant