[osg-users] osgconv
Robert Osfield
robert.osfield at gmail.com
Tue Nov 6 01:08:17 PST 2007
Hi John,
On Nov 5, 2007 3:53 PM, Argentieri, John-P63223
<John.Argentieri at gdc4s.com> wrote:
> Robert/Luigi,
>
> In VS, there is an option under Linker->Input called "Force Symbol
> Reference"
> It might work if you put osgViewer::Viewer there.
Forcing it to link osgViewer::Viewer is not what you want, requiring
Viewer in this instance is a complete red herring. What is need to be
instantiated properly is the RegisterWindowingSystemInterfaceProxy in
GraphicsWindwWin32.cpp.
Looking a the proxy instantiation code in GraphicsWindowWin32.cpp vs
GraphicsWindowX11.cpp the former has a static infront of the proxy
object declaration and the later doesn't. Perhaps its this which is
throwing things. Try removing the static in the line 2263:
static RegisterWindowingSystemInterfaceProxy
createWindowingSystemInterfaceProxy;
Robert.
More information about the osg-users
mailing list