FYI there should not be any spaces in that symbol name. Sorry for the typo..
-gw

On Dec 22, 2007 10:24 AM, Glenn Waldron <[EMAIL PROTECTED]> wrote:

> John,
>
> I had the same problem. I was able to resolve this my setting the 
> VS.NEToption "Linker->Input->Force Symbol References" to include a symbol from
> osgViewer. In my case I used: "[EMAIL PROTECTED]@@ [EMAIL PROTECTED]"
>
> Perhaps we can integrate this approach into the CMake config at some
> point. Hope this helps. -gw
>
> On Dec 3, 2007 11:18 AM, Argentieri, John-P63223 <[EMAIL PROTECTED]>
> wrote:
>
> >  Robert,
> >
> > I'm not sure about *nix, but I know that on Windows, the osgViewer.dllwill 
> > NOT get loaded unless a symbol from it gets referenced. That does not
> > include this symbol:
> >
> > *static RegisterWindowingSystemInterfaceProxy
> > createWindowingSystemInterfaceProxy;*
> >
> > From within GraphicsWindowWin32.cpp, at least by default. I'm not sure
> > what you want to do for this. You could force osgconv to implicitly load
> > osgViewer.dll by modifying the solution files, or create something on
> > the stack in osgConv.cpp that is defined in osgViewer.dll. So far you've
> > refuted both of these solutions. However, we do need to supply texture
> > compression support to our customer, even on Windows. I'll bet that you guys
> > need to do the same. IMHO, forcing the link is the least invasive solution.
> > If I'm not mistaken, that's what happens on *nix anyway when you give g++
> > the "- losgViewer.so" so the statics and globals get created in this
> > case.
> >
> > One other option would be to move osg::GraphicsContext into
> > osgViewer.dll, that way when the GraphicsContext is declard in
> > osgconv.cpp, then osgViewer.dll will be loaded, and the** *** 
> > RegisterWindowingSystemInterfaceProxy
> > will be created.*
> >
> > *John Argentieri*
> > *Software Engineer*
> > *GENERAL DYNAMICS C4S*
> > *(407) 281-5568*
> > [EMAIL PROTECTED]
> >
> > *"This email message is for the sole use of the intended recipient(s)
> > and may contain GDC4S confidential or privileged information. Any
> > unauthorized review, use, disclosure or distribution is prohibited. If you
> > are not an intended recipient, please contact the sender by reply email and
> > destroy all copies of the original message. *"
> >
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
>
>
> --
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
>




-- 
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to