[vtkusers] Compiling VTK with DevCpp and MinGW

Dimitrios Andritsos jimandr at hotmail.com
Wed Jul 20 12:23:25 EDT 2005


I am using CMake 2.0.6 and I am trying to build vtk 4.4.

 I played a little bit with CMakeLists.txt files where I tried to comment 
out any attempts to load support for either tcl, python or java and although 
I didn't get the dll erros I still get an error that the command 
vtk_make_instantiator2 cannot be found. The errors are generated if I 
comment out loading vtkLoadCmakeExtensions and vtkCompileCmakeExtensions. I 
am not a CMake guru so I don't really know how to do such changes.

Dimitris

----- Original Message ----- 
From: "David Cole" <david.cole at kitware.com>
To: "Dimitrios Andritsos" <jimandr at hotmail.com>
Cc: <vtkusers at vtk.org>
Sent: Wednesday, July 20, 2005 6:57 PM
Subject: Re: [vtkusers] Compiling VTK with DevCpp and MinGW


> Hmmmm...
>
> So: what version of CMake are you using? (I was assuming latest released 
> or CVS: 2.0.6 or later?)
> What version of VTK are you trying to build?
> I have only built VTK from recent CVS with MinGW. Can you update your VTK 
> to latest CVS?
>
> Dimitrios Andritsos wrote:
>
>> Hello David,
>>
>> Thank you for your reply. I don't need Tcl but I am not really sure how 
>> to turn this option off. The error that I am getting is generated while 
>> CMake tries to configure and generate the initial makefiles, before I get 
>> the option of turning the various wrapping options on or off. Do you know 
>> if I could turn the Tcl wrapping option off even before cmake tries to 
>> configure the makefiles?
>>
>> Thanks a lot,
>> Dimitris
>>
>> ----- Original Message ----- From: "David Cole" <david.cole at kitware.com>
>> To: "Dimitrios Andritsos" <jimandr at hotmail.com>
>> Cc: <vtkusers at vtk.org>
>> Sent: Wednesday, July 20, 2005 4:44 PM
>> Subject: Re: [vtkusers] Compiling VTK with DevCpp and MinGW
>>
>>
>>> It sounds like you have VTK_WRAP_TCL turned on. I'm not sure if TCL
>>> wrapping will work from a MinGW compile, unless there's a MinGW
>>> supported version of Tcl/Tk that you can install. You'll need the libs
>>> to link against.
>>>
>>> Has anybody out there done a Tcl wrapped build of VTK under MinGW?
>>>
>>> Do you still get that error if you set VTK_WRAP_TCL to OFF when you
>>> configure with CMakeSetup?
>>> Do you need TCL wrapping?
>>>
>>> HTH a little bit,
>>> David
>>>
>>> Dimitrios Andritsos wrote:
>>>
>>>> Hello all,
>>>>  I' ve been trying (unsuccessfully) to build vtk with the mingw 
>>>> compiler in windows. From some previous posts I saw that runing cmake 
>>>> via msys would work but I get an error message that:
>>>>  'LOAD_COMMAND Attempt to load command failed from file: 
>>>> cmVTK_WRAP_TCL2.dll' The process I follow is: 1)Run msys 2)Run 
>>>> cmakesetup (cmake -i is not working) 3)Try to generate unix makefiles.
>>>>  My goal is to build *.a lib files and in general build the vtk 
>>>> binaries in unix format to use within the dev-cpp environment.
>>>>  Any help would be greatly appreciated.
>>>> Thanks in advance!
>>>> Dimitris
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> _______________________________________________
>>>> This is the private VTK discussion list. Please keep messages on-topic. 
>>>> Check the 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