[vtkusers] Linker error Windows7 64bit Python wrapping enabled

Ritter, Nils Nils.Ritter at medizin.uni-leipzig.de
Tue Feb 22 10:17:02 EST 2011


Hi all,

I'm trying to compile VTK with Python wrapping enabled. The Compilation seems to work but I get a linker error:

Fehler   1             error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp___invalid_parameter_noinfo_noreturn" in Funktion ""public: class std::_Tree_const_iterator<class std::_Tree_val<class std::_Tmap_traits<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct _object *,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct _object *> >,0> > > & __thiscall std::_Tree_const_iterator<class std::_Tree_val<class std::_Tmap_traits<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct _object *,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct _object *> >,0> > >::operator++(void)" (??E?$_Tree_const_iterator at V?$_Tree_val at V?$_Tmap_traits at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@PAU_object@@U?$less at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2 at V?$allocator at U?$pair@$$CBV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@PAU_object@@@std@@@2@$0A@@std@@@std@@@std@@QAEAAV01 at XZ)".                C:\projects\build\VTK_for_VMTK\Common\vtkPythonUtil.obj

In the context of VTK and Python the only plausible  operator++  I could find is the one in vtkPythonUtil.cxx around line 1498. It seems a STL map, a STL string and a pointer are used, therefore I have no idea why an iterator increment could  fail here.

Is there a way to fix this?

Using Windows7 Pro 64bit, VTK 5.6.1, Python 2.7.1,  VS2010 and CMake 2.8.4

Thanks in advance.

Sincerely,
Nils


--
Nils Ritter
Research Associate | Working Group - TIMMS

Universität Leipzig | Faculty of Medicine
Innovation Center Computer Assisted Surgery (ICCAS)
Semmelweisstr. 14
D - 04103 Leipzig
Germany

phone  +49 (0) 341 97 - 12016
fax         +49 (0) 341 97 - 12009
Nils.Ritter at medizin.uni-leipzig.de<mailto:Nils.Ritter at medizin.uni-leipzig.de>
www.iccas.de/iccas/people/personal_pages/ritter.html<http://www.iccas.de/iccas/people/personal_pages/ritter.html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110222/e7b4bf60/attachment.htm>


More information about the vtkusers mailing list