[vtkusers] vtkPolyDataMapper::New() returns null for the VTK nightly build
Marcus D. Hanwell
marcus.hanwell at kitware.com
Wed Nov 21 11:33:58 EST 2012
On Wed, Nov 21, 2012 at 11:15 AM, David Doria <daviddoria at gmail.com> wrote:
> 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.
>
I will take a look at this, I am also hoping to add in auto-linking to
the implementation modules pretty soon - that way most people will not
see this. We know that this is not ideal, and I will work on making
things easier and more obvious.
Marcus
More information about the vtkusers
mailing list