Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkGDK.h conflict with iostream or fstream

Author
Message
zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 8th May 2009 15:00
I tried to do a simple file reading example today using ofstream and i noticed that it gives me linker errors. Here's the code

And here's what VS ouputs:
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 8th May 2009 20:43
Try compiling in Release mode.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 8th May 2009 21:09
Or try setting the runtime libraries to non-debug mode: Project properties, configuration, C++, code generation, then set the runtime library to MT instead of MTd.
zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 8th May 2009 22:47
You where right! Works in release mode! Thank you.

Login to post a reply

Server time is: 2024-11-05 18:51:57
Your offset time is: 2024-11-05 18:51:57