Hi Luca,
Thanks! it worked and I could install vmtk and compile in visual studio....I
think that the last step is to set the environmental variables. I have
installed Python, VTK, VMTK and ITK in c: and not in c:/Programfiles.... I set
the environmental variables according to:
In PATH I add:
;C:\VTK\bin;C:\ITK\bin;C:\VMTK\bin;C:\Python25
Then I create a new one
PYTHONPATH and edit writing:
c:\VTK\lib\site-packages;c:\VMTK\lib\vmtk
Then I moved to the console I write vmtk-exe.py and I get the following error:
any hint?? Thanks raul
C:\VMTK\bin>dir
Volume in drive C is System
Volume Serial Number is D24F-DFB8
Directory of C:\VMTK\bin
09/27/2011 06:55 PM <DIR> .
09/27/2011 06:55 PM <DIR> ..
09/27/2011 06:45 PM 2,388 vmtk-exe.py
09/27/2011 06:47 PM 13,312 vtkvmtkCommon.dll
09/27/2011 06:47 PM 13,824 vtkvmtkCommonPythonD.dll
09/27/2011 06:49 PM 856,064 vtkvmtkComputationalGeometry.dll
09/27/2011 06:50 PM 389,120 vtkvmtkComputationalGeometryPythonD.dll
09/27/2011 06:50 PM 442,368 vtkvmtkDifferentialGeometry.dll
09/27/2011 06:51 PM 204,800 vtkvmtkDifferentialGeometryPythonD.dll
09/27/2011 06:50 PM 135,168 vtkvmtkIO.dll
09/27/2011 06:53 PM 28,160 vtkvmtkIOPythonD.dll
09/27/2011 06:49 PM 3,317,760 vtkvmtkITK.dll
09/27/2011 06:49 PM 258,048 vtkvmtkITKPythonD.dll
09/27/2011 06:52 PM 729,088 vtkvmtkMisc.dll
09/27/2011 06:53 PM 155,648 vtkvmtkMiscPythonD.dll
09/27/2011 06:52 PM 1,355,776 vtkvmtkSegmentation.dll
09/27/2011 06:54 PM 319,488 vtkvmtkSegmentationPythonD.dll
15 File(s) 8,221,012 bytes
2 Dir(s) 69,364,473,856 bytes free
C:\VMTK\bin>vmtk-exe.py
Traceback (most recent call last):
File "C:\VMTK\bin\vmtk-exe.py", line 4, in <module>
from vmtk import pypes
ImportError: No module named vmtk
________________________________________
From: Luca Antiga [[email protected]]
Sent: Tuesday, September 27, 2011 12:40 PM
To: Anton, Raul
Cc: [email protected]
Subject: Re: [vmtk-users] vmtk windows installation
Hi Anton,
working with git is not strictly required, you can always go back to the
download button and get the latest source. It's just a bit more involved.
The reason why you might get a permission denied could be that the git protocol
port is blocked.
Try with the following
git clone https://github.com/lantiga/vmtk.git
It goes through https, you should be able to get it this way.
Hope this helps
Luca
On Sep 26, 2011, at 9:51 AM, Anton, Raul wrote:
> Hi Luca,
>
> In order to do what you are telling me, I have to use a git program. In two
> previous messages I told you that I downloaded vmtk from
> https://github.com/lantiga/vmtk but I did without using a git software. Then,
> you told me to write git pull origin master...Then I realized that I have to
> work with a git. I downloaded a git software:
> http://code.google.com/p/msysgit/downloads/detail?name=Git-1.7.6-preview20110708.exe&can=2&q=
> but there was no connection. I contacted the computer support at my
> university and this morning, they say that I should be able to do...when
> cloning I get an error message like:
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> Any hints???
> Thanks!!raúl
>
> -----Original Message-----
> From: Luca Antiga [mailto:[email protected]]
> Sent: miércoles, 21 de septiembre de 2011 13:30
> To: Anton, Raul
> Cc: [email protected]
> Subject: Re: [vmtk-users] vmtk windows installation
>
> Ok, great, at least you have a clean source code and you can keep up with
> fixes.
>
> I just pushed a workaround that should solve your issue.
>
> Try updating your source this way:
>
> cd vmtk (your vmtk source directory generated by the git clone command)
> git pull origin master
>
> Then build again.
>
> Luca
>
>
> On Sep 21, 2011, at 1:26 PM, Anton, Raul wrote:
>
>> Hi Luca,
>> I have downloaded it from:
>> https://github.com/lantiga/vmtk
>> But I have still the same error:
>> Error 403 fatal error C1083: Cannot open include file:
>> 'sys/time.h': No such file or directory
>> d:\vmtk\lantiga-vmtk-8942043\vtkvmtk\utilities\stellar_1.0\src\Starbase.h
>> 9
>> Thanks! raul
>>
>> -----Original Message-----
>> From: Luca Antiga [mailto:[email protected]]
>> Sent: Wednesday, September 21, 2011 12:47 PM
>> To: Anton, Raul
>> Cc: [email protected]
>> Subject: Re: [vmtk-users] vmtk windows installation
>>
>> Ok, this is the issue. The svn repository is out of date, sorry about the
>> confusion. In the future it will be deleted, the development now happens in
>> git.
>>
>> Please download the source code either from the Sourceforge git repository
>> or the Github repository, this way
>>
>> git clone [email protected]:lantiga/vmtk.git
>>
>> When you configure the project with CMake, turn VMTK_USE_SUPERBUILD OFF, and
>> you should be able to go ahead the same way as before.
>>
>> Sorry again about the misleading docs.
>>
>> As for the sys/time.h error, let me see if it still comes up with the
>> correct repository. If it does, you'll just need to disable one experimental
>> component, nothing major.
>>
>> Best regards
>>
>> Luca
>>
>>
>> On Sep 21, 2011, at 12:35 PM, Anton, Raul wrote:
>>
>>> Thanks Luca!
>>> I downloaded it from sourceforge using:
>>> svn co https://vmtk.svn.sourceforge.net/svnroot/vmtk vmtk
>>> It seems that we are closer to get it....now the compilation errors has
>>> decreased from 18 to 1. An the error is the following:
>>> Error 1 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
>>> Any hint?? thanks raul
>>>
>>> ________________________________________
>>> From: Luca Antiga [[email protected]]
>>> Sent: Wednesday, September 21, 2011 12:10 PM
>>> To: Anton, Raul
>>> Cc: [email protected]
>>> Subject: Re: [vmtk-users] vmtk windows installation
>>>
>>> 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 [[email protected]]
>>>> Sent: Wednesday, September 21, 2011 10:13 AM
>>>> To: Anton, Raul
>>>> Cc: [email protected]
>>>> 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 [[email protected]]
>>>>> Sent: Wednesday, September 21, 2011 8:56 AM
>>>>> To: Anton, Raul
>>>>> Cc: [email protected]
>>>>> 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
>>>>> [email protected]<mailto:[email protected]>
>>>>> 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
>>>>> [email protected]
>>>>> 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
>>> [email protected]
>>> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/vmtk-users