Hi In there wisdom MS decided it would be a good idea to use different CRT ( for C++ in debug use different memory allocators and dealocators , they through a lot of debug memory padding etc. etc. etc. etc. etc. doing a Google will bring up lots of reference material on this. ( this is typically no an issue on UNIX and Linux systems, dang I miss IRIX ...... ). If an app was purely link with C lib its not an issues
Most of the OSG 3rd party requirements are typically built with C++ so you need to ensure they are build with the same CRT and settings. Things like libJpeg, png, tiff, gdal, collada, xerces, proj4, libxml geos, boost etc While first time round it can take a little time to assemble your OSG 3rdparty sources and set them up, in the long run it is worth it ( at least for me ), for a commercial application I need to know that all the libraries I use meet the standard build requirments, and the only way to ensure that is to build them myself Gordon Product Manager 3d __________________________________________________________ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __________________________________________________________ -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Cory Riddell Sent: Tuesday, September 01, 2009 3:03 PM To: OpenSceneGraph Users Subject: Re: [osg-users] OT: do I need to recompile OSG? Hi Gordon, Tomlinson, Gordon wrote: > Generally it is recommend you build every thing with the same compiler > version ( it saves time in the long run ) > I started out thinking this is the obvious answer, but the more I think about it, I'm not so sure. For example, OSG uses OpenGL from operating system libraries or libraries supplied by my video card maker. These may not even be compiled by a Microsoft compiler and there certainly isn't any way for me to recompile them. This makes me think that it doesn't really matter. I would like to understand what the problem is with mixing object files built against different versions of library files. Cory _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org