[vtkusers] Building with VS 2008, many .lib files missing; can't link properly

John Drescher drescherjm at gmail.com
Wed Sep 14 15:57:18 EDT 2011


On Wed, Sep 14, 2011 at 3:49 PM, Blaine <frikker at gmail.com> wrote:
> Hello vtkusers,
> As a last resort, I'm bumping this. Does anyone have any suggestions? If
> not, I will have to try something else.
> All I really need to do is build our project source that uses vtk. I
> downloaded the binary VTK install for windows but I didn't see any header
> files (library only) so I couldn't build against it. I'm from the linux
> world, so what I really want to do is install the equivalent of (I think)
>  libvtk5-qt4-dev
> My only real requirement is QT compatibility. Is there a binary with Qt
> available that also includes the header files? Otherwise I'll probably just
> need to pull out all the headers manually from the vtk source tree for my
> project to build against, and hope it runs with the binary library I
> installed, but that seems a bit unclean.
> Thanks!
> Blaine
>

I would try building in a folder without spaces in it and see if that
fixes the problem. Also with a much shorter path. For example my vtk
source is in x:\CMakeBased\Libraries\vtk-5.8.0 and I build this in
x:\64bit\vc.100\Libraries\vtk-5.8.0. Also I would get rid of shared
libs unless you plan on using a scripting language with vtk (this will
reduce the chance of headaches later about Debug and Release
incompatibilities with dlls).

John



More information about the vtkusers mailing list