Comments (6)
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.
$ 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.
I just pushed a commit that should fix this bug.
from cxx2rs.
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.
ahhh i just totally mis-read the Readme, then. Thanks!
from cxx2rs.
Looks more like I totally mis-wrote the Readme ;)
I will fix that later today.
from cxx2rs.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cxx2rs.