[vtkusers] Re: More Questions

Anka Kochanowska anka at bic.mni.mcgill.ca
Wed Jan 31 09:31:35 EST 2007


I am not using TCL, there are C++ examples. I have only installed 
binaries on Windows and all the C++ examples are running well. I also 
have quite big application that I am currently developing, written in 
C++, that runs quite well on Windows XP.
Anka

Goodwin Lawlor wrote:

> Anka Kochanowska wrote:
>
>> Why don't you just install VTK binaries (you need openGL also) and 
>> try to build an MSVS project for the first example in 
>> VTK/Examples/Tutorial - cone?
>
>
> Usually, only the binary tcl interpreter with VTK wrappers are 
> available... not binary VC++ imports libs
>
>> ronharshbarger at mmm.com wrote:
>>
>>> Sorry if I am being excessively anal and dense but I am really leery of
>>> installing software when I don't understand it. I bought the full 
>>> set of
>>> books and the CD for VTK  5.0.2 and I use the Microsoft Visual 
>>> Studio dot
>>> net foundation classes in C++ to do almost all of my programming 
>>> which runs
>>> on XP/2000 or a Windows server. When I autorun the CD, it starts the
>>> installer and wants to install a bunch of things that are not in the
>>> "Mastering CMake" book. When I read the readme.html on the CD, under
>>> Windows it says I can install the binaries but then in the same 
>>> paragraph
>>> it states that if I use C++ I can't use the binaries and will need to
>>> rebuild them from the source code supplied. Can't I just include the 
>>> source
>>> files in my build? 
>>
>
> The best way to do it is to build the VTK libraries separately (using
> cmake and your own  build environment) and then link these libs into 
> your own project.
>
> There is an example of using VTK with MFC in the source tree here:
> \VTK\Examples\GUI\Win32\vtkMFC
>
> You can use cmake to configure your project to correctly link the VTK 
> libs or just add the VTK includes directories, the lib directory, and 
> the VTK libs to the linker
>
> hth
>
> Goodwin
>
> _______________________________________________
> 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