<div dir="ltr">Thanks, <br><br>I am not subclassing vtkLookuptable.<br><br>Jothy<br><br><div class="gmail_quote">On Wed, Apr 4, 2012 at 4:25 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jothy,<br>
<br>
If you need info on how vtkTypeMacro is used, look at any of the VTK<br>
headers. For example,<br>
<a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Common/vtkLookupTable.h;hb=release" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Common/vtkLookupTable.h;hb=release</a><br>
<br>
I'm guessing that your project has its own lookup table class, derived<br>
from vtkLookupTable. It is probably that class that is causing your<br>
problems.<br>
<span class="HOEnZb"><font color="#888888"><br>
- David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Apr 4, 2012 at 8:36 AM, Jothybasu Selvaraj <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> Suppose I have a class like this<br>
><br>
> class vtkLineCallbackDose: public vtkCommand<br>
><br>
> {<br>
><br>
> public:<br>
><br>
> vtkLineCallbackDose(QWidget *parent);<br>
><br>
> ~ vtkLineCallbackDose();<br>
><br>
><br>
> Where should I add this typeMacro and how?<br>
><br>
> Thanks<br>
><br>
> Jothy<br>
><br>
><br>
><br>
> On Wed, Apr 4, 2012 at 3:31 PM, Jothybasu Selvaraj <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Thanks David,<br>
>><br>
>> But I could not find any documentation for this class. I do not know what<br>
>> it actually does.<br>
>><br>
>><br>
>> Jothy<br>
>><br>
>><br>
>> On Wed, Apr 4, 2012 at 3:21 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi Jothy,<br>
>>><br>
>>> Make sure that all of your own VTK classes use vtkTypeMacro in their<br>
>>> header files, instead of the (now obsolete) vtkTypeRevisionMacro. The<br>
>>> vtkTypeRevisionMacro became obsolete in VTK 5.8, I believe.<br>
>>><br>
>>> The only things that would cause the link error that you have reported<br>
>>> are vtkTypeRevisionMacro, or a direct call to CollectRevisions,<br>
>>> neither of which should be used anymore.<br>
>>><br>
>>> - David<br>
>>><br>
>>><br>
>>> On Wed, Apr 4, 2012 at 6:11 AM, Jothybasu Selvaraj <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>><br>
>>> wrote:<br>
>>> > Yes, this is mingw with SHARED_LIBS, USE_QT, GUI_SUPPORT & also INFOVIS<br>
>>> > set<br>
>>> > to "ON".<br>
>>> ><br>
>>> > Qt libs are from QtSDK (Qt 4.80).<br>
>>> > The Qt dlls are in C:\QtSDK\Desktop\Qt\4.8.0\mingw\bin<br>
>>> ><br>
>>> > I have GDCM built with vtk5.6 used in the same project.<br>
>>> ><br>
>>> > Does this have anythin with mixing up of DLLs. (since they are separate<br>
>>> > DLLs, I don't think so).<br>
>>> ><br>
>>> > The linker shows the error in the attached file.<br>
>>> ><br>
>>> > Thanks<br>
>>> ><br>
>>> > Jothy<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > On Wed, Apr 4, 2012 at 1:03 PM, David E DeMarle<br>
>>> > <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> Thanks. Do you mind helping me reproduce it?<br>
>>> >><br>
>>> >> Please clarify:<br>
>>> >> this is a mingw compile right?<br>
>>> >> shared libs?<br>
>>> >> where did you Qt libs come from?<br>
>>> >> what was the specific runtime link error (what symbol(s))?<br>
>>> >><br>
>>> >> thanks,<br>
>>> >><br>
>>> >> David E DeMarle<br>
>>> >> Kitware, Inc.<br>
>>> >> R&D Engineer<br>
>>> >> 21 Corporate Drive<br>
>>> >> Clifton Park, NY 12065-8662<br>
>>> >> Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> On Wed, Apr 4, 2012 at 7:47 AM, Jothybasu Selvaraj<br>
>>> >> <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >> > I am able to build them sucessfully, but i get link error when<br>
>>> >> > running<br>
>>> >> > the<br>
>>> >> > .exe.<br>
>>> >> ><br>
>>> >> > During build processs make shown some warnings "unresolved<br>
>>> >> > symbol....."<br>
>>> >> ><br>
>>> >> > But it works fine with VTK5.6.<br>
>>> >> ><br>
>>> >> > Thanks<br>
>>> >> ><br>
>>> >> > Jothy<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > On Wed, Apr 4, 2012 at 12:41 PM, David E DeMarle<br>
>>> >> > <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>><br>
>>> >> > wrote:<br>
>>> >> >><br>
>>> >> >> And as noted repeatedly on the mailing list, if VTK_USE_INFOVIS is<br>
>>> >> >> off, the build fails.<br>
>>> >> >><br>
>>> >> >> David E DeMarle<br>
>>> >> >> Kitware, Inc.<br>
>>> >> >> R&D Engineer<br>
>>> >> >> 21 Corporate Drive<br>
>>> >> >> Clifton Park, NY 12065-8662<br>
>>> >> >> Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> On Wed, Apr 4, 2012 at 7:16 AM, David E DeMarle<br>
>>> >> >> <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
>>> >> >> > The default settings, plus VTK_USE_QT and BUILD_SHARED worked on<br>
>>> >> >> > my<br>
>>> >> >> > snowleopard mac.<br>
>>> >> >> ><br>
>>> >> >> > David E DeMarle<br>
>>> >> >> > Kitware, Inc.<br>
>>> >> >> > R&D Engineer<br>
>>> >> >> > 21 Corporate Drive<br>
>>> >> >> > Clifton Park, NY 12065-8662<br>
>>> >> >> > Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> > On Wed, Apr 4, 2012 at 4:55 AM, Jothybasu Selvaraj<br>
>>> >> >> > <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>><br>
>>> >> >> > wrote:<br>
>>> >> >> >> Hi all,<br>
>>> >> >> >><br>
>>> >> >> >> Is there anyone here, who has built VTK5.10 RC with QT<br>
>>> >> >> >> sucessfully?<br>
>>> >> >> >><br>
>>> >> >> >> Thanks<br>
>>> >> >> >><br>
>>> >> >> >> --<br>
>>> >> >> >> Jothy<br>
>>> >> >> >><br>
>>> >> >> >><br>
>>> >> >> >> _______________________________________________<br>
>>> >> >> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> >> >> >><br>
>>> >> >> >> Visit other Kitware open-source projects at<br>
>>> >> >> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> >> >> >><br>
>>> >> >> >> Please keep messages on-topic and check the VTK FAQ at:<br>
>>> >> >> >> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>>> >> >> >><br>
>>> >> >> >> Follow this link to subscribe/unsubscribe:<br>
>>> >> >> >> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>> >> >> >><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > --<br>
>>> >> > Jothy<br>
>>> >> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Jothy<br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> ><br>
>>> > Visit other Kitware open-source projects at<br>
>>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> ><br>
>>> > Please keep messages on-topic and check the VTK FAQ at:<br>
>>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
>>> ><br>
>>> > Follow this link to subscribe/unsubscribe:<br>
>>> > <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>>> ><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Jothy<br>
>><br>
><br>
><br>
><br>
> --<br>
> Jothy<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>