[vtkusers] configuring vtk for visual studio 2008

Ilinca, Radu rilinca at gmail.com
Fri Feb 11 04:44:58 EST 2011


Dear All,

 

I am trying to configure VTK 5.6.1 on Visual studio 2008 , Win XP , SP 2. I
did all the steps in the forum installation , linked the  lib files, include
files, set the directories and still get the following errors:

 

 

Error     7          error LNK2019: unresolved external symbol
_CLSID_WbemLocator referenced in function "protected: void __thiscall
vtkDirectXGPUInfoList::ProbeInfoWithWMI(struct HMONITOR__ *,class vtkGPUInfo
*)"
(?ProbeInfoWithWMI at vtkDirectXGPUInfoList@@IAEXPAUHMONITOR__@@PAVvtkGPUInfo@@
@Z)         vtkRendering.lib            DCM

 

Error     8          error LNK2019: unresolved external symbol
_IID_IWbemLocator referenced in function "protected: void __thiscall
vtkDirectXGPUInfoList::ProbeInfoWithWMI(struct HMONITOR__ *,class vtkGPUInfo
*)"
(?ProbeInfoWithWMI at vtkDirectXGPUInfoList@@IAEXPAUHMONITOR__@@PAVvtkGPUInfo@@
@Z)         vtkRendering.lib            DCM

 

Error     9          error LNK2019: unresolved external symbol
_Direct3DCreate9 at 4 referenced in function "public: virtual void __thiscall
vtkDirectXGPUInfoList::Probe(void)" (?Probe at vtkDirectXGPUInfoList@@UAEXXZ)
vtkRendering.lib DCM

Error     10         fatal error LNK1120: 3 unresolved externals
d:\ETH - Z\vtk\conu\Debug\DCM.exe        DCM

 

Warning            11         warning LNK4098: defaultlib 'MSVCRT' conflicts
with use of other libs; use /NODEFAULTLIB:library  conu            conu

 

Error     12         error LNK2019: unresolved external symbol
_CLSID_WbemLocator referenced in function "protected: void __thiscall
vtkDirectXGPUInfoList::ProbeInfoWithWMI(struct HMONITOR__ *,class vtkGPUInfo
*)"
(?ProbeInfoWithWMI at vtkDirectXGPUInfoList@@IAEXPAUHMONITOR__@@PAVvtkGPUInfo@@
@Z)         vtkRendering.lib conu

 

Error     13         error LNK2019: unresolved external symbol
_IID_IWbemLocator referenced in function "protected: void __thiscall
vtkDirectXGPUInfoList::ProbeInfoWithWMI(struct HMONITOR__ *,class vtkGPUInfo
*)"
(?ProbeInfoWithWMI at vtkDirectXGPUInfoList@@IAEXPAUHMONITOR__@@PAVvtkGPUInfo@@
@Z)         vtkRendering.lib conu

 

Error     14         error LNK2019: unresolved external symbol
_Direct3DCreate9 at 4 referenced in function "public: virtual void __thiscall
vtkDirectXGPUInfoList::Probe(void)" (?Probe at vtkDirectXGPUInfoList@@UAEXXZ)
vtkRendering.lib conu

Error     15         fatal error LNK1120: 3 unresolved externals
d:\ETH - Z\vtk\conu\Debug\conu.exe        conu

 

 

Thanks for the Hhelp.

 

Greetings,

Radu.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110211/0bada2cf/attachment.htm>


More information about the vtkusers mailing list