[cfe-dev] Fwd: [cfe-commits] [PATCH 2/2] [clang.py] Implement Token API
Carlos Andrade
carlosviansi at gmail.com
Thu Jul 12 17:33:37 PDT 2012
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 <module>
import clang.cindex
File
"/Users/carlosandrade/Desktop/llvm/tools/clang/bindings/python/clang/cindex.py",
line 2816, in <module>
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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120712/2981ff63/attachment.html>
More information about the cfe-dev
mailing list