[vtkusers] A command that executes in Python does not compile in C++

Andy Cedilnik andy.cedilnik at kitware.com
Wed Oct 9 10:44:19 EDT 2002


Or maybe you forgot to include vtkStructuredPoints.h?

				Andy

On Tue, 2002-10-08 at 22:33, Prabhu Ramachandran wrote:
> >>>>> "TD" == Thomas Deschamps <tdeschamps at lbl.gov> writes:
> 
>     TD> Well, I maybe not an expert, but I cannot make the following
>     TD> line compile in C++
> 
>     TD>     vtkStructuredPointsReader* reader =
>     TD> vtkStructuredPointsReader::New(); vtkMarchingSquares * ms =
>     TD> vtkMarchingSquares::New(); ms -> SetInput(reader ->
>     TD> GetOutput());
> 
> Well, something is wrong somewhere.  vtkStructuredPoints is a subclass
> of vtkImageData, so this is definitely legal.  Maybe your build is not
> clean and is an older version?  i.e. Maybe yor header files are old
> but the libraries are new or something?





More information about the vtkusers mailing list