Hi Issam, Please have a look at the osgstaticviewer example, this illustrates all what you have to do to force the static linking to pull in all the required symbols.
Robert. On Sun, Nov 7, 2010 at 8:31 AM, issam boughanmi <[email protected]> wrote: > Hi, > > i have compiled and build Osg in static mode without any problem > > but when i link any example with these static libs i have a runtime error > > > >> View::setUpViewAcrossAllScreen() : error, no windowsysteminterface avaible, >> cannot create windows . >> >> Viewer::realiez() - Failed to set up any windows >> > > > ps : for each export header file i am overriding the "OSG_EXPORT" directive > like this : > > > Code: > #define OSG_EXPORT > > > > and the dynamic building compile and run perfecteley > > i really really appreciate your support > > thanks and good day > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=33559#33559 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

