[vtkusers] This error

svenster sprevrha at gmail.com
Wed Apr 16 01:58:24 EDT 2008


Happened to me too. I had slicer3 install its vtk dlls on top of mine.
Thx


David Cole wrote:
> 
> The most likely explanation is that you have another directory in your
> PATH
> environment variable that contains VTK dlls. (Different than the ones you
> have in your build directory.)
> 
> Remove that other directory from the PATH and it should work fine.
> 
> HTH,
> David
> 
> On 1/17/08, Sameer Dhote <samir.dhote at gmail.com> wrote:
>>
>> Hi all,
>> i have got this error while trying to build a vtk code.. The code
>> works builds fine but does not execute but results in the following
>> error
>>
>> The code is to display a glyph
>>
>>
>> /*********************************************Code*******************************************************
>>         vtkSphereSource *sphere = vtkSphereSource::New();
>>         sphere->SetRadius(1);
>>
>>         vtkPolyDataMapper *mapper1 = vtkPolyDataMapper::New();
>>         mapper1->SetInputConnection(sphere->GetOutputPort());
>>
>>         vtkActor *actor1 = vtkActor::New();
>>         actor1->SetMapper(mapper1);
>>
>>
>>         vtkConeSource *cone = vtkConeSource::New();
>>         cone->SetRadius(1);
>>         cone->SetHeight(1);
>>         cone->SetResolution(20);
>>
>>         vtkGlyph3D *glyph = vtkGlyph3D::New();
>>         glyph->SetInputConnection(sphere->GetOutputPort());
>>         glyph->SetSource(cone->GetOutput());
>>         glyph->SetVectorModeToUseNormal();
>>         glyph->SetScaleModeToScaleByVector();
>>         glyph->SetScaleFactor(0.5);
>>
>>         vtkPolyDataMapper *mapper = vtkPolyDataMapper::New();
>>         mapper->SetInputConnection(glyph->GetOutputPort());
>>
>>         vtkActor *actor = vtkActor::New();
>>         actor->SetMapper(mapper);
>>
>>         vtkRenderer *ren1 = vtkRenderer::New();
>>         ren1->AddActor(actor);
>>         ren1->AddActor(actor1);
>>         ren1->SetBackground(0.6,0.8,0.6);
>>         ren1->SetViewport(0.0,0.0,0.5,1.0);
>>
>>
>>         vtkRenderWindow *rw1 = vtkRenderWindow::New();
>>         rw1->AddRenderer(ren1);
>>         rw1->SetSize(600,600);
>>
>>
>>         vtkRenderWindowInteractor *iren =
>> vtkRenderWindowInteractor::New();
>>         iren->SetRenderWindow(rw1);
>>
>>
>>         vtkInteractorStyleTrackballCamera *style =
>>         vtkInteractorStyleTrackballCamera::New();
>>         iren->SetInteractorStyle(style);
>>
>>         iren->Initialize();
>>         iren->Start();
>>
>>         sphere->Delete();
>>         cone->Delete();
>>         glyph->Delete();
>>         mapper->Delete();
>>         actor->Delete();
>>         ren1->Delete();
>>         rw1->Delete();
>>         iren->Delete();
>>         style->Delete();
>>
>>   return 0;
>>
>>
>>
>> /*************************************************************************Error******************************************************
>>
>> "The procedure entry
>> point?GetNextItemAsObject at vtkCollection@@QAEPVvtkObject@@AAPAX at Z could
>> not be found in the dynamic link library vtkCommon.dll"
>>
>> What could be the possible reason behind this??
>>
>> Regards
>> Sameer
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 


-----
Thanks and Cheers,
Sven
-- 
View this message in context: http://www.nabble.com/This-error-tp14946648p16716945.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list