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 / fstream with DarkGDK

Author
Message
Mr Awesome Guy
15
Years of Service
User Offline
Joined: 19th May 2009
Location:
Posted: 26th May 2009 23:22
For some reason, when I try to use fstream, or even stdafx in a DarksGDK 2D game, I get this error:

Quote: "Cannot open include file: 'stdafx.h': No such file or directory"


I've used fstream in dozens of other programs (not DarkGDK programs) and it's never given me that error before. Do DarkGDK games store headers in a different directory, or do they just not allow you to include other headers? How can I fix this problem?
ABXG
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location: Canada
Posted: 26th May 2009 23:39
You need to set the runtime library to /MT when in debug mode, or just compile in release mode.

------------------------------------
Currently 1500+ lines of code into an "over-the-shoulder" action RPG with combat based on rag-doll physics.

Login to post a reply

Server time is: 2024-10-01 01:23:04
Your offset time is: 2024-10-01 01:23:04