[C++-sig] Problem running pygccxml example
Haridev, Meghana
mharidev at qualcomm.com
Wed Apr 5 22:44:34 CEST 2006
Hi Folks,
I'm trying to run the pygccxml example
(http://www.language-binding.net/pygccxml/pygccxml.html#i-d-like-to-see-
an-example). (Also found under pygccxml-0.6.9/docs from the installation
tarball)
I modified example.py
(http://www.language-binding.net/pygccxml/example.py ) to set the
correct path for gccxml:
config = pygccxml.parser.config_t(
gccxml_path=r'/opt/buildtools/bin/gccxml' )
The source file 'core_class_hierarchy.hpp' has no changes:
http://www.language-binding.net/pygccxml/core_class_hierarchy.hpp
But I get the following error when I run example.py:
Traceback (most recent call last):
File "example.py", line 13, in ?
namespaces = pygccxml.parser.parse( ['core_class_hierarchy.hpp'],
config )
File
"/opt/buildtools/lib/python2.4/site-packages/pygccxml/parser/__init__.py
", line 25, in parse
answer = parser.read_files(files, compilation_mode)
File
"/opt/buildtools/lib/python2.4/site-packages/pygccxml/parser/project_rea
der.py", line 61, in read_files return
self.__parse_file_by_file(files)
File
"/opt/buildtools/lib/python2.4/site-packages/pygccxml/parser/project_rea
der.py", line 82, in __parse_file_by_file
decls = reader.read_file( header )
File
"/opt/buildtools/lib/python2.4/site-packages/pygccxml/parser/source_read
er.py", line 140, in read_file
raise error
KeyError: u'complex long double'
I am using:
GCC: 4.0.2
Python: 2.4.2
Gccxml: 0.7.0
Pygccxml: 0.6.9
Any pointers to what I'm doing wrong? Am I missing anything in the
configuration?
Thanks,
-Meghana.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20060405/2b274c41/attachment.htm>
More information about the Cplusplus-sig
mailing list