-
Notifications
You must be signed in to change notification settings - Fork 278
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
Ardb does not compile in OSX (mavericks, Xcode 5.0.2) #25
Comments
Just commit a fix for this in 'develop' branch f58b41d |
Thank you. It goes forward now. However I still have warnings and errors and compilation fails. Please see output: http://pastebin.com/XMkVUWWT |
The compiler complains about a struct like below at "std::deque" which T is the nested struct name. What is the version of the g++? I remember that it's valid for g++ 4.2 at OSX 10.7.
|
|
There is an article talking about it tens of years ago , it seems that different stl library has different behavior. I do not have a mac to test now. Is there any compile flags for clang c++ to compile the source contains code snippet below?
|
I meet the similar error |
It seems ardb could be compiled in OSX now. Travis-CI status shows the build passed in OSX |
it builds with leveldb, lmdb, but not with rocksdb. Here's the log.
|
You can remove '-lrt' in Makefile at line 173 for MacOS, it's a link options for linux. |
The reply type is not set if the key is not exist for 'lpop', just commit a fix for it. |
Yep, that's fixed now. I tested on OSX. |
Most warnings are from 'cpp-btree', it's OK since it's a mature lib from google. The others are also could be ignored. |
ok @yinqiwen I'm closing this. Thanks! |
Hi, I'm trying to compile master branch from source, but I cannot get this error passed:
I got stuck, could you please help or provide documentation for the procedure under OSX?
The text was updated successfully, but these errors were encountered: