[CMake] MSVC90.dll and Debug configuration

Mehdi Rabah mehdi.rabah at gmail.com
Wed Jul 2 10:24:49 EDT 2008


my DLL was compiled with a static
library<http://www.google.fr/search?q=define%3Aleftover&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_frFR273FR273>so
maybe the problem come from here.

in my cmake files, I use a DEFINE_SYMBOL, but I don't think this is the
problem.

Ok thanks, I'll try to get the source of this lib and recompile it. (I'm
searching for a specific problem when loading the DLLs, but I don't know
which DLL it is)



On Wed, Jul 2, 2008 at 4:15 PM, David Cole <david.cole at kitware.com> wrote:

> "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/c2b99755/attachment-0001.htm>


More information about the CMake mailing list