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 / Integrating standard libraries?

Author
Message
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 7th Mar 2009 03:30 Edited at: 7th Mar 2009 03:31
Hi everyone. I'm having a problem integrating the standard libraries iostream and string into my DGDK project ( or vice versa DGDK into my project). Here is the non-DGDK source:
and here is the source when i attempt to include a DGDK function:

...and here is the error message when compiling the last source code:
Any help?
Note: the code only utilizing the standard libraries compiles perfectly fine.

...
Cole Xemi
16
Years of Service
User Offline
Joined: 20th Aug 2008
Location:
Posted: 7th Mar 2009 09:00 Edited at: 7th Mar 2009 09:01
Method #1: Go to Project -> Properties -> Config. Properties -> C/C++ -> Code Generation

Runtime Library should be set to /MT

Method #2: Compile in release mode.
Dar13
17
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 7th Mar 2009 18:22
I have a question: Do you need the libraries libcmt.lib and msvct.lib? I'm getting conflict errors all over the place.

...

Login to post a reply

Server time is: 2025-05-27 23:28:18
Your offset time is: 2025-05-27 23:28:18