Giter VIP home page Giter VIP logo

Comments (3)

dmcc avatar dmcc commented on August 15, 2024

Sadly, I'm no expert on building BLLIP on Mac OS X (still). Is http://stackoverflow.com/questions/26958232/need-help-wrong-architecture-causing-app-to-crash-when-launching-in-ios-7-but helpful?

from bllip-parser.

fhamborg avatar fhamborg commented on August 15, 2024

Unfortunately not, but I managed to avoid this problem by basically performing PyCharm remote development, i.e., I setup a Ubuntu VM which is now controlled by PyCharm. The code is executed on that VM rather than on MacOS. It's not good, but it works. I followed this guide: https://blog.jetbrains.com/pycharm/2015/03/feature-spotlight-python-remote-development-with-pycharm/

from bllip-parser.

namkhanhtran avatar namkhanhtran commented on August 15, 2024

here is what I did to solve this problem on Mac el Capitan

  1. of course, install swig with brew: brew install swig
  2. in order to run: make (to compile), I need to specify the CC and CXX as stated in the README: CC=/usr/lib/bin/gcc-7 and CXX=/usr/lib/bin/g++-7
  3. I tried to install the python package using pip install bllipparser, but got the same error. So, I decided to install from source code with python setup.py install. But the trick here is that I NEED to use the default CC and CXX (just open a new terminal :- ) )
  4. Probably, one error (Expected in: flat namespace) will be returned, just add “‘-stdlib=libc++’” when building reranker_module in setup.py, instead of c++11. (https://stackoverflow.com/questions/16880571/why-does-clang-lack-forward-list)

Good luck ;-)

from bllip-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.