Why would you want to static link to osg when you say you can have dlls? Just stick the osg dlls in the same folder as the exe and it should work.
If you really must static link, you can probably just change the project build type in VS. I haven't tried this though. Use cmake, set the options, then open the ALL_BUILD.vcproj it will create in your build directory. Then just go through and change the 'Configure type' property on the 'General' properties page. I've had issues going from static libs to dlls, but going the other way should just work. 2008/12/5 Pete Carss <[EMAIL PROTECTED]>: > Hello All, > > For reasons I can't go into without my blood pressure rising, I'm having to > transfer my development chain from Linux to XP. I wondered if there are any > Visual Studio gurus on the list that could point me to a source of info on > static compilation of OSG. > > I need to be able to run my OSG based program across a 3 IG cluster - but I > cannot 'install' my software on the cluster. I need an .exe (and associated > .dlls - that be run happily from a folder. I can change the path on the > machines in the cluster.... > > > Pete > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- The truth is out there. Usually in header files. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

