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

Compiling on MacOS High sierra #39

Open
ohenrik opened this issue Jan 22, 2018 · 0 comments
Open

Compiling on MacOS High sierra #39

ohenrik opened this issue Jan 22, 2018 · 0 comments

Comments

@ohenrik
Copy link

ohenrik commented Jan 22, 2018

Ok, I wandered far into unknown territory as i am not a c# (or c++) developer. However i managed to compile this (although with a bunch of warnings) on MacOS High sierra.

First i copied this script and placed in the root directory:
https://github.com/andre-martins/TurboParser/pull/30/files

However this is made for an older version of MacOS... so following this Stackoverflow answer

I first replace libstdc++ with libc++ in the file install_deps-osx.sh only.

After running this script i searched and replaced this for all files in TurboParser:

Original: #include <tr1/unordered_map>
New: #include <unordered_map>

Original: tr1::unordered_map
New unordered_map

Can we maybe update in the master branch? I'd be happy to create a pull request if it would be actually considered and merged. It seems like the one before was not merged for some reason.

There is also some issues with the python wrapper. But i'll create a separate issue for that.

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