Hi Peter, The OSG itself doesn't lock files, it typically just open, reads then closes them, so the culprit is almost certainly the OS or VisualStudio screwing things up. Curiously I haven't heard of other with this problem. What OS are you working on?
Another issue that seems to haunt Windows users is the various MS library dependencies that VS requires, could it be that something hasn't been installed correctly on the other machines. Robert. On Jan 17, 2008 5:51 AM, Peter DeSantis <[EMAIL PROTECTED]> wrote: > > > Hi > > i have successfully used cmake to build osg 2.2.0 with visual studio 2008. > > I have been able to create from scratch a new project in anew directory > structure a test project based on the osgshape example and it builds and > runs fine in both debug and release mode. > > MY problem is when i copy the release exe to another test machine i also > copy the runtime dll and the image file that is loaded in the shape example > to the same directory the exe is running from on the new computer. The exe > runs fine, but does not find the image texture file even when its in the > current directroy and in addition once the exe has been run i use the Esc > key to exit it and then the program and directory become locked to some > process i can not delete the file or directory i have to logout or reboot. > > Based on the OSGshape example is there a correct way to prevent the exe > being locked to a process, and how can i make sure the image file is always > found. > > The exe only gets locked when i run it independtly, theres no problem when i > run it from visual studio. > > > Thanks > > Peter DeSantis > [EMAIL PROTECTED] > Jumbo Vision International Pty Ltd > Unit 2 ,1 Aitken Way > Kewdale WA 6105 > Australia > > Tel: 61 8 9353 6200 > Fax: 61 8 9353 6211 > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

