[vtkusers] vtkPolyDataMapper::New() returns null for the VTK nightly build

David Doria daviddoria at gmail.com
Wed Nov 21 11:15:04 EST 2012


On Wed, Nov 21, 2012 at 11:07 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> See if this link explains what to do:
> http://vtk.org/Wiki/VTK/Build_System_Migration#Implementation_Modules


Couldn't the factory be made to produce a message saying something similar
to this instead of just silently returning NULL? An error like "Warning:
the factory has returned NULL because you probably need to add a module to
the list of modules in find_package(VTK ...)" would give the user a clue
instead of requiring them to understand that this factory mechanism is
going on behind the scenes.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121121/3507067f/attachment.htm>


More information about the vtkusers mailing list