[vtkusers] glibc error
    Giff 
    zibalmail at gmail.com
       
    Tue Aug 19 12:12:22 EDT 2008
    
    
  
Sorry, I did not mean to reply to you only, thanks for reporting to the
list.
I don't see why you'd need root to try the cvs version...  You're
> probably just getting lucky in release.  If you want to fix this bug,
> the best approach if to 1) make sure its not already fixed
and that should be done by trying the CVS version, right?
I suppose I could try...
> 2) use gdb to
> debug it 3) file a bug with a test case.  Is the bug easy to repro?
Well no, as I tried on a machine running Windows and it worked.
>
> Could you share your code?
Sure, but it is taken straight from the examples:
vtkBMPReader* bmpReader = vtkBMPReader::New();
bmpReader->SetFileName("/home/gfanelli/Private/code/c/test2/data/F0001_AN01WH_F3D.bmp");
    bmpReader->Update();
    vtkTexture* atext = vtkTexture::New();
    atext->SetInputConnection(bmpReader->GetOutputPort());
    atext->InterpolateOn();
    //# Create a plane source and actor. The vtkPlanesSource generates
    //# texture coordinates.
    vtkPlaneSource* plane = vtkPlaneSource::New();
    vtkPolyDataMapper* planeMapper = vtkPolyDataMapper::New();
    planeMapper->SetInputConnection(plane->GetOutputPort());
    vtkActor* planeActor = vtkActor::New();
    planeActor->SetMapper(planeMapper);
    planeActor->SetTexture(atext);
    //# Create the RenderWindow, Renderer and both Actors
    vtkRenderer* ren = vtkRenderer::New();
    vtkRenderWindow* renWin = vtkRenderWindow::New();
    renWin->AddRenderer(ren);
    vtkRenderWindowInteractor* iren = vtkRenderWindowInteractor::New();
    iren->SetRenderWindow(renWin);
    //# Add the actors to the renderer, set the background and size
    ren->AddActor(planeActor);
    ren->SetBackground(0.1, 0.2, 0.4);
    renWin->SetSize(500, 500);
    iren->Initialize();
    renWin->Render();
    iren->Start();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080819/119e8b89/attachment.htm>
    
    
More information about the vtkusers
mailing list