[vtkusers] undefined reference
Burlen Loring
burlen.loring at kitware.com
Thu Oct 16 11:48:37 EDT 2008
Its clearly a linking issue, what is the output of the command:
ldd -r /path/to/your/vtk/libs/libvtkCommonPythonD.so
Yenan Qu wrote:
> Nobody really had the same problem?
>
> ----- Original Message -----
> From: Yenan Qu <yq07 at fsu.edu>
> Date: Wednesday, October 15, 2008 12:03 pm
> Subject: [vtkusers] undefined reference
> To: vtkusers at vtk.org
>
>
>> Hi, all,
>>
>> I have built the vtk5.0.4 without problem. But, when I compile my
>> code with the new VTK, I got the error below"
>>
>> /home/yenanqu/VTK-BUILD/lib/libvtkCommonPythonD.so: undefined
>> reference to `vtkDirectory::FileIsDirectory(char const*)'
>> /home/yenanqu/VTK-BUILD/lib/libvtkCommonPythonD.so: undefined
>> reference to `vtkObject::RemoveAllObservers()'
>>
>> I have check vtk source code for both .h and . cxx, the methods
>> vtkDirectory::FileIsDirectory and tkObject::RemoveAllObservers()
>> are well delcared and difined there without differences from
>> others. Does any one know why it wasn't just builded in to the lib?
>> Thank you in advance.
>>
>> Yenan
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQFollow this link to
>> subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
> _______________________________________________
> 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
>
--
Burlen Loring
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x137
More information about the vtkusers
mailing list