Thanks, indeed I see the problem: the code is not up to date for some reason. How did you get it? Github or Sourceforge? In any case, you can fix the file by replacing VTK_VMTK_MISC_EXPORT with VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT and rebuild. Hope this works
Luca On Sep 21, 2011, at 10:17 AM, Anton, Raul wrote: > Luca, > I attach it. Thanks! > raúl > > ________________________________________ > From: Luca Antiga [luca.ant...@gmail.com] > Sent: Wednesday, September 21, 2011 10:13 AM > To: Anton, Raul > Cc: vmtk-users@lists.sourceforge.net > Subject: Re: [vmtk-users] vmtk windows installation > > Hi Raul, > sorry if I haven't been clear. > I'd like to see the file in your source tree, to make sure it's up to date > with the latest development version (I just need the vtkvmtkAppendFilter.h). > Thanks! > > Luca > > > On Sep 21, 2011, at 10:08 AM, Anton, Raul wrote: > >> Hi Luca, >> >> Sorry but I did not understand your answer. Have you tried to attach a file >> that I have to place in my vmtk source files? if so I did not get it or do >> you want me to post the >> vmtk/vtkVmtk/ComputationalGeometry/vtkvmtkAppendFilter.c (from the vmtk >> source files) in the mailinglist in order you to take a look to it? sorry... >> Thanks! raúl >> >> ________________________________ >> From: Luca Antiga [luca.ant...@gmail.com] >> Sent: Wednesday, September 21, 2011 8:56 AM >> To: Anton, Raul >> Cc: vmtk-users@lists.sourceforge.net >> Subject: Re: [vmtk-users] vmtk windows installation >> >> Hi Raul, >> I don't have a Windows with Visual Studio available, but if anybody has it >> would be good if the new SuperBuild system >> in the repository could be given a try. The guidelines might not be strictly >> needed anymore. >> >> Anyway, it looks like you have issues with vtkvmtkAppendFilter only. The >> class was moved and between February and March >> this year had a problem that lead to what you're getting. The issue is now >> fixed (or I thought so), but probably there's still something >> going on. >> Can you please post the contents of this file in your source tree: >> vmtk/vtkVmtk/ComputationalGeometry/vtkvmtkAppendFilter >> >> Thanks! >> >> Luca >> >> >> On Sep 20, 2011, at 7:08 PM, Anton, Raul wrote: >> >> Hello all, >> I have a problem with vmtk Windows installation. I have followed the >> guidelines in: >> http://www.vmtk.org/pmwiki/uploads/Main/How-to-compile-VMTK-on-windows-visualstudio.pdf >> I have used the last version of ITK, Python, and VTK. >> I have no problem to install VTK and ITK with Cmake and visual studio. >> However if Itry to install vmtk, there is no problem to configure it with >> cmake but I get hundreds of errors when compiling in visual studio (8.0 >> 2005). >> If instead of using the last vtk version, I use VTK 5.4 then the errors in >> vmtk compilation decreases to 18. But I do not manage to install it without >> any error… >> Any hints??? Thanks a lot!! >> >> >> The errors that I get are the followings: >> Error 187 error LNK2019: unresolved external symbol >> "__declspec(dllimport) const vtkvmtkAppendFilter::`vftable'" >> (__imp_??_7vtkvmtkAppendFilter@@6B@) referenced in function "protected: >> __thiscall vtkvmtkAppendFilter::vtkvmtkAppendFilter(void)" >> (??0vtkvmtkAppendFilter@@IAE@XZ) vtkvmtkAppendFilter.obj >> Error 188 error LNK2001: unresolved external symbol "private: virtual >> char const * __thiscall vtkvmtkAppendFilter::GetClassNameInternal(void)const >> " (?GetClassNameInternal@vtkvmtkAppendFilter@@EBEPBDXZ) >> vtkvmtkAppendFilter.obj >> Error 189 error LNK2001: unresolved external symbol "public: virtual >> int __thiscall vtkvmtkAppendFilter::IsA(char const *)" >> (?IsA@vtkvmtkAppendFilter@@UAEHPBD@Z) vtkvmtkAppendFilter.obj >> Error 190 error LNK2001: unresolved external symbol "protected: >> virtual class vtkObjectBase * __thiscall >> vtkvmtkAppendFilter::NewInstanceInternal(void)const " >> (?NewInstanceInternal@vtkvmtkAppendFilter@@MBEPAVvtkObjectBase@@XZ) >> vtkvmtkAppendFilter.obj >> Error 191 error LNK2001: unresolved external symbol "public: virtual >> void __thiscall vtkvmtkAppendFilter::SetMergeDuplicatePoints(int)" >> (?SetMergeDuplicatePoints@vtkvmtkAppendFilter@@UAEXH@Z) >> vtkvmtkAppendFilter.obj >> Error 192 error LNK2001: unresolved external symbol "public: virtual >> int __thiscall vtkvmtkAppendFilter::GetMergeDuplicatePoints(void)" >> (?GetMergeDuplicatePoints@vtkvmtkAppendFilter@@UAEHXZ) >> vtkvmtkAppendFilter.obj >> Error 193 error LNK2001: unresolved external symbol "public: virtual >> void __thiscall vtkvmtkAppendFilter::MergeDuplicatePointsOn(void)" >> (?MergeDuplicatePointsOn@vtkvmtkAppendFilter@@UAEXXZ) >> vtkvmtkAppendFilter.obj >> Error 194 error LNK2001: unresolved external symbol "public: virtual >> void __thiscall vtkvmtkAppendFilter::MergeDuplicatePointsOff(void)" >> (?MergeDuplicatePointsOff@vtkvmtkAppendFilter@@UAEXXZ) >> vtkvmtkAppendFilter.obj >> Error 195 fatal error LNK1120: 8 unresolved externals >> C:\vtkbin3\bin\Release\vtkvmtkComputationalGeometry.dll >> Error 196 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: virtual int __thiscall >> vtkvmtkAppendFilter::IsA(char const *)" >> (__imp_?IsA@vtkvmtkAppendFilter@@UAEHPBD@Z) referenced in function "struct >> _object * __cdecl PyvtkvmtkAppendFilter_IsA(struct _object *,struct _object >> *)" (?PyvtkvmtkAppendFilter_IsA@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 197 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: class vtkvmtkAppendFilter * __thiscall >> vtkvmtkAppendFilter::NewInstance(void)const " >> (__imp_?NewInstance@vtkvmtkAppendFilter@@QBEPAV1@XZ) referenced in function >> "struct _object * __cdecl PyvtkvmtkAppendFilter_NewInstance(struct _object >> *,struct _object *)" >> (?PyvtkvmtkAppendFilter_NewInstance@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 198 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: static class vtkvmtkAppendFilter * __cdecl >> vtkvmtkAppendFilter::SafeDownCast(class vtkObjectBase *)" >> (__imp_?SafeDownCast@vtkvmtkAppendFilter@@SAPAV1@PAVvtkObjectBase@@@Z) >> referenced in function "struct _object * __cdecl >> PyvtkvmtkAppendFilter_SafeDownCast(struct _object *,struct _object *)" >> (?PyvtkvmtkAppendFilter_SafeDownCast@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 199 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: virtual void __thiscall >> vtkvmtkAppendFilter::SetMergeDuplicatePoints(int)" >> (__imp_?SetMergeDuplicatePoints@vtkvmtkAppendFilter@@UAEXH@Z) referenced in >> function "struct _object * __cdecl >> PyvtkvmtkAppendFilter_SetMergeDuplicatePoints(struct _object *,struct >> _object *)" >> (?PyvtkvmtkAppendFilter_SetMergeDuplicatePoints@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 200 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: virtual int __thiscall >> vtkvmtkAppendFilter::GetMergeDuplicatePoints(void)" >> (__imp_?GetMergeDuplicatePoints@vtkvmtkAppendFilter@@UAEHXZ) referenced in >> function "struct _object * __cdecl >> PyvtkvmtkAppendFilter_GetMergeDuplicatePoints(struct _object *,struct >> _object *)" >> (?PyvtkvmtkAppendFilter_GetMergeDuplicatePoints@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 201 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: virtual void __thiscall >> vtkvmtkAppendFilter::MergeDuplicatePointsOn(void)" >> (__imp_?MergeDuplicatePointsOn@vtkvmtkAppendFilter@@UAEXXZ) referenced in >> function "struct _object * __cdecl >> PyvtkvmtkAppendFilter_MergeDuplicatePointsOn(struct _object *,struct _object >> *)" (?PyvtkvmtkAppendFilter_MergeDuplicatePointsOn@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 202 error LNK2019: unresolved external symbol >> "__declspec(dllimport) public: virtual void __thiscall >> vtkvmtkAppendFilter::MergeDuplicatePointsOff(void)" >> (__imp_?MergeDuplicatePointsOff@vtkvmtkAppendFilter@@UAEXXZ) referenced in >> function "struct _object * __cdecl >> PyvtkvmtkAppendFilter_MergeDuplicatePointsOff(struct _object *,struct >> _object *)" >> (?PyvtkvmtkAppendFilter_MergeDuplicatePointsOff@@YAPAU_object@@PAU1@0@Z) >> vtkvmtkAppendFilterPython.obj >> Error 203 fatal error LNK1120: 7 unresolved externals >> C:\vtkbin3\bin\Release\vtkvmtkComputationalGeometryPythonD.dll >> Error 426 fatal error C1083: Cannot open include file: 'sys/time.h': >> No such file or directory >> d:\vmtk\vmtk\vtkvmtk\utilities\stellar_1.0\src\Starbase.h 9 >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2dcopy1_______________________________________________ >> vmtk-users mailing list >> vmtk-users@lists.sourceforge.net<mailto:vmtk-users@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/vmtk-users >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2dcopy1 >> _______________________________________________ >> vmtk-users mailing list >> vmtk-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/vmtk-users > <vtkvmtkAppendFilter.h> ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users