dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19263
Linking on Mac
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?
--
Anders
Follow ups