Re: [osg-users] [vpb] Windows and weird error messages

2014-05-16 Thread Björn Blissing
Hi, I fixed this by replacing all std::ifstream with osgDB::ifstream. And all std::ofstream with osgDB::ofstream. And then you will have to replace the following line in include/vpb/BuildLog: Code: #include fstream with: Code: #include osgDB/fstream Maybe this should be submitted as a

Re: [osg-users] [vpb] Windows and weird error messages

2014-04-17 Thread David Glenn
Greetings All! I just went through the same thing! It would be good to make note of it some ware in a readme about it! I had to search though the forum to figure it out and I'm not sure I like the fix, but I can't find any better idea to work around it, but it works. The only other advice I

Re: [osg-users] [vpb] Windows and weird error messages

2014-04-11 Thread Robert Osfield
Hi Keith, We've had problems with VisualStudio's buggy compiler when it comes to handling valid C++ relating to streams. It's kinda crap but that's just what we have to put with. Is the problem you are having with the svn/trunk version of VPB or one of the dev releases? There is chance that

Re: [osg-users] [vpb] Windows and weird error messages

2014-04-11 Thread Sebastian Messerschmidt
Hi Keith, Please search the forum/mailing list. This topic has been raised quite a few times. Please add /FORCE:Multiple to your linker options for the complaining module/linking application. @Robert, I think the option might be added to the CMakeList to fix this at least for VPB. I

[osg-users] [vpb] Windows and weird error messages

2014-04-09 Thread Keith Steiger
I needed to get VPB working on Windows (Visual Studio 2010), and I ran into a bizarre compiler error that I'm sure you've heard about before: std::basic_ofstreamchar,struct std::char_traitschar ::`vbase destructor'(void) (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already