Multiple declarations error while I generate ogre code

Monio

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 "generate_code.py", line 1003, in <module>
generate_code()
File "generate_code.py", line 973, in generate_code
mb.build_code_creator (module_name='_ogre_', doc_extractor= extractor )
File "C:\Python25\lib\site-packages\pyplusplus\module_builder\builder.py", line 247, in build_code_creator
self.__code_creator = creator.create()
File "C:\Python25\lib\site-packages\pyplusplus\module_creator\creator.py", line 324, in create
declarations.apply_visitor( self, decl )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\algorithm.py", line 275, in apply_visitor
getattr( visitor, fname )()
File "C:\Python25\lib\site-packages\pyplusplus\module_creator\creator.py", 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\scopedef.py", line 504, in constructor
, recursive=recursive )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\scopedef.py", line 327, in _find_single
found = matcher_module.matcher.get_single( matcher, decls, False )
File "C:\Python25\Lib\site-packages\pygccxml\declarations\matcher.py", 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

andy

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 http://www.python-ogre.org

Cheers

Andy

Monio

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!