Thank for the reply. I do as I said but I also have to remove vtkHybrid.lib to build the StratifiedSampling project and it works. -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html