Skip to content
Advertisement

Tag: clang

python can’t load clang library under cygwin environment

I installed the latest cygwin64 under windows 10, then started to install some cygwin packages like python3.9 and clang 8.0.1, then via cygwin terminal, pip3 install clang==8.0.1 Now, I’m trying the following: What I understand is that it fails to open a clang library, after searching for it, I found a lot of libraries at /usr/lib, and one of them

How to use compile_commands.json with clang python bindings?

I have the following script that attempts to print out all the AST nodes in a given C++ file. This works fine when using it on a simple file with trivial includes (header file in the same directory, etc). However, I get a clang.cindex.TranslationUnitLoadError: Error parsing translation unit. when I run the script and provide a valid C++ file that

Advertisement