How to build VTK 8.1.1 with vtkGUISupportMFC?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to build VTK 8.1.1 with vtkGUISupportMFC?

pnt1614
I am trying to build VTK 8.1.1 with vtkGUISupportMFC option on Windows 10
64bit using CMake 3.11.4 and visual studio 2015 (64 bit). Everything is okay
in CMake, but in the visual studio 2015 I cannot build "ALL_BUILD" project
because of two following messsages:

1. "no instance of overloaded function
"vtkWin32OpenGLRenderWindow::GetPixelData" matches the argument list"
2. "vtkWin32OpenGLRenderWindow::GetPixelData": no overloaded function takes
5 arguments.

Is there anyone experienced this problem? Please, help me.



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: How to build VTK 8.1.1 with vtkGUISupportMFC?

David E DeMarle
We haven't actively maintained the MFC support for a while (6.0 as I recall). As a result the MFC interface never got updates for OpenGL2. The specific compilation failure you are seeing is because we added a left eye/right eye argument along the way and the old MFC interface code knows nothing about it.

David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Thu, Jun 28, 2018 at 8:15 PM pnt1614 <[hidden email]> wrote:
I am trying to build VTK 8.1.1 with vtkGUISupportMFC option on Windows 10
64bit using CMake 3.11.4 and visual studio 2015 (64 bit). Everything is okay
in CMake, but in the visual studio 2015 I cannot build "ALL_BUILD" project
because of two following messsages:

1. "no instance of overloaded function
"vtkWin32OpenGLRenderWindow::GetPixelData" matches the argument list"
2. "vtkWin32OpenGLRenderWindow::GetPixelData": no overloaded function takes
5 arguments.

Is there anyone experienced this problem? Please, help me.



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: How to build VTK 8.1.1 with vtkGUISupportMFC?

Jesse Kinross-Smith

Would be nice if you could keep the support up – it’s rather important to us as we’re also using the vtkGUISupportMFC code in our app – using vtk 8.1.1 right now

 

It did require a small change in vtkMFCWindow.cpp – just an additional ,0 on line 195

 

GUISupport\MFC\vtkMFCWindow.cpp:

194:   unsigned char *pixels =

195:     this->pvtkWin32OpenGLRW->GetPixelData(0,0,size[0]-1,size[1]-1,0,0);

 

Jesse

--

Jesse Kinross-Smith

Senior Software Engineer - BSW

Bentley Systems, Fremantle

 

From: vtkusers [mailto:[hidden email]] On Behalf Of David E DeMarle
Sent: Wednesday, 4 July 2018 12:29 AM
To: [hidden email]
Cc: [hidden email]
Subject: Re: [vtkusers] How to build VTK 8.1.1 with vtkGUISupportMFC?

 

We haven't actively maintained the MFC support for a while (6.0 as I recall). As a result the MFC interface never got updates for OpenGL2. The specific compilation failure you are seeing is because we added a left eye/right eye argument along the way and the old MFC interface code knows nothing about it.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

 

 

On Thu, Jun 28, 2018 at 8:15 PM pnt1614 <[hidden email]> wrote:

I am trying to build VTK 8.1.1 with vtkGUISupportMFC option on Windows 10
64bit using CMake 3.11.4 and visual studio 2015 (64 bit). Everything is okay
in CMake, but in the visual studio 2015 I cannot build "ALL_BUILD" project
because of two following messsages:

1. "no instance of overloaded function
"vtkWin32OpenGLRenderWindow::GetPixelData" matches the argument list"
2. "vtkWin32OpenGLRenderWindow::GetPixelData": no overloaded function takes
5 arguments.

Is there anyone experienced this problem? Please, help me.



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers


_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: How to build VTK 8.1.1 with vtkGUISupportMFC?

David E DeMarle


On Wed, Jul 4, 2018 at 10:57 AM Jesse Kinross-Smith <[hidden email]> wrote:

Agreed.

Unfortunately it hasn't been a priority for any of Kitware's customers (most of whom are on Qt and a few of whom are on ActiViz), nor for any other of the other VTK developers apparently.

It won't be hard to do, a couple of days perhaps to update the code and stand up a dashboard.

Merge requests and Kitware support arrangements are both welcome.


_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers