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 / Linker errors when using string or stl

Author
Message
zobdos
16
Years of Service
User Offline
Joined: 8th Sep 2008
Location:
Posted: 6th Oct 2008 04:01
I get linker errors if I try to use string or any of the stl types such as vector, set, etc.

Is is possible to use these with DarkGDK?

My settings:
Ignore all default libs: No
Ignore Specific libs: libcmtd, msvcrt, atls

The actual error:
warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library

I've tried adding libcmt to the list, but if I do that, instead of linker errors I just get lots of unresolved external errors (136 of them)
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 6th Oct 2008 07:27
There must be a trillion and one threads on this by now, when you make a project with the wizard you then need to find the /MTd project setting wherever that is and set it to /MT and it should work(that's all I've ever had to change to get it to compile fine with STL and other libs).

Login to post a reply

Server time is: 2024-09-30 07:16:16
Your offset time is: 2024-09-30 07:16:16