[vtkusers] vtk 5.8 on OS X Lion
Matheus Viana
vianamp at gmail.com
Tue Jan 10 15:14:06 EST 2012
Dear David and Sean,
I'm using LLVM 3.0 without any special flag.
My code is the following:
vtkStructuredPointsReader *StructuredDataset = vtkStructuredPointsReader::
New();
StructuredDataset -> SetFileName(filename);
StructuredDataset -> Update();
vtkImageCast *Cast = vtkImageCast::New();
Cast -> SetOutputScalarTypeToUnsignedChar();
Cast -> SetInputConnection(StructuredDataset->GetOutputPort());
Cast -> Update();
vtkImageEuclideanDistance *Transform;
Transform -> SetInputConnection(Cast->GetOutputPort());
The last line produces the error: "illegal instruction"
Thanks,
*Matheus Viana
Computational Physics
IFSC-USP*
2012/1/10 Sean McBride <sean at rogue-research.com>
> On Tue, 10 Jan 2012 11:53:17 -0200, Matheus Viana said:
>
> >Is anyone using vtk 5.8 on MAC OS Lion?
>
> We are.
>
> >I'm trying to, but I'm getting some
> >"illegal instruction" errors. More specifically when I use the class
> >vtkImageEuclideanDistance.
>
> Which compiler did you build with? Any special flags used?
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120110/665a8886/attachment.htm>
More information about the vtkusers
mailing list