[cfe-commits] [PATCH 2/2] [clang.py] Implement Token API

Apologizes, sent the problem to the wrong list.

I was using the old version of lib clang python interface and have been following up on this. I checked llvm, clang and the compiler as recommended on the get started of the clang webpage (http://clang.llvm.org/get_started.html). After changing the python path to the new build I am now getting an error while trying to run the code.

Traceback (most recent call last):
File “aura.py”, line 7, in
import clang.cindex
File “/Users/carlosandrade/Desktop/llvm/tools/clang/bindings/python/clang/cindex.py”, line 2816, in
register_functions(lib)
File “/Users/carlosandrade/Desktop/llvm/tools/clang/bindings/python/clang/cindex.py”, line 2407, in register_functions
lib.clang_CompilationDatabase_dispose.argtypes = [c_object_p]
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py”, line 378, in getattr
func = self.getitem(name)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/init.py”, line 383, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(0x1003b21b0, clang_CompilationDatabase_dispose): symbol not found

Does anyone know what is that?

Thanks,