[Insight-users] run time library

Luis Ibanez luis.ibanez at kitware.com
Sat Aug 28 16:59:30 EDT 2004


Hi Michael,


Please do the following


1) Run CMake in your ITK build.


2) Pass to "Advance" mode
    (by clicking on "Show Advanced Values")


3) Look for the variable CMAKE_CXX_FLAGS_DEBUG


4) Replace "/MDd"  with "/MTd"

    If you have questions about these compiler
    flags, please consult the Help of your
    Visual Studio IDE.


Regards,


    Luis


---------------------------------
Michael wrote:

> Hi,
> 
> I get some linking errors when linking a precompiled library to my ITK 
> project. I believe that the cause is, that the predifined library was 
> compiled using "Debug Multithreaded" instead of "Debug Multithreaded 
> DLL" as the run time library option. I believe so, since I got another 
> project working when changing this option.
> 
> How can I compile ITK using the "Debug Multithreaded" instead of the 
> "Debug Multithreaded DLL" option (i.e. how can I tell cmake to change it)?
> 
> Thanks,
> 
> Michael
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 






More information about the Insight-users mailing list