Re: [osg-users] Changes to osgDB::fstream

2013-06-26 Thread Braden Edmunds
Hello, Well due to much frustration I've gone into the source code and modified it so that osgDB::ofstream and osgDB::ifstream don't inherit from std::ifstream or std::ofstream. I've added functions so that it replicates how the class acted before. I also had to change how osgDB::Output

Re: [osg-users] Changes to osgDB::fstream

2013-06-26 Thread Robert Osfield
Hi Braden, I'm curious why you seem to be having more problems than other VisualStudio users, it seems like you've had to jump through more hoops than most to get around this VisualStudio bug. Could you post your changes to osg-submissions. I can review them to see if it would be appropriate to

Re: [osg-users] Changes to osgDB::fstream

2013-06-25 Thread Braden Edmunds
Hi Robert, Thank you for your suggestion, I didn't know it had already been completed. I downloaded the latest dev version (3.1.8) and compiled it with all of the options I need. I've removed any reference of fstream from the headers, and I still get link errors: Warning 4 warning

[osg-users] Changes to osgDB::fstream

2013-06-24 Thread Braden Edmunds
Hello, I'm currently working on a project that involves Qt and OSG in VS2010. I've run into several problems with osgDB::fstream and std::fstream. Any time the application is linked it finds multiple references to basic_stream::open etc. A previous post talked about removing the osgDB::fstream

Re: [osg-users] Changes to osgDB::fstream

2013-06-24 Thread Robert Osfield
Hi Braden, To resolve these problems we removed the use of osgDB::fstream, could you try OSG-svn/trunk or the recent 3.1.8 dev release. Cheers, Robert. On 24 June 2013 19:11, Braden Edmunds edmu...@reaction-eng.com wrote: Hello, I'm currently working on a project that involves Qt and OSG in