[osg-users] generation of file .exe
Hi! how can I produce a file .exe, that can also be performed on a computer on which osg is not installed? is this possible? Aurora Restivo ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] generation of file .exe
Hello Aurora, > how can I produce a file .exe, that can also be performed on a computer > on which osg is not installed? > is this possible? Yes it is possible, it's just a matter of including the right DLLs with your executable. The Dependency Walker tool (http://www.dependencywalker.com/) can be of some help to tell you which DLLs you executable depends on. Please search the archives for more information (http://dir.gmane.org/gmane.comp.graphics.openscenegraph.user), as this has been discussed before. Hope this helps, J-S -- __ Jean-Sebastien Guay[EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] generation of file .exe
Your question has unstated context and assumptions. Without more specifics, there are many interpretations: - OSG does not have to be "installed" on a computer to work, in that you do not need to run an "installer". There is a .zip of prebuilt OSG 2.2.0 at http://mew.cx/osg/ that can be unpacked anywhere and paths tweaked to work without admin rights. - OSG can be built statically and so can be run as a single file, without dependence on other .dll files - "produce a file .exe" requires a development environment like VisualStudio to compile source code and link into a .exe file. hth -- mew > -Original Message- > From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of aurora restivo > Sent: Wednesday, February 06, 2008 8:54 AM > To: OpenSceneGraph Users > Subject: [osg-users] generation of file .exe > > Hi! > > how can I produce a file .exe, that can also be performed on a computer > on which osg is not installed? > is this possible? > > Aurora Restivo ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] generation of file .exe
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++ ?? for example can you still do it if your proggram development is done being linked to the precompiled dll's ? 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 ? thanks for any info Peted ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] generation of file .exe
[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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org