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

MacOS compilation fails miserably #6

Open
GoogleCodeExporter opened this issue Sep 28, 2015 · 1 comment
Open

MacOS compilation fails miserably #6

GoogleCodeExporter opened this issue Sep 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Compilation fails on recent versions of MacOS.

Multiple sources of problems:
-DOS_MACOSX missing in Makefile
- Usage of lots of nonstandard include files:
  * base/port.h:#include <byteswap.h>
  * base/stl_decl_macosx.h:    
    #include <bits/stl_tempbuf.h>
    #include <ext/functional>
    #include <ext/hash_fun.h>
    #include <ext/hashtable.h>

I'm using the current version of s2-geometry-library.
Will be happy to help, owners/admins please let be in touch if interested.

OS and compiler:
$ uname -a
Darwin gwesp 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; 
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

Original issue reported on code.google.com by gew...@gmail.com on 24 Feb 2015 at 6:26

@GoogleCodeExporter
Copy link
Author

There's a fork on github that actually works (requires cmake):

https://github.com/xkwangy/google-s2-geometry

Original comment by gew...@gmail.com on 24 Feb 2015 at 7:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant