[vtkusers] VTK 5.10.0 rc3 compilation errors in MS Visual studio 2010

David E DeMarle dave.demarle at kitware.com
Tue May 1 09:36:55 EDT 2012


Leonid,

I'm trying to reproduce this. Besides enabling VTK_USE_CHEMISTRY, what
other settings have you changed from the defaults?

thanks,

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Thu, Apr 26, 2012 at 6:14 AM, Leonid Dulman
<leonid_dulman at yahoo.co.uk> wrote:
>
>
>
> Dear all,
> I tried to compile vtk 5.10 rc3 in windows VC 2010 and have got next errors
> :
>
> Error    1622    error LNK2019: unresolved external symbol
> "__declspec(dllimport) const vtkMoleculeAlgorithm::`vftable'"
> (__imp_??_7vtkMoleculeAlgorithm@@6B@) referenced in function "protected:
> __thiscall vtkMoleculeAlgorithm::vtkMoleculeAlgorithm(void)"
> (??0vtkMoleculeAlgorithm@@IAE at XZ)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithm.obj
> Error    1623    error LNK2001: unresolved external symbol "private: virtual
> char const * __thiscall
> vtkMoleculeAlgorithm::GetClassNameInternal(void)const "
> (?GetClassNameInternal at vtkMoleculeAlgorithm@@EBEPBDXZ)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithm.obj
> Error    1624    error LNK2001: unresolved external symbol "public: virtual
> int __thiscall vtkMoleculeAlgorithm::IsA(char const *)"
> (?IsA at vtkMoleculeAlgorithm@@UAEHPBD at Z)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithm.obj
> Error    1625    error LNK2001: unresolved external symbol "protected:
> virtual class vtkObjectBase * __thiscall
> vtkMoleculeAlgorithm::NewInstanceInternal(void)const "
> (?NewInstanceInternal at vtkMoleculeAlgorithm@@MBEPAVvtkObjectBase@@XZ)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithm.obj
> Error    1626    error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static int __cdecl
> vtkMoleculeAlgorithm::IsTypeOf(char const *)"
> (__imp_?IsTypeOf at vtkMoleculeAlgorithm@@SAHPBD at Z) referenced in function
> "public: static int __cdecl vtkSimpleBondPerceiver::IsTypeOf(char const *)"
> (?IsTypeOf at vtkSimpleBondPerceiver@@SAHPBD at Z)
> e:\VTK\5.10.0\Chemistry\vtkSimpleBondPerceiver.obj
> Error    1627    error LNK1120: 5 unresolved externals
> E:\VTK\5.10.0\bin\Release\vtkChemistry.dll
> Error    1762    error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: virtual int __thiscall
> vtkMoleculeAlgorithm::IsA(char const *)"
> (__imp_?IsA at vtkMoleculeAlgorithm@@UAEHPBD at Z) referenced in function "struct
> _object * __cdecl PyvtkMoleculeAlgorithm_IsA(struct _object *,struct _object
> *)" (?PyvtkMoleculeAlgorithm_IsA@@YAPAU_object@@PAU1 at 0@Z)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithmPython.obj
> Error    1763    error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class vtkMoleculeAlgorithm * __thiscall
> vtkMoleculeAlgorithm::NewInstance(void)const "
> (__imp_?NewInstance at vtkMoleculeAlgorithm@@QBEPAV1 at XZ) referenced in function
> "struct _object * __cdecl PyvtkMoleculeAlgorithm_NewInstance(struct _object
> *,struct _object *)"
> (?PyvtkMoleculeAlgorithm_NewInstance@@YAPAU_object@@PAU1 at 0@Z)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithmPython.obj
> Error    1764    error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: static class vtkMoleculeAlgorithm * __cdecl
> vtkMoleculeAlgorithm::SafeDownCast(class vtkObjectBase *)"
> (__imp_?SafeDownCast at vtkMoleculeAlgorithm@@SAPAV1 at PAVvtkObjectBase@@@Z)
> referenced in function "struct _object * __cdecl
> PyvtkMoleculeAlgorithm_SafeDownCast(struct _object *,struct _object *)"
> (?PyvtkMoleculeAlgorithm_SafeDownCast@@YAPAU_object@@PAU1 at 0@Z)
> e:\VTK\5.10.0\Chemistry\vtkMoleculeAlgorithmPython.obj
> Error    1765    error LNK1120: 3 unresolved externals
> E:\VTK\5.10.0\bin\Release\vtkChemistryPythonD.dll
>
> Best regards
> Leonid
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list