[vtkusers] VTK 4.4 3DS Importer Error
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Apr 5 08:01:48 EDT 2005
Viksit,
Could you please read, tha FAQ in particular section:
[How should I ask questions on the mailing lists?]
http://www.vtk.org/Wiki/VTK_FAQ#How_should_I_ask_questions_on_the_mailing_lists.3F
VTK (and other Kitware products) rely on nightly dashboards
(compilation + tests being done during nights). So chances that a
complete class being is not tested at all is extremely rare.
Anyway, to answer your question:
- The New function is done on line 34 in the header file:
static vtk3DSImporter *New();
- You need to link against libvtkHybrid where the linker will find the
symbols to link against.
As a side if there was no New function declared in the header the
compiler (step before the linker) would have told you.
HTH
Mathieu
Viksit Gaur wrote:
> Greetings!
>
> Working with the 4.4 release of VTK, and using
> vtk3DSImporter, I run into an error which says
> "Undefined reference to vtk3DSImporter::New()"
>
> The header file for the importer does seem to have a
> 'New ' function, and the main line I'm running into
> the error is a declaration for an object like this:
>
> vtk3DSImporter *newimporter = vtk3DSImporter::New();
>
> What could be the problem here? I'm not sure someone's
> actually tried using 3DSImporter with the 4.4 release.
>
> Cheers,
> viksit
>
> --
> Viksit Gaur
>
> me[at]viksit[dot]com
> viksit[at]linux-delhi[dot]org
> http://viksit.com
>
> 'Not all who wander are lost.'
> - J.R.R. Tolkien, The Fellowship of the Ring
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list