Giter Club home page Giter Club logo

Comments (6)

manuels avatar manuels commented on September 21, 2024

The "easy" fix would be calling cxx2rs like this:

LD_LIBRARY_PATH=/usr/lib/llvm-3.5/lib cxx2rs ...

But to be honest, I have no clue why clang.cindex.Config.set_library_file(find_library('clang')) does not work.

from cxx2rs.

steveklabnik avatar steveklabnik commented on September 21, 2024
$ LD_LIBRARY_PATH=/usr/lib/llvm-3.5/lib cxx2rs v8 ~/src/v8/include/v8.h  > src/lib.rs
Traceback (most recent call last):
  File "/usr/local/bin/cxx2rs", line 9, in <module>
    load_entry_point('cxx2rs==0.3.5', 'console_scripts', 'cxx2rs')()
  File "/usr/local/lib/python2.7/dist-packages/cxx2rs/__main__.py", line 69, in main
    del all_enums['']
KeyError: ''

Farther!

(I'm trying to wrap v8)

from cxx2rs.

manuels avatar manuels commented on September 21, 2024

I just pushed a commit that should fix this bug.

from cxx2rs.

manuels avatar manuels commented on September 21, 2024

I just saw that you want to port v8, which is C++.
In spite of the name cxx2rs, it currently does not support C++. I didn't have the use case, yet. But with a little bit of work, I think it would be quite possible to make cxx2rs work for C++ code.

from cxx2rs.

steveklabnik avatar steveklabnik commented on September 21, 2024

ahhh i just totally mis-read the Readme, then. Thanks!

from cxx2rs.

manuels avatar manuels commented on September 21, 2024

Looks more like I totally mis-wrote the Readme ;)
I will fix that later today.

from cxx2rs.

Related Issues (6)

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.