[vtkusers] Problem with vtkPolyDataMapper

Nickabilla nick.aarts01 at gmail.com
Fri Sep 14 08:39:33 EDT 2012


Thanks for the fast reply David!

David E DeMarle wrote
> 
> This is because vtkRenderingOpenGL, the implementation of the
> vtkRenderingCore module, isn't linked.
> Try using this find command in your cmakelists.txt.
> 
> find_package(VTK 6.0 REQUIRED NO_MODULE)
> 
> See http://vtk.org/Wiki/VTK/Build_System_Migration for an explanation of
> what the heck I'm talking about.
> 
> 

If i try to compile VTK again in CMake with the added command (added it on
the line below 'project(VTK)') i get this error:

CMake Error at Utilities/KWSys/vtksys/CMakeLists.txt:797
(ADD_LIBRARY):add_library cannot create target "vtksys" because an imported
target withthe same name already exists.

Maybe there is a way to link vtkRenderingOpenGL inside Visual Studio 2010?





--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-vtkPolyDataMapper-tp5716082p5716089.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list