Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compiling Poisson_surface_reconstruction_3 example - undefined reference to boost::system::generic_category()

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compiling Poisson_surface_reconstruction_3 example - undefined reference to boost::system::generic_category()


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Compiling Poisson_surface_reconstruction_3 example - undefined reference to boost::system::generic_category()
  • Date: Mon, 12 Jun 2017 11:37:30 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:gjTOfx+DqOCi2P9uRHKM819IXTAuvvDOBiVQ1KB31uscTK2v8tzYMVDF4r011RmSDNqds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//5/ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRgL2hicJNzA592LZhMJ+g61Uoh2uuxNxzpXIYIyXLvdyYr/RcN0aSGdHQ81fVzZBAoS5b4YXAeYPIPhXoJLnqFsVsRu+BBejBOXywTFOgX/2x6w60+M9EQrb2AAuHswBsHPRrNrrKKcSS+C0wqnSwjrfc/NW3i396YjNfhwvvPqBWqlwcc7WyUk1FgPFiUmQpZbgPzORzekNvG2b4PBhVeKrkWIotwZxoj22y8oql4LHiIUVylXe+iV4xoY4PcG3SEFhbt6gCpdQsDuaN4RwT8g/QG9ooD43xqMatZO/ZiQHy5QqywTCZ/CZcIWE+A/vWeSNLTtghn9oe6iziwi9/EWh0OHwS8253VhQoidHktTBsG0G2QbJ5cidUPR9+1+s2TaR2ADX7eFJOUU0mrDaK54l27IxmIATvVjaEi/4hUn7jrOael8r+uiv7OTnbbHmqYGGO4BojQH+N7wims25AesmLggDR3aX9fi42bH5/kD0QK9GguAonqTaqpzWOMYWqrKhDw9QyIkj6hK/Dzm80NQfmHkKNElFeBaAj4jzOlHOJ+z4Ae26g1SoizpryPXGMafgApXJNHTMjLDhfbNl505G1AUz1cxf545TCrwZPP3zVVX+tNjBAhAkMgy02ProCMhm1oMFQm+PGa+YMKbKsVCS/O4vIu+MZJUUuDnnMfQl6eTu3jcFngoWcqCtmJcWc3ulBe9OIkODYHOqjM1SP30Nu190d+HggUaeUDNVL1K1RaM7+nl7J4+hCIrfXJGDibed2z2qX9ceMntCDUqNFmuucoGsVPIFaSbUKchkxG9XHYO9QpMsgEn9/DTxzKBqe7LZ
  • Organization: GeometryFactory

On 06/12/2017 11:30 AM, Oliver Arend wrote:
Try "ldd libCGAL.so" and look if libboost_thread.so and libboost_system.so
are present. If not then c++11 have been used to compile the library (you
should see in the CMakeCache.txt, most probably in CMAKE_CXX_FLAGS).
To fix the issue add to CMAKE_CXX_FLAGS in the CMakeCache.txt of the
example -std=c++11

Thanks, that fixed it!

I noticed the "1 Introduction" section at
http://doc.cgal.org/latest/Manual/installation.html#title0 is slightly
misleading, because even though CGAL works great out of the box on a Linux
system, a simple "make" won't suffice, "make install" is still required --
at least it was in my case.
It is in fact mentioned in section "12 Installing CGAL".

Oliver



I confirm that you don't need to install CGAL.
Setting CGAL_DIR at the cmake level is sufficient.

Sebastien.



Archive powered by MHonArc 2.6.18.

Top of Page