Failed OpenGL tests with vtk static windows build?

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

Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list
Hello!
I'm seeing a weird failure with a recent vtk master on Windows. 
I'm doing a debug static build, and running ctest, all tests with a window are segfaulting after this warning:

Generic Warning: In C:\akit\vtk\src\Rendering\Core\vtkRenderWindow.cxx, line 35
Error: no override found for 'vtkRenderWindow'.

A shared build does not have this problem. It seems like the OpenGL object factory is failing somehow with a static build? Any ideas?

Thanks,
Aron

_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list
On Tue, Jan 22, 2019 at 17:32:52 -0500, Aron Helser via vtk-developers wrote:

> I'm seeing a weird failure with a recent vtk master on Windows.
> I'm doing a debug static build, and running ctest, all tests with a window
> are segfaulting after this warning:
>
> Generic Warning: In C:\akit\vtk\src\Rendering\Core\vtkRenderWindow.cxx,
> line 35
> Error: no override found for 'vtkRenderWindow'.
>
> A shared build does not have this problem. It seems like the OpenGL object
> factory is failing somehow with a static build? Any ideas?

Hmm. Static builds on the dashboard were working here:

    https://open.cdash.org/index.php?compare1=61&filtercount=1&field1=revision&project=VTK&showfilters=0&limit=100&value1=25d2722c7e8d3a423397c3df0cc7173ae6a6f44a&showfeed=0

but it seems that `master` doesn't like it as much (though, AFAICT, only
for Python import reasons, not object factory failures). What does your
CMake code look like?

--Ben
_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list
Here's one from master with the same symptom:

I'm doing 
cmake -G Ninja -C ..\build_py3.cmake ../src

with this build_py3.cmake: 

set(BUILD_SHARED_LIBS "OFF" CACHE BOOL "")
set(BUILD_TESTING "ON" CACHE BOOL "")
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
set(CMAKE_INSTALL_PREFIX "C:/akit/vtk/install" CACHE PATH "")
set(VTK_ENABLE_PYTHON "ON" CACHE BOOL "")
set(VTK_PYTHON_VERSION "3" CACHE STRING "")
set(VTK_LEGACY_REMOVE ON CACHE BOOL "")

set(VTK_MODULE_ENABLE_VTK_RenderingOpenVR YES CACHE BOOL "")
set(OpenVR_INCLUDE_DIR "C:/akit/openvr/headers" CACHE PATH "")
set(OpenVR_LIBRARY "C:/akit/openvr/lib/win64/openvr_api.lib" CACHE FILEPATH "")
set(FFMPEG_ROOT "c:/akit/mineview/src/ffmpeg" CACHE PATH "")
set(VTK_MODULE_ENABLE_VTK_IOFFMPEG YES CACHE BOOL "")

Hopefully the OpenVR and FFMPEG stuff aren't relevant, and can be omitted. I'll test that. 
I'll attach my cmakecache, too

Thanks!

On Wed, Jan 23, 2019 at 9:05 AM Ben Boeckel <[hidden email]> wrote:
On Tue, Jan 22, 2019 at 17:32:52 -0500, Aron Helser via vtk-developers wrote:
> I'm seeing a weird failure with a recent vtk master on Windows.
> I'm doing a debug static build, and running ctest, all tests with a window
> are segfaulting after this warning:
>
> Generic Warning: In C:\akit\vtk\src\Rendering\Core\vtkRenderWindow.cxx,
> line 35
> Error: no override found for 'vtkRenderWindow'.
>
> A shared build does not have this problem. It seems like the OpenGL object
> factory is failing somehow with a static build? Any ideas?

Hmm. Static builds on the dashboard were working here:

    https://open.cdash.org/index.php?compare1=61&filtercount=1&field1=revision&project=VTK&showfilters=0&limit=100&value1=25d2722c7e8d3a423397c3df0cc7173ae6a6f44a&showfeed=0

but it seems that `master` doesn't like it as much (though, AFAICT, only
for Python import reasons, not object factory failures). What does your
CMake code look like?

--Ben

_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers


CMakeCache.txt (195K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list
On Wed, Jan 23, 2019 at 10:12:18 -0500, Aron Helser wrote:
> Hopefully the OpenVR and FFMPEG stuff aren't relevant, and can be omitted.
> I'll test that.
> I'll attach my cmakecache, too

It doesn't fail on Linux here. Some debugging on Windows will be
necessary. But, I don't have OpenVR enabled (FFMPEG is).

--Ben
_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list
I reproduce this on my windows 10 desktop with VS 2017 with only

set(BUILD_SHARED_LIBS "OFF" CACHE BOOL "")
set(BUILD_TESTING "ON" CACHE BOOL "")
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")



On Wed, Jan 23, 2019 at 11:54 AM Ben Boeckel <[hidden email]> wrote:
On Wed, Jan 23, 2019 at 10:12:18 -0500, Aron Helser wrote:
> Hopefully the OpenVR and FFMPEG stuff aren't relevant, and can be omitted.
> I'll test that.
> I'll attach my cmakecache, too

It doesn't fail on Linux here. Some debugging on Windows will be
necessary. But, I don't have OpenVR enabled (FFMPEG is).

--Ben

_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list
On Fri, Jan 25, 2019 at 16:53:35 -0500, Aron Helser wrote:
> I reproduce this on my windows 10 desktop with VS 2017 with only
>
> set(BUILD_SHARED_LIBS "OFF" CACHE BOOL "")
> set(BUILD_TESTING "ON" CACHE BOOL "")
> set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")

Thanks. Could you please file an issue?

--Ben
_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers

Reply | Threaded
Open this post in threaded view
|

Re: Failed OpenGL tests with vtk static windows build?

VTK - Dev mailing list

On Mon, Jan 28, 2019 at 3:56 PM Ben Boeckel <[hidden email]> wrote:
On Fri, Jan 25, 2019 at 16:53:35 -0500, Aron Helser wrote:
> I reproduce this on my windows 10 desktop with VS 2017 with only
>
> set(BUILD_SHARED_LIBS "OFF" CACHE BOOL "")
> set(BUILD_TESTING "ON" CACHE BOOL "")
> set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")

Thanks. Could you please file an issue?

--Ben

_______________________________________________
Powered by www.kitware.com

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

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers