[Insight-users] [Insight-developers] Insight applications build

Luis Ibanez luis.ibanez at kitware.com
Sat Apr 18 13:27:44 EDT 2009


Hi Cartik,

Thanks for letting us know that
you found the solution to the problem.


     Regards,


         Luis


------------------------
Cartik Sharma wrote:
> Thanks, Luis.
>  
> I think the problem was that the Path had some ITK libraries from 
> Slicer3 and
> some from native ITK builds.
>  
> Also in Project Settings, Code generation had to set Basic runtime 
> checks to DEFAULT.
>  
> Builds fine now!
> 
> Best regards,
> Cartik S. Sharma
> 
>  --- On *Fri, 4/17/09, Luis Ibanez /<luis.ibanez at kitware.com>/* wrote:
> 
> 
>     From: Luis Ibanez <luis.ibanez at kitware.com>
>     Subject: Re: [Insight-developers] Insight applications build
>     To: "Cartik Sharma" <cartik_sharma at yahoo.com>
>     Cc: insight-developers at itk.org
>     Date: Friday, April 17, 2009, 2:34 PM
> 
> 
>     Hi Cartik,
> 
>     This usually means that you are mixing compilation modes.
> 
>     For example, that you build ITK for Release, but you
>     built VTK for Debug.
> 
>     Please make sure that your build *ALL* your software with
>     the same compilation mode. This includes all the libraries
>     and your application itself.
> 
> 
>         Regards,
> 
> 
>             Luis
> 
> 
> 
>     ---------------
> 
>     BTW: This is the developers mailing list.
>          You may want to post these questions
>          to the ITK users mailing list instead.
> 
> 
>           Thanks
> 
> 
>     ------------------------------------------------------------------
>     Cartik Sharma wrote:
>      > Hi,
>      >  I'm trying to perform a build for Insight-Applications within
>     ITK and I'm getting certain build errors. One linker error refers to
>     the MSVCPRTD.lib within from the MSVCP80d.dll.
>      >  Both, itk and vtk builds were done as a multithreaded dll with
>     MS Visual Studio 2005
>      > and seemed to have worked without any errors.
>      >  Please advise of modified project settings to fix this build.
>      >
>      > Best regards,
>      > Cartik 
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > 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 ITK FAQ at:
>     http://www.itk.org/Wiki/ITK_FAQ
>      >
>      > Follow this link to subscribe/unsubscribe:
>      > http://www.itk.org/mailman/listinfo/insight-developers
> 
> 


More information about the Insight-users mailing list