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