How hard is to compile the source to Multi-threaded Debug DL

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

umen
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Mon Sep 12, 2011 08:24

How hard is to compile the source to Multi-threaded Debug DL

Postby umen » Wed Sep 14, 2011 20:37

Hi
i have big opengl application that is compiled all of it in Multi-threaded Debug DLL (/MDd) mode in windows
now i notice that CEGUI is compiled as Multi-threaded Debug (/MTd) . when i static link CEGUI with my application
i get the famous linking error's
msvcprtd.lib(MSVCP90D.dll) : error LNK2005:
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
is there any other way to fix this other then compile the lib?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: How hard is to compile the source to Multi-threaded Debu

Postby Kulik » Wed Sep 14, 2011 21:11

The short answer is no AFAIK.

The good news is that most people serious about any sort of development compile their libs anyway. It shouldn't be that hard.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 2 guests