Thanks Wang Rui, fix now merged and submitted to svn/trunk.
On Wed, Nov 25, 2009 at 8:16 AM, Wang Rui <[email protected]> wrote: > Hi Robert, > > I just successfully built the pdf plugin on Windows XP and MSVC and > fixed a small bug then: > > ReaderWriterPDF.cpp, line 133, change: > > std::string uri = std::string("file:") + foundFile; > > to: > > #if defined(WIN32) && !defined(__CYGWIN__) > std::string uri = std::string("file:///") + foundFile; > #else > std::string uri = std::string("file:") + foundFile; > #endif > > > That's because glib accepts "file:///C:\\data\\file.pdf" as URIs on > Windows, as well as "file:/home/data/file.pdf" on Unix, but > "file:C:\\data\\file.pdf" is not recognized. > > Now I could read my Chinese translation of OSGQSG with osgpdf. :P > > Cheers, > > Wang Rui > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
