[vtkusers] Vtk42 and Visual Studio .Net 2003

Martín Larrea misiones485_6300 at yahoo.com.ar
Fri May 28 16:37:15 EDT 2004


Hi everybody..

Here is the situation...

Im working with vtk42 and Visual Studio .Net 2003.
I create a console application in c++, and in the main method i added this...

#include "stdafx.h"

#include "vtkCubeSource.h"

#using <mscorlib.dll>

using namespace System;

int _tmain()

{

Console::WriteLine(S"Hola a todos");

return 0;

}

You can see that the only link to vtk is the #include

But, when i compile the proyect i get this message error:

c:\vtk42\include\vtk\vtkIOStream.h(61): fatal error C1083: No se puede abrir el archivo incluir: 'iostream.h': No such file or directory

Now, this happen because the vtkIoStream make reference to the iostream.h, but in VS.NET there is no such files... only a "iostream", but without the ".h"...

Does anybody else had this problem ? Any solution ?

The include, and lib dir are all in the proper directories option in the proyect option, as well as the vtkCommon.lib... etc in the linker option...


THanxs to all in advance.

Martin Leonardo Larrea
Universidad Nacional Del Sur
Bahia Blanca, Buenos Aires, Argentina.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040528/875036ae/attachment.htm>


More information about the vtkusers mailing list