Hi Robert, all The results I got were a bit unclear so I was not sure what to report :-)
On the good side - I can view the cow.osg with the staticviewer. On the bad - only with --SingleThreaded. After a rebuild I started the viewer with cow.osg and got "broken mirrors". I'm not using the latest nvidia drivers so don't know is these are at play. Running single threaded works fine. After this I checked my visual studio projects to make sure my /OPT setting was there and it wasn't. So im thinking that it was the rebuild that fixed the problem. I need to start a fresh rebuild to be sure. I can't start that until tomorrow. Get back as soon as I can On a related thought. How should we handle the applications in static builds. Using the current setup with static plugins, either osgviewer nor osgconv will be very interesting. Should they be excluded from the build? Looking at it from the other end one might argue that the plugins should always be shared objects (or they are not really plugins). Asking stupid questions is one of my strengths but flame me nicely ;-) cheers Mattias On Mon, Dec 15, 2008 at 5:47 PM, Robert Osfield <[email protected]> wrote: > Hi Mattias, > > On Thu, Dec 11, 2008 at 7:34 PM, Mattias Helsing <[email protected]> wrote: >> dotosgwrapper_##classname(void) {} >> get optimized away. It got pulled in when I put a printf between the >> brackets. >> Have to go but am recompiling with linker flag /OPT:NOREF >> Let you know tomorrow > > How did you get on? > > This topic also remindsthe issue of dynamic vs static builds of the > OSG and packaging. Not sure what to do about, but I guess we'd need > to add the naming in target, although I'm be inclined to suggest that > the static target is the special case and that it's one that people > should roll their own libs for if they want static, and stick to just > packaging dynamic libraries. > > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
