Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra
- Date: Sun, 9 Oct 2016 20:58:37 +0200 (CEST)
On Sun, 9 Oct 2016, Pierre-Olivier Dallaire wrote:
Hi there,
Does anybody have success comping CGAL on the latest macOS Sierra system?
I’ve tried many things but always end up with linking problems on GMP:
Scanning dependencies of target CGAL_Core
[ 50%] Building CXX object
src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all_files.cpp.o
[ 66%] Linking CXX shared library ../../lib/libCGAL_Core.dylib
ld: illegal text-relocation to '___gmp_binvert_limb_table' in
/opt/gmp-6.1.1/lib/libgmp.a(mp_minv_tab.o) from '___gmpn_divexact_1' in
/opt/gmp-6.1.1/lib/libgmp.a(dive_1.o) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [lib/libCGAL_Core.12.0.0.dylib] Error 1
make[1]: *** [src/CGAL_Core/CMakeFiles/CGAL_Core.dir/all] Error 2
make: *** [all] Error 2
Any idea? I have the same issues with versions 4-7 and 4.8.
It looks like you have only the static version of GMP, but you are trying to build the shared version of CGAL.
--
Marc Glisse
- [cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra, Pierre-Olivier Dallaire, 10/09/2016
- Re: [cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra, Marc Glisse, 10/09/2016
- Message not available
- Re: [cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra, Pierre-Olivier Dallaire, 10/09/2016
Archive powered by MHonArc 2.6.18.