[vtkusers] configuring vtk for visual studio 2008

David Partyka david.partyka at kitware.com
Fri Feb 11 08:11:37 EST 2011


Are you linking to d3d9.lib in conu? I am assuming you have the direct x sdk
installed? Can you give us some more context? It looks like you have an
executable that links in VTK, does it also have a dependency on direct 3d?
VTK has a couple of classes that use direct 3d to query hardware
information. I am curious if thats where the link errors are coming from.

On Fri, Feb 11, 2011 at 4:51 AM, iono sphere <999ionospheres at gmail.com>wrote:

> Hi, in the errors, I see that you are compiling as debug build
> (because your folder is d:\ETH - Z\vtk\conu\Debug\), is d3d9.dll is
> for debug build or release build? If it is for release build, you will
> want the debug build version. By standard, it should be named
> d3d9d.dll. The extra "d" is for "debug" build.
>
> Alternatively, you may wish to instruct Visual Studios to create a
> release build instead so that it matches with the release build of the
> lib file.
>
> Does this help?
> Iono
>
> On Fri, Feb 11, 2011 at 5:24 PM, Ilinca, Radu <rilinca at gmail.com> wrote:
> >
> > PS:
> >
> >
> >
> > I forgot to mention that I included d3d9.dll and still got the errors L
> >
> >
> >
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110211/19331afc/attachment.htm>


More information about the vtkusers mailing list