[EMAIL PROTECTED] wrote on Wednesday, February 06, 2008 10:08 PM: > Hello > >> >> - OSG can be built statically and so can be run as a single file, >> without dependence on other .dll files >> > > i didnt realise this could be done, any info on how to do it in vs > 2008 c++ ??
You can build OSG static libs from source; it's one of the configuration options in the CMake file (DYNAMIC_OPENSCENEGRAPH). > for example can you still do it if your proggram development is done > being linked to the precompiled dll's ? You have to link against the static libs, not the DLLs. > and can you do this and remove the need to install the c++ runtime > library's on the traget machine under VS 2008 c++, or do you still > have to do that ? Installing the VS 2008 C++ runtime is still required on target machines if you build your project (and OSG) against the DLL Runtime library (/MD or /MDd). You can build against the static runtime using /MT or /MTd, but be careful not to mix runtimes (i.e. some parts of the program built using /MD and other built with /MT) because that can cause trouble. -- Bryan Thrall FlightSafety International [EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

