[osg-users] [build] OSG static v 3.6.3 CMake 3.12.4 + Visual studio 2017

Anton Markov Lebedev97 at bk.ru
Fri Feb 1 00:18:30 PST 2019


Hi.

I try to build a static library assembly, everything is assembled without errors, but when I run the simplest example, the program immediately closes, returning 0. The following is displayed in the console:

Warning: GraphicsContext::WindowingSystemInterfaces::getWindowingSystemInterface() failed, no interfaces available.
AcrossAllScreens::configure() : Error, no WindowSystemInterface available, cannot create windows.
Viewer::realize() - failed to set up any windows

What I replaced regarding dynamic builds:
removed the checkboxes with DYNAMIC_OPENSCENEGRAPH and DYNAMIC_OPENTHREADS, and also changed in CMAKE_CXX_FLAGS... and CMAKE_C_FLAGS... MD->MT.

In a dynamic build, everything works as it should.

Thank you!

Cheers,
Anton

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75242#75242







More information about the osg-users mailing list