Issue about cmake VTK for QVTKOpenGLNativeWidget

Hello, I am currently using Qt6 and VTK-9.2. When I want to use QVTKOpenGLNativeWidget, I re-compile my vtk by cmake-gui. However, when I finished configuring VTK, my building and install procedure kept encountering error. Here is my picture:

This is my result after I config and generate the VTK source file, and it look normal

However, when I click “go to project” and build & install in release mode through VS2022, the error appears:

It said that my memory is not sufficient. Also, if I switch to Debug mode, it will work and I can see QVTKOpenGLNativeWidget successfully in the install directory. Am I set somewhere wrong? Why the debug mode worked while the release mode failed?

Thank you

Hi,

Is it possible to change the locale of VS to ENG-US and capture the errors again? A lot of quite useful info can be found in the error messages. Sorry, only saying it is running out of memory does not really help.

regards,

PC