[Qt-interest] QT 4.6.2 static release
Michael Jackson
mike.jackson at bluequartz.net
Wed Feb 24 15:02:48 CET 2010
On 2/23/10 7:39 PM, in article hm1sgu$c3q$1 at eple.troll.no, "David Ching"
wrote:
> "Yuvraaj Kelkar" <yuvraaj at gmail.com> wrote in message
> news:e1b8e9e31002230938t718af94y95250932e27c51f2 at mail.gmail.com...
>> The debug version of my application compiles perfectly, the release
>> version spits a ton of linker errors complaining about libcmt already
>> defining functions in libcpmtd.
>>
>> I cannot understand why the debug static runtime is getting linked
>> with the release static runtime.
>>
>
> Try adding libcpmtd.lib to Ignore Specific Library:
> /NODEFAULTLIB:libcpmtd.lib
>
> -- David
>
You really want to track down why in the Release version you are linking in
a debug version of libcpmt? Does a support library link against libcpmt in
both release and debug versions, thus forcing that dependency on your
release version?
You can probably use the /NODEFAULTLIB option but I always end up with more
trouble than it supposedly fixes.
Mike Jackson
More information about the Qt-interest-old
mailing list