On Fri, May 21, 2010 at 8:01 AM, Daanen Vincent <[email protected]> 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" project and I
> got linker error (conflict between msvcrtd.lib and libcmtd.lib)
>
> - I check that the librairies are declared in the same order in both project
> and it's ok
> - Try to ignore either msvcrtd.lib or libcmtd.lib but I does not work :
> other linker errors appear.
>
> I could not find what is specifically added by cmake so that the
> "cmake-generated" project fails to build the binray whereas the
> "manually-generated" project file succeeds...
>
> Is there someone who could help me ?
>

Can you post the exact error. Are all libraries in your project
(including itk) compiled by the same compiler version?

John
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to