I don't believe there is too big an issue with slashes and MS Windows - just
use forward slashes because most Windows library calls understand forward
slashes - required for POSIX compliancy since WinNT and VS5. You may come
unstuck when composing any "shell commands" since these must use backward
slashes - forward slash is the first letter of an option such as dir /W.
Otherwise its quite valid in Windows code to write

    fopen( "/blah/super/duper/cow.osg",  ... ) etc.

thats my 2p's worth ( approx 4 cents!!)

PhilT
  -----Original Message-----
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mattias
Helsing
  Sent: 01 April 2008 23:57
  To: OpenSceneGraph Users
  Subject: [osg-users] osga handling on Win32


  hi all,
  I found that the DatabasePager doesn't work with osga archives on Win32.
This is classic slash bug. On lowest level a vector search fails in
OSGA_Archive.cpp line 667 because directory delimiters doesn't match.
  Extracting the master(.osg) from the archive reveals that paths are stored
with un*x slashes.
  What say the policy about slashes and where shall this be fixed?

  /Mattias
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to