Hi Ricardo, I have just tried with and wihtout the trailing slash and these are the results I get under Linux,
./test --dir ~/OpenSceneGraph/include/osg --file version Result with findFileInDirectory(): 1 /home/robert/OpenSceneGraph/include/osg/Version ./test --dir ~/OpenSceneGraph/include/osg/ --file version Result with findFileInDirectory(): 0 Result with fileExists(): 0 concatenated=/home/robert/OpenSceneGraph/include/osg/version Which confirms your suggestion that the trailing slash isn't handled by findFileInDirectory(). Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

