[Insight-developers] Problem on windows with extra library

Hans Johnson hans-johnson at uiowa.edu
Wed Jul 20 12:20:58 EDT 2005


Bill,

Thank you for fixing this, you beat me by 15 minutes.  Why do you use "-lm"
instead of "m"?  I thought that cmake was responsible for determining the
linking flags and library extensions.

Hans



On 7/20/05 8:52 AM, "Lorensen, William E (Research)" <lorensen at crd.ge.com>
wrote:

> I found it. There was an extra "m" in the nifti TARGET_LINK_LIBRARIES.
> 
> -----Original Message-----
> From: insight-developers-bounces+lorensen=crd.ge.com at itk.org
> [mailto:insight-developers-bounces+lorensen=crd.ge.com at itk.org]On Behalf
> Of Bill Lorensen
> Sent: Wednesday, July 20, 2005 9:24 AM
> To: insight-developers at www.itk.org
> Subject: [Insight-developers] Problem on windows with extra library
> 
> 
> Folks,
> 
> Windows platforms are reporting that the library m.lib is missing.  I
> search the CMakeLists.txt file to look for TARGET_LINK_LIBRARIES that are
> not guarding -lm with UNIX, but can't find one.
> 
> This just started happening today.
> 
> Bill
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
> 




More information about the Insight-developers mailing list