manuels
manuels
That's really weird. Could you check if `parser.py` contains in line 95: ``` def canonical_function_name(node): ``` If so, please `cd C:\Python27\Lib\site-packages\cxx2rs` and run ``` python.exe C:\Python27\Lib\site-packages\cxx2rs\__main__.py C:\Users...\src\jvm.h > jvmti.rs ```...
please change the current directory before calling python.exe^^: ``` cd C:\Python27\Lib\site-packages\cxx2rs ```
could you try to change line 13 in `__main__` to ``` from .parser import canonical_function_name ``` or also try ``` from cxx2rs.parser import canonical_function_name ```
(Windows is weird ;)
This is at least one step further! ;) On linux I would set LD_LIBRARY_PATH to /usr/lib/llvm-3.5/lib. No clue how to do this on Windows.
Hmm, checkout this line: https://github.com/manuels/cxx2rs/blob/master/parser.py#L2 Maybe you have to adjust the path.
I just pulled a patch by @mardiros. Maybe that fixed your problem
I just pushed a new commit and tried compiling lv2.h. Worked fine here.
hmm, what does `clang --version` output on your system?
``` $ clang --version Debian clang version 3.5.0-1~exp1 (trunk) (based on LLVM 3.5.0) Target: x86_64-pc-linux-gnu Thread model: posix ``` That is pretty strange!