[CMake] MSVC90.dll and Debug configuration

David Cole david.cole at kitware.com
Wed Jul 2 10:15:41 EDT 2008


"leftovers"?

Did you do any incremental builds and mix Release and Debug dlls somehow?
Are you doing anything funky with your dlls that is not simply ADD_LIBRARY /
TARGET_LINK_LIBRARIES simple stuff...?

If you blow it away (the .dll, the .lib, the .pdb files...) and rebuild it
from scratch does the same thing happen again?



On Wed, Jul 2, 2008 at 9:45 AM, Mehdi Rabah <mehdi.rabah at gmail.com> wrote:

> using dependency walker I see that a DLL built by my cmake-generated
> project depends on both msvcr90 and msvcr90d. any idea why ?
>
>
> On Wed, Jul 2, 2008 at 2:36 PM, David Cole <david.cole at kitware.com> wrote:
>
>> That probably means you are loading some other release dll that depends on
>> MSVC90.dll. You can use depends.exe on all the dlls that load prior to
>> MSVC90.dll to figure out which one it is...
>>
>>
>> On Wed, Jul 2, 2008 at 8:10 AM, Mehdi Rabah <mehdi.rabah at gmail.com>
>> wrote:
>>
>>>  Hi,
>>>
>>> I was wondering if it's normal if Visual Studio is trying to load the
>>> release version of the VC dll (MSVC90.dll instead of MSCV90d.dll) while
>>> trying to debug a binary, built with the debug configuration of a
>>> cmake-generated project in a Debug configuration ?
>>>
>>> I'm using VS express 2008, with the psdk, and cmake 2.6
>>>
>>> Regards,
>>> --
>>> Mehdi
>>>
>>> _______________________________________________
>>> CMake mailing list
>>> CMake at cmake.org
>>> http://www.cmake.org/mailman/listinfo/cmake
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080702/da4eddb4/attachment.htm>


More information about the CMake mailing list