[vtkusers] VTK 4.4 3DS Importer Error

Viksit Gaur viksit at yahoo.com
Thu Apr 7 12:18:10 EDT 2005


Hi,

--- Mathieu Malaterre <mathieu.malaterre at kitware.com>
wrote:

> Viksit,
> 
> 	Could you please read, tha FAQ in particular
> section:

Sorry to answer a bit late.. As for the above FAQ,
I've already read the relevant sections before
actually posting!

> - The New function is done on line 34 in the header
> file:
> 
>       static vtk3DSImporter *New();

Yes, I do know. You see, if you see my previous email,
I say that the function IS declared, and yet is not
being found.. I've never actually stated that the
function isn't declared! :-)

> 
> - You need to link against libvtkHybrid where the
> linker will find the 
> symbols to link against.
> 
As for this, I tried putting in -lvtkHybrid into the
Makefile, but to no avail - I end up getting another
set of errors - 

Building executable
/home/viksit/installs/44VTK/VTK/Viksit/sample1/sample1...
/home/viksit/installs/44VTK/VTK/bin/libvtkHybrid.a(vtk3DSImporter.o)(.text+0xb66):
In function
`vtk3DSImporter::ImportActors(vtkRenderer*)':
: undefined reference to `vtkStripper::New()'
/home/viksit/installs/44VTK/VTK/bin/libvtkHybrid.a(vtk3DSImporter.o)(.text+0xb80):
In function
`vtk3DSImporter::ImportActors(vtkRenderer*)':
: undefined reference to `vtkPolyDataNormals::New()'
/home/viksit/installs/44VTK/VTK/bin/libvtkHybrid.a(vtk3DSImporter.o)(.text+0x32b7):
In function `read_word(vtk3DSImporter*)':
: undefined reference to
`vtkByteSwap::Swap2LE(short*)'
/home/viksit/installs/44VTK/VTK/bin/libvtkHybrid.a(vtk3DSImporter.o)(.text+0x32fd):
In function `read_dword(vtk3DSImporter*)':
: undefined reference to `vtkByteSwap::Swap4LE(char*)'
/home/viksit/installs/44VTK/VTK/bin/libvtkHybrid.a(vtk3DSImporter.o)(.text+0x3337):
In function `read_float(vtk3DSImporter*)':
: undefined reference to `vtkByteSwap::Swap4LE(char*)'
collect2: ld returned 1 exit status
make[1]: ***
[/home/viksit/installs/44VTK/VTK/Viksit/sample1/sample1]
Error 1
make: *** [default_target] Error 2


Hoping for a quick reply,
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!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the vtkusers mailing list