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

Reply via email to