Re: [CMake] Linking error with VS2005

2010-05-21 Thread Philip Lowman
It also may be caused by linking code compiled with /MT against code compiled with /MD (or vice versa). On Fri, May 21, 2010 at 10:48 AM, Chuck Atkins wrote: > Does the problem happen in both Debug and Release builds? > > Visual C++ has a well known problem of mixing debug and release libraries >

Re: [CMake] Linking error with VS2005

2010-05-21 Thread Chuck Atkins
Does the problem happen in both Debug and Release builds? Visual C++ has a well known problem of mixing debug and release libraries together. My suspicion is that you have some dependant libraries that are only built in Debug or only built in Release. With Visual C++ it is important that all lib

Re: [CMake] Linking error with VS2005

2010-05-21 Thread John Drescher
led by the same > compiler version? > Yes, all my libs and application are built with VS2005 compiler > > V > > >> -Message d'origine- >> De : John Drescher [mailto:dresche...@gmail.com] >> Envoyé : vendredi 21 mai 2010 14:29 >> À : Daanen Vincent &g

Re: [CMake] Linking error with VS2005

2010-05-21 Thread John Drescher
On Fri, May 21, 2010 at 8:01 AM, Daanen Vincent wrote: > Dear Cmake users, > > I'm facing to a problem I can't resolve. > I'm developping on a windows XP SP3 box with Visual Studio 2005. > > I have a project using itk which compile fine. > For  some reason, I try to use cmake to generate the "same

[CMake] Linking error with VS2005

2010-05-21 Thread Daanen Vincent
Dear Cmake users, I'm facing to a problem I can't resolve. I'm developping on a windows XP SP3 box with Visual Studio 2005. I have a project using itk which compile fine. For some reason, I try to use cmake to generate the "same" project and I got linker error (conflict between msvcrtd.lib and