[ITK] [ITK-users] ItkVtkglue and VTK OpenGL2

Richard Frank rfrank at dominionsw.com
Sun Nov 1 14:42:58 EST 2015


Hi Bill

Thanks for checking into this.

I am building Qt5.5.0 VTK6.3.0 and ITK4.8.1
I think my issue has something to do with not having the right flags set when building VTK or.....
VTK OpenGL2 doesn't support QVTKWidget2 perhaps.

I tossed everything and rebuilt using on VTK

Module_vtkRenderingContextOpenGL2 on
Module_vtkR.........LICOpenGL2 on
Module_vtkR.......OpenGL2 on
Module_vtkR........Qt on
Module_vtkR.......VolumentOpenGL2 on.

This built fine with the itkVtkGlue on in ITK4.8.1.

But when I run my application I get
"The program can't start because vtkGUISupportQtOpenGL-6.5.dll is missing."   (it wasn't built)

However if I turn that on in CMake I believe (I'll have to rebuild to try again) it  tells me that I can't have them openGL and openGL2 both on......
Or something and if I turn it off I think I run into the problem I mentioned.

I guess does OpenGL2 work with QT via VTK? If it does then what settings am I messing up?

Thanks

Rick


-----Original Message-----
From: Bill Lorensen [mailto:bill.lorensen at gmail.com] 
Sent: Sunday, November 01, 2015 11:32 AM
To: Richard Frank
Cc: insight-users at itk.org
Subject: Re: [ITK-users] ItkVtkglue and VTK OpenGL2

There is no itkVtkGlue.cmake file that I can find. Can you show me what you are doing? Are you building wiki examples locally, as a remote module. Or are you just trying to build ITK with the glue stuff enabled?

Bill


On Sat, Oct 31, 2015 at 1:02 PM, Richard Frank <rfrank at dominionsw.com> wrote:
>
> Hi,
>
> Any further developments on this? If there's a patch I can apply I 
> would like to try it.
> Would like to have the OpenGL 2 support for an application using the 
> vtkITK bridge.
>
>
> Thanks,
>
> Rick
>
>
> Date: Thu, 29 Oct 2015 18:32:49 -0400
> From: Bill Lorensen <bill.lorensen at gmail.com>
> To: Richard Frank <rfrank at dominionsw.com>
> Cc: Insight-Users <insight-users at itk.org>
> Subject: Re: [ITK-users] ItkVtkglue and VTK OpenGL2?
> Message-ID:
>    
> <CADZJ4hOEgyk=CTo_+dg9=HAvEmrmAY7tFE6xnrCwij2LHGrnnQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I'll check into this.
>
> On Oct 29, 2015 6:31 PM, "Richard Frank" <rfrank at dominionsw.com> wrote:
>
>
> It seems that in itkVtkGlue.cmake CMake is looking for 
> vtkRenderingOpenGL
>
> which isn't available with OpenGL2 flags turned on for CMake.
>
>
> Is this a problem with the Cmake file or did I forget to check or 
> uncheck
>
> something?
>
> Rick Frank
>
> Sent from my iPad



--
Unpaid intern in BillsBasement at noware dot com
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list