[Insight-developers] Re: CMake and Leopard

Wes Turner wes.turner at kitware.com
Thu Jan 31 08:51:55 EST 2008


Ross,

I've noticed that on the Macs it is sometimes necessary to specify
"-Wl,-search_paths_first" on the link line in order to get the files
specified on the command line to be loaded in preference to a system
library.  I'm not sure if this will solve your problem, but it might help.

- Wes

On 1/30/08, Ross T Whitaker <whitaker at cs.utah.edu> wrote:
>
>
> Hi Folks,
>
> It appears the problem was that the linker was picking up a library
> that had the same name as one of the built libraries to which I was
> trying to link.  Not clear why, since the built library is specified
> on the command line from CMake with a -L option.  Also, no luck yet
> on finding that other library, which must be called "util".
>
> So, I guess this is *not* a CMake problem.  I will check with the
> other folks I know who have had problems porting to Leopard and see
> if they are suffering from the same cause.
>
> Thanks for all your help.
>
> Regards,
>
> Ross
>
> On Jan 29, 2008, at 1:55 PM, Ross Whitaker wrote:
>
> >
> > Hi,
> >
> > I am sure this has come up, but lots of people keep asking me and
> > no one has yet to offer a solution.
> >
> > Is there a version of CMake that works with Leopard (OSX 10.5)?
> > Version 2.4 patch 8 has some basic problems it seems.
> >
> > Regards,
> >
> > Ross
> >
>
>
> -----
> Ross Whitaker, Associate Professor
> 3893 Warnock Engineering Building
> SCI Institute, University of Utah
> Salt Lake City, UT 84112-9205
> Phone: 801-587-9549
> Fax: 801-585-6513
>
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>



-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20080131/06d7dd30/attachment.html


More information about the Insight-developers mailing list