[vtkusers] Compiling VTK 5.6 on Ubuntu 10.04 (vtksys_IOS_USE_ANSI not defined?)

da remywendy at gmail.com
Thu Jul 1 21:28:43 EDT 2010


I just ran into this as well. After wasting some time trying to figure this
problem out, I decided to google the exact words "vtksys/ios/iostream
iostream.h no such file" and found this.

Deleting the build directory solved it.
Thanks for the update ;)

This was using the latest git on ubuntu 10.04.

On Tue, Jun 8, 2010 at 5:22 AM, Liam Kurmos <quantum.leaf at googlemail.com>wrote:

> To anyone else who encounters this:
>
> After searching through cmake files for a while i finally decided to
> wipe the whole build directory and start again.
> This time it worked, i guess somehow cmake must have got into a mess
> with it's defines.
>
> Liam
>
>
> On Tue, Jun 8, 2010 at 12:36 PM, Liam Kurmos
> <quantum.leaf at googlemail.com> wrote:
> > Hi All,
> >
> > I recently upgraded my system and now need to rebuild vtk.
> >
> > I'm trying to build vtk5.6 on ubuntu 10.04.
> > cmake configures fine make quickly errors with
> >
> >
> /home/zoizoi/.local/share/Trash/files/VTK/Utilities/vtksys/ios/iostream:26:23:
> > error: iostream.h: No such file or directory
> >
> > I've installed every package i can think of (including 'build-dep
> > libvtk5.2' build-essential and libstdc++6 )
> > without effect.
> >
> > the offending file contains
> >
> > #if vtksys_IOS_USE_ANSI
> > # include <iostream>
> > #else
> > # include <iostream.h>
> > #endif
> >
> >  include <iostream> would compile fine on my system, i guess i need to
> > know why vtksys_IOS_USE_ANSI is not defined somewhere.
> >
> > Liam
> >
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100701/2af9ca61/attachment.htm>


More information about the vtkusers mailing list