[vtkusers] Ridicolous problem with MS VC++ 9 on Windows XP for an usually"windows free" user

Arturo Caissut arturo_caissut at tiscali.it
Fri Aug 8 05:10:46 EDT 2008


Good evening,
I know it's stupid, but I just cannot start in using VTK with Microsoft 
Visual C++ Express Edition.
I followed the guide linked at http: // vtkblog . blogspot . com/
but Microsoft VC++ cannot find libraries in my lib directory.
I tried with Sphere example code from vtk homepage, and it doesn't work 
for me: I tried as simple as possible, starting from a clear project and 
adding a source file .pp in wich I copied the code.
Then I tried to build: at the beginning I had a C2027 error code, 
resolved by adding a header more. Then I try again and I had a lot of 
C2027, C2227, C3861 errors, that I could suppose to be caused by another 
missing header. So I added the right one, but -surprise- here came a lot 
of LNK2001 code errors.

Reading Microsoft support pages, I noticed that the common denominator 
off all my troubles seems to be a "misunderstanging" between VC++ and my 
VTK libs, since every time VC++ is not able to find thing in their right 
place.
Maybe something is missing?

Now, here comes my unbelievable question: "What am I exactly supposed to 
found in such a directory?"
I mean, it's my first time building and using external libraries on a 
Windows machine (I have to use it for "politic" matters :-( ), so can 
somebody act like he's speakin' with an elementary school kid and 
explain to me what files are supposed to be placed were after CMake + 
VC++ based VTK Building?
I mean, I have to put .dll files on my /system32 directory (or just edit 
my XP PATH), I have a nice list of ***.h headers on /vtk5.0/include, but 
what is missing on vtk5.0/lib? Maybe .lib files? Are they supposed to be 
created when I build INSTALL project?

I'm confused by summer heat and not-GNU/Linux machines.

Shame on me,
Arturo



More information about the vtkusers mailing list