[vtkusers] re: about link error

Yixun Liu yxliu at fudan.edu.cn
Wed Aug 23 02:18:24 EDT 2006


Hi,

You use new and old iostream in your program simultaneously. You use Cmaker to configure vtk withought enable ansi iostream, so vtk use old iostream, but you include new iostream in your program. If you using namespace std, compiler will cannot distinguish the new and old iostream, so ambiguous symbol is reported. 

You can configure to use the new iostream using CMaker and rebuild vtk.

Regards,

Yixun Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060823/744117ef/attachment.htm>


More information about the vtkusers mailing list