Subject: CGAL users discussion list
List archive
- From: bebe0705 <>
- To:
- Subject: Re: [cgal-discuss] Undefined symbol while linking against Cgal
- Date: Fri, 4 Aug 2017 06:41:34 -0700 (PDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:KFRMLxZMf3FA1ndNwaX9hHv/LSx+4OfEezUN459isYplN5qZoMmybnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA38G/ZlM9+g6BVoBy8qBNw34HabZqJNPd8ZK7RYc8WSXZfUstXSidPApm8b4wKD+cZJulXsZLyqEUSoRa8GQWhBP7kxzhTiXDoxqI1zfgtHAPa0AEgBN8BrHPUrNHyNKcIS++60a7IwS/dYPxLxDfw8Y7FeQ0vr/GLWLJ/a8vRyU83GgPDlFqfspfqPzeL2egXr2eb6O9gWOSygGAkswF8uiWjy8YyhoXTmI4Yyl7J+T9kzIs7K9C0UkF2bNC8HJdNtiyWKZF6Tt0iTmxmoio217MLtJChcCUKypkqwQPUZeadfIiS+B3jUf6cITdmi3Jhf7KynxOy8Eanyu3mVcm4ylBKoTBendbXsnACyQbf5dSASvt45kuh2DCP2B7P6uxcPEw5lLTXJ4Q/zrMwmJcfq1nPEyH4lUnsg6KbeF0o+u2y5OTmZrXmqIWcN4hxigzmKashhNewDvokPgUMQ2SW+f+x26Hk/U39R7VKlOc5nbTesJzAO8sUu7O5DxdP0ok/8xa/Eyum0NMAkHYbI1JKYhaHg5H0NFHPO/D3Eeq/g0+3kDpw3PDHPrjhAo3XIXTZkbfhe6x9609GxwYpw9Bf/cEcNrZUK/36Xgr9tcfTEwQiGw2y2efuTttnha0EXmfaCKKTPfuN6QLAsugiKeTUO9dIkD36L/8/7vLpy3I1hAlOLuGSwZILZSXgTbxdKEKDbC+0jw==
After investigating further, it appears that it's a compiler issue.
The example were compiled with the default Clang compiler.
My application though has to compile with GCC 7 built from source, since
OpenMP which I need is not supported by Clang.
As you will notice hereunder, GCC was retrieved through homebrew via
*brew install gcc --without-multilib
*
I switch compilers by adding the following two lines before project() in my
CMakeLists.txt:
*
set(CMAKE_C_COMPILER /usr/local/Cellar/gcc/7.1.0/bin/gcc-7 CACHE STRING "C
Compiler" FORCE)
set(CMAKE_CXX_COMPILER /usr/local/Cellar/gcc/7.1.0/bin/g++-7 CACHE STRING
"C++ Compiler" FORCE)
*
If I do so in the Poisson_surface_reconstruction_example, then I am getting
the same undefined symbol errors. However removing them and letting the
system use Clang allows the build to proceed.
Any thoughts?
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Undefined-symbol-while-linking-against-Cgal-tp4662876p4662877.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, bebe0705, 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, Sebastien Loriot (GeometryFactory), 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, bebe0705, 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, Sebastien Loriot (GeometryFactory), 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, bebe0705, 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, bebe0705, 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, bebe0705, 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, Sebastien Loriot (GeometryFactory), 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, bebe0705, 08/04/2017
- Re: [cgal-discuss] Undefined symbol while linking against Cgal, Sebastien Loriot (GeometryFactory), 08/04/2017
Archive powered by MHonArc 2.6.18.