[vtkusers] problem of using vtkPLYReader

shuang shuang112 at 163.com
Thu Apr 10 03:08:03 EDT 2003


Dear all:
    I'm a newcomer of VTK.I have problem of using vtkPLYReader.
    I write a program to read and view the PLY model,but there is something wrong with vtkPLYReader.when I make the project,there is a make error:

    undefined reference to 'vtkPLYReader::New()'

    My code with vtkPLYReader is as follow:

 ...
 #include "vtkPLYReader.h"
 ...
 int main( int argc, char *argv[] )
 {
 ...
 vtkPLYReader *r=vtkPLYReader::New();
 ...
 }

 Can you tell me the reason and how to solve it?

Thanks in advance!

Shuang
=============================================================
ÕæÕýVIPÏíÊÜ£¬ÏëÔõô»¨£¬¾ÍÔõô»¨£¡          http://vip.163.com
Äê¶ÈÊ®¼ÑÅ®ÐÔÕ¾µãÆÀÑ¡¿ªÈüÁË£¡               http://www.nease.net
°Ù·Ö°ÙÅ®ÓÑ - ´º¼¾Ñ¡ÃÀ»î¶¯!                http://love.163.com



More information about the vtkusers mailing list