[vtkusers] VTK 6.1 linking/autoinit

Jude Pereira jpereira at advsolinc.com
Tue Sep 10 08:48:09 EDT 2013


I don't think I checked a VTK_USE_DIRECTX option. 
How do I have Cmake control my build from inside Qt creator?

Jyde

-----Original Message-----
From: David Cole [mailto:dlrdave at aol.com] 
Sent: Monday, September 09, 2013 5:14 PM
To: Jude Pereira; vtkusers at vtk.org
Subject: Re: [vtkusers] VTK 6.1 linking/autoinit

Looks to me like some of those symbols should come from the wbemuuid library, which should be added by this VTK CMake code:

elseif(VTK_USE_DIRECTX)
  list(APPEND Module_SRCS "vtkDirectXGPUInfoList.cxx")
  set(extra_libs ${DirectX_LIBRARY} wbemuuid)
  include_directories(${DirectX_INCLUDE_DIR})
  set(vtk_module_vtkGPUInfoList_override "vtkDirectXGPUInfoList")

Is "VTK_USE_DIRECTX" on for your VTK build?

Do you have wbemuuid on your link line? If you are building without CMake controlling your build, you'll have to add the wbemuuid library to your link line.


HTH,
David C.




More information about the vtkusers mailing list