AW: [vtkusers] vtk on windows xp and .Net 7
REGAT-BARREL Aurélien
arbvtk at yahoo.fr
Thu Apr 29 09:24:41 EDT 2004
salah <salah at gris.uni-tuebingen.de> wrote:
I also had this warning since I used the .Net 7,
I hat similar warnings in an other non-vtk program
that uses OpenGL.
The programs (of vtk and those of opengl) worked with
no such warnings under Microsoft developer (VC++) 6.0.
I THINK the warnings have to do with opengl, not vtk ?!
Zein
Hello,
It is a warning under VC++ 7 (.Net 2002), and an error under VC++ 7.1 (.Net 2003).
The problem comes from <iostream.h> which is deprecated.
The new header is <iostream> wich is part of the std:: namespace (cout becomes std::cout, ...)
You have to edit your vtkConfigure.h and uncomment / add
#define VTK_USE_ANSI_STDLIB
Aurélien REGAT-BARREL
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040429/054b6207/attachment.htm>
More information about the vtkusers
mailing list