Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra


Chronological Thread 
  • From: Pierre-Olivier Dallaire <>
  • To:
  • Subject: [cgal-discuss] Compiling CGAL 4.9 on MacOs Sierra
  • Date: Sun, 9 Oct 2016 13:55:25 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:5Tq5LhInrhkedU4fENmcpTZWNBhigK39O0sv0rFitYgULP/xwZ3uMQTl6Ol3ixeRBMOAuqgC0LWd6vm8EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuS9SU1Jv8jrnus7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0roGxsvKcq+MdEFKn7ZK8lVqdwDTI8Mmlz6te4mwPESF6353YGSGhTtR5JHQnI9lnWV5P1uyrgu6IpwCiXJ9f7CLcwWCqj4r0tRBbsjC4GLTMR7mDbh8tslqVd5hmo8U8si7XIaZ2YYaItNpjWeskXEDJM

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.

Regards,

Pierre-Olivier




Archive powered by MHonArc 2.6.18.

Top of Page