[vtkusers] Error linkage: vtkDepthSortPolyData
Peter F Bradshaw
pfb at exadios.com
Mon Oct 27 09:42:58 EDT 2008
Hi;
On Sun, 26 Oct 2008, nugg wrote:
>
> Hi all,
>
> I have the following compiling message:
>
> Viewer.cxx:(.text+0x4142): undefined reference to
> `vtkDepthSortPolyData::New()'
> collect2: ld devolvió el estado de salida 1
> make[2]: *** [Viewer] Error 1
> make[1]: *** [CMakeFiles/Viewer.dir/all] Error 2
> make: *** [all] Error 2
>
> As for other classes, I included its corresponding head file:
>
> #include "vtkDepthSortPolyData.h"
>
> Any advice?
This is a linker error, not a compiler error. So the
'#include "vtkDepthSortPolyData.h"' is not the issue. Are you linking
against libHybrid? If not you need to.
>
Cheers
--
Peter F Bradshaw: http://www.exadios.com (public keys avaliable there).
Personal site: http://personal.exadios.com
"I love truth, and the way the government still uses it occasionally to
keep us guessing." - Sam Kekovich.
More information about the vtkusers
mailing list