dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19264
Re: [Dorsal] Linking on Mac
On Sun, 2010-08-22 at 13:03 +0200, Anders Logg wrote:
> Dorsal/DOLFIN/CMake seems to work fine now on Ubuntu Lucid, but it
> still breaks on Mac (Snow Leopard) with some CGAL linking error.
>
> The problem seems to be the way the flags are given to the linker.
>
> On Lucid, the following type of flags are given:
>
> -L/usr/lib/libCGAL.so
>
> This seems to work fine (although it looks wrong to me, the -L flag
> should take a directory).
>
> On Mac, the corresponding flag becomes:
>
> -L/opt/local/lib/libCGAL.dylib
>
> But then the linker complains that the path following -L is not a
> directory. This explains why the CGAL stuff is missing when linking.
>
> Anyone knows why CMake spits out things like -L/usr/lib/libCGAL.so,
> why this works on Lucid and not Mac (probably different compilers) and
> how to fix it?
>
There was an error in dolfin/CMakeLists.txt. Try again now.
Garth
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dorsal
> Post to : dorsal@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dorsal
> More help : https://help.launchpad.net/ListHelp
Follow ups
References