Multiple declarations error while I generate ogre code


16-04-2007 09:09:37

Hi again!

I'm still trying to generate the python-ogre code, but I'm still having some problems.

I've just solve all the problems which I had posted at this forum, but now, I have got the following error:

Traceback (most recent call last):
File "", line 1003, in <module>
File "", line 973, in generate_code
mb.build_code_creator (module_name='_ogre_', doc_extractor= extractor )
File "C:\Python25\lib\site-packages\pyplusplus\module_builder\", line 247, in build_code_creator
self.__code_creator = creator.create()
File "C:\Python25\lib\site-packages\pyplusplus\module_creator\", line 324, in create
declarations.apply_visitor( self, decl )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\", line 275, in apply_visitor
getattr( visitor, fname )()
File "C:\Python25\lib\site-packages\pyplusplus\module_creator\", line 554, in visit_class
copy_constr = self.curr_decl.constructor( lambda c: c.is_copy_constructor, recursive=False )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\", line 504, in constructor
, recursive=recursive )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\", line 327, in _find_single
found = matcher_module.matcher.get_single( matcher, decls, False )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\", line 81, in get_single
raise matcher.multiple_declarations_found_t( decl_matcher )
pygccxml.declarations.matcher.multiple_declarations_found_t: Multiple declarations has been found. matcher: [<function <lambda> at 0x201375B0>]

I am competely lost at this point and I need some help with this error.

Thanks! :D


16-04-2007 09:56:01

Are you using the Ogre 1.4 SDk Source release (not the CVS)??

Also can you move this topic to the google group as it's easier to fix build compile problems there

Information at




16-04-2007 17:55:10

Yes, I'm using the Ogre 1.4 SDK Source release and I've got that problem. I'm going to move this topi to the google group right now.

Thank you very much for your help!