<html>
<body>
At 09:24 AM 4/29/2004, REGAT-BARREL Aurélien wrote:<br><br>
<blockquote type=cite class=cite cite=""> salah
<<a href="mailto:salah@gris.uni-tuebingen.de">salah@gris.uni-tuebingen.de</a>>
wrote:<br>
I also had this warning since I used the .Net 7,
<br>
I hat similar warnings in an other non-vtk
program<br>
that uses OpenGL.<br>
The programs (of vtk and those of opengl) worked with
<br>
no such warnings under Microsoft developer (VC++)
6.0.<br>
<br>
I THINK the warnings have to do with opengl, not vtk
?!<br>
<br>
Zein<br><br>
Hello,<br>
It is a warning under VC++ 7 (.Net 2002), and an error under VC++ 7.1
(.Net 2003).<br>
The problem comes from <iostream.h> which is deprecated.<br>
The new header is <iostream> wich is part of the std:: namespace
(cout becomes std::cout, ...)<br>
You have to edit your vtkConfigure.h and uncomment / add <br>
#define VTK_USE_ANSI_STDLIB<br><br>
</blockquote><br>
Actually, you should change the value of VTK_USE_ANSI_STDLIB in CMake to
ON. Running CMake will change the value in vtkConfigure.h for you. If you
make the change in vtkConfigure.h directly, then if you re-run CMake
later, the value in vtkConfigure.h will be changed back to the value
CMake has for that variable.<br><br>
- Amy<br><br>
<blockquote type=cite class=cite cite="">Aurélien REGAT-BARREL<br><br>
<br>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br>
<a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/">Créez
votre Yahoo! Mail</a> <br><br>
Dialoguez en direct avec vos amis grâce à
<a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/">Yahoo!
Messenger !</a> </blockquote></body>
</html>