[vtkusers] Problem updating from vtk4.2.2 to vtk4.2.6

Patricia Gonçalves patgo at oniduo.pt
Wed Jan 18 13:38:22 EST 2006


I keep using Rebuild Solution, if that's what you mean...

Patrícia C. T. Gonçalves
e-mail: patgo at oniduo.pt



De: Wagner Sales
Enviada: qua 18-01-2006 18H45m
Para: Patricia Gonçalves
Cc: vtkusers at vtk.org
Assunto: Re: [vtkusers] Problem updating from vtk4.2.2 to vtk4.2.6


Hi Patricia,

Did cleaned you project before compile and link? I'm not Windows 
developer, but on UNIX these errors are commonly because your program 
are not really recompiled and relinked.

Regards

Wagner


Patricia Gonçalves wrote:
> Hello, all!
>  
> I have a C++ program that was created with VTK4.2.2 (I think!) and I'm 
> updating it to VTK4.2.6. There are no compilling or debugging errors, 
> but when it starts executing it shows me a message box saying
>  
> "The procedure entry point ?InsertPoint at vtkPoints@@QAEX_JNNN at Z 
> <mailto:?InsertPoint at vtkPoints@@QAEX_JNNN at Z> could not be located in 
> the dynamic link library vtkCommon.dll." (in debug mode)
>  
> "The procedure entry point ?InsertNextCell at vtkPolyData@@QAEHHHPA_J at Z 
> <mailto:?InsertNextCell at vtkPolyData@@QAEHHHPA_J at Z> could not be 
> located in the dynamic link library vtkCommon.dll." (in release mode)
>  
> An example of InsertPoint and InsertNextCell used in the program is:
>  
> for (i = 1; i <= m_pixels1; i++) {
>
>     float *x1, *x2;
>
>     if (m_matching[i][1] != 0) {
>
>         x1 = pPoly1->GetPoint(i-1);
>
>         x2 = pPoly2->GetPoint(m_matching[i][1]-1);
>
>         if (sample == m_pathsample) {
>
>             vtkPoints *points = vtkPoints::New();
>
>             points->InsertPoint(0, x1);
>
>             points->InsertPoint(1, x2);
>
>             vtkPolyData *pLine = vtkPolyData::New();
>
>             pLine->Allocate(1, VTK_CELL_SIZE);
>
>             pLine->SetPoints(points);
>
>             int p[2];
>
>             p[0] = 0;
>
>             p[1] = 1;
>
>             pLine->InsertNextCell(VTK_LINE, 2, p);
>
>         }
>
>     }
>
> }
>
> All the include and library directories are correct, so I don't know 
> where these errors are comming from!
>  
> Does anyone know how to solve this?
>  
> Thank you so much!
>  
> Patrícia C. T. Gonçalves
> e-mail: patgo at oniduo.pt
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060118/faf7cf69/attachment.htm>


More information about the vtkusers mailing list