[vtkusers] Procedure Entry Point not found

Alexis Cheng acheng_1221 at hotmail.com
Sun Oct 17 19:22:51 EDT 2010


Hi David,

Thanks for your help. I tried those steps, but the problem is persisting. Do I remove the vtkInstantiatorNewMacro from the .cxx files as well?

Thanks,
Alexis Cheng
Electrical Engineering
University of British Columbia

> From: david.gobbi at gmail.com
> Date: Sun, 17 Oct 2010 17:01:04 -0600
> Subject: Re: [vtkusers] Procedure Entry Point not found
> To: acheng_1221 at hotmail.com
> CC: vtkusers at vtk.org
> 
> Hi Alexis,
> 
> Thanks, that is exactly the information that I needed.  The problem is
> the vtkCxxRevisionMacro in the vtkSonixVideoSource.  This macro is
> looking for the CollectRevisions() method in its superclass.
> 
> The fix you should try is:
> 1) remove vtkCxxRevisionMacro from all external .cxx files (e.g. the
> vtkSonixVideoSource)
> 2) change vtkTypeRevisionMacro to vtkTypeMacro in all external .h files
> 3) make sure that you don't mess with these macros within VTK itself
> 
> Good luck and let me know if the problem persists.
> 
>   David
> 
> On Sun, Oct 17, 2010 at 3:34 PM, Alexis Cheng <acheng_1221 at hotmail.com> wrote:
> > Hi David,
> >
> > I am using a vtkSonixVideoSource class in addition to VTK's own classes.
> >
> > class VTK_EXPORT vtkSonixVideoSource : public vtkVideoSource
> >
> > The corresponding vtkTypeMacro statements are:
> >
> > vtkSonixVideoSource.h : vtkTypeMacro(vtkSonixVideoSource,vtkVideoSource);
> >
> > vtkSonixVideoSource.cxx : vtkCxxRevisionMacro(vtkSonixVideoSource,
> > "$Revision: 1.0$");
> >
> > vtkInstantiatorNewMacro(vtkSonixVideoSource);
> >
> > What other information would be helpful in debugging this issue? Your help
> > is greatly appreciated.
> >
> > Thanks,
> > Alexis Cheng
> > Electrical Engineering
> > University of British Columbia
> >
> >
> >
> >> From: david.gobbi at gmail.com
> >> Date: Sun, 17 Oct 2010 14:59:43 -0600
> >> Subject: Re: [vtkusers] Procedure Entry Point not found
> >> To: acheng_1221 at hotmail.com
> >> CC: vtkusers at vtk.org
> >>
> >> Hi Alexis,
> >>
> >> One way or another, the error is related to the vtkTypeRevisionMacro,
> >> because it is what defines those symbols. You haven't told me yet
> >> whether you are using any other classes in addition to VTK's own
> >> classes. Without more information, I can't really help.
> >>
> >> David
> >>
> >>
> >> On Sun, Oct 17, 2010 at 2:32 PM, Alexis Cheng <acheng_1221 at hotmail.com>
> >> wrote:
> >> > Hi David,
> >> >
> >> > Thank you for your reply. I'm using VTK 5.6.0. I tried replacing
> >> > vtkTypeRevisionMacro with vtkTypeMacro, but I ended up getting compile
> >> > errors regarding CollectRevisions. Do you have any other ideas as to
> >> > what
> >> > may be causing this?
> >> >
> >> > Thanks,
> >> > Alexis Cheng
> >> > Electrical Engineering
> >> > University of British Columbia
> >> >
> >> >> From: david.gobbi at gmail.com
> >> >> Date: Sat, 16 Oct 2010 18:56:08 -0600
> >> >> Subject: Re: [vtkusers] Procedure Entry Point not found
> >> >> To: acheng_1221 at hotmail.com
> >> >> CC: vtkusers at vtk.org
> >> >>
> >> >> Hi Alexis,
> >> >>
> >> >> Are you using any of your own VTK classes? The error might occur if
> >> >> vtkTypeRevisionMacro is used in the header file, that macro is
> >> >> deprecated in VTK 5.6.1 and vtkTypeMacro should be used instead.
> >> >>
> >> >> David
> >> >>
> >> >>
> >> >> On Sat, Oct 16, 2010 at 5:14 PM, Alexis Cheng <acheng_1221 at hotmail.com>
> >> >> wrote:
> >> >> > Hi All,
> >> >> >
> >> >> > I'm writing a program that uses the vtkVideoSource package. It's
> >> >> > compiling
> >> >> > and have linked the folders containing the vtk dll files. However,
> >> >> > I'm
> >> >> > getting the following runtime error:
> >> >> >
> >> >> > The procedure entry point
> >> >> >
> >> >> >
> >> >> > ?CollectRevisions at vtkVideoSource@@MAEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@@Z
> >> >> > could not be located in the dynamic link library vtkHybrid.dll.
> >> >> >
> >> >> > Has this situation occurred for anybody else? If so, how did you go
> >> >> > about
> >> >> > debugging and fixing it?
> >> >> >
> >> >> > Thanks,
> >> >> > Alexis Cheng
> >> >> > Electrical Engineering
> >> >> > University of British Columbia
> >> >> >
> >> >> > _______________________________________________
> >> >> > Powered by www.kitware.com
> >> >> >
> >> >> > Visit other Kitware open-source projects at
> >> >> > http://www.kitware.com/opensource/opensource.html
> >> >> >
> >> >> > Please keep messages on-topic and check the VTK 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/20101017/d8bc6f4c/attachment.htm>


More information about the vtkusers mailing list