Re: [osg-users] osgViewer crash loading textures under Windows Vista
Just a hunch, but maybe some dependencies (DLLs) are missing, like for instance the visual studio 2005 SP1 redistributables,… Have you checked your executable (and separately the OSG plugins, since they are loaded dynamically) with the Microsoft Dependency Walker? See, http://www.dependencywalker.com Cheers, Erik den Dekker On 02-11-2009, at 13:59, Philip Lamb wrote: osgViewer (OSG v2.6, compiled under Windows XP SP3 with Visual Studio 2005 SP1) crashes while loading textured models (e.g. cow.osg) when I run it on a clean install of Windows Vista SP2. Before I go through the pain of installing VS on this copy of Vista to run the debugger, are there any known gotchas running OSG compiled under XP in Vista? I'm tempted to just tell the customer to go back to running our app under XP but I'm sure this unfortunately won't be the last time we end up having to support a deployment on Vista. Any help or experiences much appreciated. Regards, Philip Lamb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgViewer crash loading textures under Windows Vista
Philip Lamb wrote: osgViewer (OSG v2.6, compiled under Windows XP SP3 with Visual Studio 2005 SP1) crashes while loading textured models (e.g. cow.osg) when I run it on a clean install of Windows Vista SP2. Before I go through the pain of installing VS on this copy of Vista to run the debugger, are there any known gotchas running OSG compiled under XP in Vista? I run OSG apps on Vista all the time. I compile them on Vista too, but I have also run older XP-compiled apps just fine. #1 issue: Check and update your display drivers before doing anything else, and if it still doesn't work, report what make/model and driver revision your dealing with. There are some crap drivers out there. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgViewer crash loading textures under Windows Vista
Instead of installing Visual Studio on the client computer you can download and install the right vcredist package from Microsoft. The one I think you need right now is: http://www.microsoft.com/downloads/details.aspx?displaylang=enFamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647 On what format are the textures? The PNG plugin (osgdb_png) needs libpng dll to be included, the TIFF plugin (osg_tiff) needs zlib dll just to give you an example of files you also need. As Erik den Dekker wrote, the dependency walker is a really good tool to solve problems of this kind. Another way to get help is by starting your application from the command prompt and set the OSG_NOTIFY_LEVEL environmentvariable to DEBUG before. I hope it helps. Good luck! /Jakob Ruhe 2009/11/2 Philip Lamb p...@eden.net.nz: osgViewer (OSG v2.6, compiled under Windows XP SP3 with Visual Studio 2005 SP1) crashes while loading textured models (e.g. cow.osg) when I run it on a clean install of Windows Vista SP2. Before I go through the pain of installing VS on this copy of Vista to run the debugger, are there any known gotchas running OSG compiled under XP in Vista? I'm tempted to just tell the customer to go back to running our app under XP but I'm sure this unfortunately won't be the last time we end up having to support a deployment on Vista. Any help or experiences much appreciated. Regards, Philip Lamb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org