Youuhouuh ! It's working now ;-) I managed to run osganimate.exe as a single
application of 2Mo :-)
I keep testing the other samples, and adding plugins.

Yet I have two other questions:

1) From a licensing point of view : do we have the right to use statically
linked OSG libs in a commercial software ?
2) is it possible (and tested ?) to build static OSG libs under linux ?

Manu.



2007/5/21, Emmanuel Roche < [EMAIL PROTECTED]>:

Okay, thanks for the info Robert: that's the location I was looking for.
You're right, now I just have to test the same "force symbol include" than
for the plugins ;-)...

Manu.


2007/5/21, Robert Osfield <[EMAIL PROTECTED]>:
>
> Hi Manu,
>
> The implemenation of the WindowSystemInterface auto registers itself,
> so even though osgViewer::Viewer does directly include
> GraphicsWindowWin32/X11/Carbon it is able to pick it up - but...
> obviously in the case of static build the compiler thinks because it
> isn't referenced GraphicsWindowWIn32.o etc aren't required.
>
> What you'll need to do is explictly reference the
> include/osgVewier/api/GraphicsWindowWin32, X11 or Carbon (which ever
> is native).
>
> This is the same issue as for the plugins that autoregister to are
> loosely coupled.
>
> Robert.
>
> On 5/21/07, Emmanuel Roche < [EMAIL PROTECTED]> wrote:
> > Hello there !!
> >
> > I'm still trying to build the static version of OSG (on WinXP, MSVC
> 2003
> > .NET), I built the core libs, the common plugins, retrieved the
> mangled
> > names in those plugins, forced the link in the osganimate sample and
> tried
> > to start the program, I suppose the plugins libs I added are
> "correctly"
> > loaded because at the begining I had an error "couldn't find plugin to
> read
> > cessna.osg, etc...", and now no error anymore. Unfortunately now I get
> :
> >
> > View::setUpViewAcrossAllScreens() : Error, no
> > WindowSystemInterface available, cannot create windows.
> > Viewer::realize() - failed to set up any windows
> >
> > I suppose this is linked to the new osgViewer system but I'm not used
> to
> > it.... :-( Any idea of what I missed here ??...
> >
> > regards,
> >
> > Manu.
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to