求助高手:
我在 linux 下编译一个老师写的有 vtk 组件的程序,可是编译过程总出错,错误代码如下:
lib/libscopi.a(Out_VTK.o): In function `Out_VTK::plot(int)':
Out_VTK.cpp:(.text+0x98c): undefined reference to `vtkPolyDataMapper::New()'
Out_VTK.cpp:(.text+0x9c6): undefined reference to `vtkLODActor::New()'
Out_VTK.cpp:(.text+0xa8a): undefined reference to `vtkRenderer::New()'
Out_VTK.cpp:(.text+0xab3): undefined reference to `vtkRenderer::GetActiveCamera()'
Out_VTK.cpp:(.text+0xac7): undefined reference to `vtkCamera::SetFocalPoint(double, double, double)'
很多这种同样的错误,求问具体怎么才能修好?
源码应该是没有问题的,因为之前用同样的源码在11.04里用过,重装了11.10后就不好用了.....
求高手解答!!!
我在 linux 下编译一个老师写的有 vtk 组件的程序,可是编译过程总出错,错误代码如下:
lib/libscopi.a(Out_VTK.o): In function `Out_VTK::plot(int)':
Out_VTK.cpp:(.text+0x98c): undefined reference to `vtkPolyDataMapper::New()'
Out_VTK.cpp:(.text+0x9c6): undefined reference to `vtkLODActor::New()'
Out_VTK.cpp:(.text+0xa8a): undefined reference to `vtkRenderer::New()'
Out_VTK.cpp:(.text+0xab3): undefined reference to `vtkRenderer::GetActiveCamera()'
Out_VTK.cpp:(.text+0xac7): undefined reference to `vtkCamera::SetFocalPoint(double, double, double)'
很多这种同样的错误,求问具体怎么才能修好?
源码应该是没有问题的,因为之前用同样的源码在11.04里用过,重装了11.10后就不好用了.....
求高手解答!!!