[vtkusers] VTK5.10 with Qt

Jothybasu Selvaraj jothybasu at gmail.com
Wed Apr 4 10:31:57 EDT 2012


Thanks David,

But I could not find any documentation for this class. I do not know what
it actually does.


Jothy

On Wed, Apr 4, 2012 at 3:21 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Jothy,
>
> Make sure that all of your own VTK classes use vtkTypeMacro in their
> header files, instead of the (now obsolete) vtkTypeRevisionMacro.  The
> vtkTypeRevisionMacro became obsolete in VTK 5.8, I believe.
>
> The only things that would cause the link error that you have reported
> are vtkTypeRevisionMacro, or a direct call to CollectRevisions,
> neither of which should be used anymore.
>
>  - David
>
>
> On Wed, Apr 4, 2012 at 6:11 AM, Jothybasu Selvaraj <jothybasu at gmail.com>
> wrote:
> > Yes, this is mingw with SHARED_LIBS, USE_QT, GUI_SUPPORT & also INFOVIS
> set
> > to "ON".
> >
> > Qt libs are from QtSDK (Qt 4.80).
> >  The Qt dlls are in C:\QtSDK\Desktop\Qt\4.8.0\mingw\bin
> >
> > I have GDCM built with vtk5.6 used in the same project.
> >
> > Does this have anythin with mixing up of DLLs. (since they are separate
> > DLLs, I don't think so).
> >
> > The linker shows the error in the attached file.
> >
> > Thanks
> >
> > Jothy
> >
> >
> >
> >
> > On Wed, Apr 4, 2012 at 1:03 PM, David E DeMarle <
> dave.demarle at kitware.com>
> > wrote:
> >>
> >> Thanks. Do you mind helping me reproduce it?
> >>
> >> Please clarify:
> >> this is a mingw compile right?
> >> shared libs?
> >> where did you Qt libs come from?
> >> what was the specific runtime link error (what symbol(s))?
> >>
> >> thanks,
> >>
> >> David E DeMarle
> >> Kitware, Inc.
> >> R&D Engineer
> >> 21 Corporate Drive
> >> Clifton Park, NY 12065-8662
> >> Phone: 518-881-4909
> >>
> >>
> >>
> >> On Wed, Apr 4, 2012 at 7:47 AM, Jothybasu Selvaraj <jothybasu at gmail.com
> >
> >> wrote:
> >> > I am able to build them sucessfully, but i get link error when running
> >> > the
> >> > .exe.
> >> >
> >> > During build processs make shown some warnings "unresolved
> symbol....."
> >> >
> >> > But it works fine with VTK5.6.
> >> >
> >> > Thanks
> >> >
> >> > Jothy
> >> >
> >> >
> >> > On Wed, Apr 4, 2012 at 12:41 PM, David E DeMarle
> >> > <dave.demarle at kitware.com>
> >> > wrote:
> >> >>
> >> >> And as noted repeatedly on the mailing list, if VTK_USE_INFOVIS is
> >> >> off, the build fails.
> >> >>
> >> >> David E DeMarle
> >> >> Kitware, Inc.
> >> >> R&D Engineer
> >> >> 21 Corporate Drive
> >> >> Clifton Park, NY 12065-8662
> >> >> Phone: 518-881-4909
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Apr 4, 2012 at 7:16 AM, David E DeMarle
> >> >> <dave.demarle at kitware.com> wrote:
> >> >> > The default settings, plus VTK_USE_QT and BUILD_SHARED worked on my
> >> >> > snowleopard mac.
> >> >> >
> >> >> > David E DeMarle
> >> >> > Kitware, Inc.
> >> >> > R&D Engineer
> >> >> > 21 Corporate Drive
> >> >> > Clifton Park, NY 12065-8662
> >> >> > Phone: 518-881-4909
> >> >> >
> >> >> >
> >> >> >
> >> >> > On Wed, Apr 4, 2012 at 4:55 AM, Jothybasu Selvaraj
> >> >> > <jothybasu at gmail.com>
> >> >> > wrote:
> >> >> >> Hi all,
> >> >> >>
> >> >> >> Is there anyone here, who has built VTK5.10 RC with QT
> sucessfully?
> >> >> >>
> >> >> >> Thanks
> >> >> >>
> >> >> >> --
> >> >> >> Jothy
> >> >> >>
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> 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
> >> >> >>
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Jothy
> >> >
> >
> >
> >
> >
> > --
> > Jothy
> >
> >
> > _______________________________________________
> > 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
> >
>



-- 
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120404/c3c28ab5/attachment.htm>


More information about the vtkusers mailing list