On Sun, Aug 22, 2010 at 07:48:36PM +0100, Garth N. Wells wrote: > 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.
Yes, that looks like it should fix the problem. Build in progress. -- Anders _______________________________________________ Mailing list: https://launchpad.net/~dorsal Post to : [email protected] Unsubscribe : https://launchpad.net/~dorsal More help : https://help.launchpad.net/ListHelp

