Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] Problem With CMake for CGGAL 5.2

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] Problem With CMake for CGGAL 5.2


Chronological Thread 
  • From: "Jeb Gaither" <>
  • To: <>
  • Subject: RE: [cgal-discuss] Problem With CMake for CGGAL 5.2
  • Date: Mon, 25 Jan 2021 17:22:49 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:WA4oeRGgyX2ssSK85jEaFJ1GYnF86YWxBRYc798ds5kLTJ76p8+zbnLW6fgltlLVR4KTs6sC17OH9fq7EjVdv97B6ClELMUTEUddyI0/pE8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUoHdgN6q2O+s5pbdfxtHhCanYbN1MR66sRjdutMZjId/Lqs90AXFr3VHd+hLxW5lJE+YkxLg6sut5pJu/DlctvA7+8JcTan2erkzQKBFAjghL207/tDguwPZTQuI6HscU2EWnQRNDgPY8hz0XYr/vzXjuOZl1yaUIcP5TbYvWTS/9KhrUwPniD0GNzEi7m7ajNF7gb9BrxKgoxx/xJPUYJ2QOfFjcK7RYc8WSGxcVctXSidPAJ6zb5EXAuQBI+hYoYvyqUYAoxW9CgajGOThyiNTi3/zwaE63PwsHR/a0AA+Gd8FrXTarM/yNKcXSe25wq3GwivYYPhL2Dny8onIcgwhof6SR7J8f9faxE4tFwzblVqdspDoPymJ1ukQs2mW8+luWfizhG4grgF8uz6izdojhYfVnIwa0EzE9Tlnz4YvI921UE12bNGgHZVeqiyXKYt7T94hTmxquSs3yr0ItJ2lcSUIyJkqxRHSZvOIfYSW/x7tVOecLDN4iX94e7+yiAu+/Eamx+bhWMe011NKoTBEktnKrn0N2ALc6s+CSvRj4kehwzaO1w7J5e5YPUA0krDbKp47zrEskZoTtFzPETP5mErsiK+abEIk+vKn6+j/Y7XmoIWcN45uhQ3kPKQugMqyCvk7PAgWR2WW+Oux2Kfi8ED9WrlGkOA6n6rDvJzHOMgXu6i0CBJP3Ik58RawFTKm3cwYnXYZKFJFfwqKj4rzNFDBL/34CPe/g1O3nzt1yf3KJKfhDYvCLnjCi7fhYahy61RCxwUu1tBf5o5UBa8bLP3vXU/xscTUDh4/MwOq3+bqENRw24wEVW+OBqKVKr3evUKL6+41PuWAeZIZtC74K/c/5v7uiXE5mUUafamsxZYXam63Ee99LkqDe3rsnswOEGcQsQo/VuDllFqCUTtLa3aoQ608/i07CJ6hDYrbWo+tj6aO3COiEpJLZ2BGEUyDEWrzd4WfQPoMcyKTIsp5kjMeT7ShSokh1QuvtADg0bZnIPDUqWUls4n+3o11+/HLjkN1sidlCtyUlWCLVWB92G0SACQn2bh25k17xFDE2qdxh7lUFMdY+uhSATo8LoPW8+FqF4XyRh7ZZYXOD023R82vRzA3VNM4hdEUJF1sHs2ryRHF0S3tCLAck/mHBYc/77nHjET2cpJ2xH/CkaUglFI7WdBnNGu8h6c5+RKFVKDTlEDM3YSnf+wz1S/R9GqZhyLavkxSeCdqTY/UdFFZbUzT+4eqrnjeRqOjXOx0ejBKztSPf/MTO4/ZyG5eTfKmA+zwJme4mmO+HxGNn+jeZZD2cXQU3WPWD01Wy1lOr0bDDhA3A2Kam0ybDDFqEgm2MUHl4bV7qHSxFBRy1QyFblZ92qC49gUUmfHaQPQWjOpd5HUR7g5sFVP45Or4TsKarlM6LoxGffksyXYB3mXc5VRw

Thank you for your help Laurent.

Fixing my CGAL_DIR corrected the initial problem.

Now CMAKE 3.19.3 has found additional issues. The GMP_INCLUDE and
GMP_LIBRAIES are not found.

The documentation from CMAKE is attached.

Thank you so much for your help.

Jeb

-----Original Message-----
From: []
On Behalf Of Laurent Rineau (CGAL/GeometryFactory)
Sent: Monday, January 25, 2021 4:20 AM
To:
Subject: Re: [cgal-discuss] Problem With CMake for CGGAL 5.2

On Sunday, January 24, 2021 12:59:39 AM CET Jeb Gaither wrote:
> Hi
> I am not sure what is wrong. I am trying to update to CGAL 5.2 I have
> successfully downloaded 5.2, Boost 1_17_0, CMake 3.19.3.
> I have tried to Configure Demos, Examples, etc with similar results to
> the attached error log.

Dear Jeb, the CMake error is the following:

> CMake Error at CMakeLists.txt:21 (find_package):
> By not providing "FindCGAL.cmake" in CMAKE_MODULE_PATH this project
> has asked CMake to find a package configuration file provided by
> "CGAL", but CMake did not find one.
>
> Could not find a package configuration file provided by "CGAL" with
> any of the following names:
>
> CGALConfig.cmake
> cgal-config.cmake
>
> Add the installation prefix of "CGAL" to CMAKE_PREFIX_PATH or set
> "CGAL_DIR" to a directory containing one of the above files. If "CGAL"
> provides a separate development package or SDK, be sure it has been
> installed.

That says CMake was not able to find the install path of CGAL-5.2 by itself.

Let's suppose you have copied CGAL-5.2 into

C:/Users/Jeb Gaither/Documents/Art/CGAL-5.2/

then, in the CMake GUI, you must set the CMake `CGAL_DIR` cache variable to
the same path:

C:/Users/Jeb Gaither/Documents/Art/CGAL-5.2

You can also set `CGAL_DIR` as an environment variable.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Attachment: CMakeError2.docx
Description: MS-Word 2007 document




Archive powered by MHonArc 2.6.19+.

Top of Page