Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] cmake error
- Date: Mon, 18 Mar 2019 09:15:36 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
- Ironport-phdr: 9a23:SPvcSxaJ4WynkqW0+ickb4f/LSx+4OfEezUN459isYplN5qZr8W/bnLW6fgltlLVR4KTs6sC17OO9fi5EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCehbb9oMBm6sBjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA57m/Zl8J+gqFcoB2jqRxwzIHab52OOfpiY63QZ88WSXZdUspPUSFKH4Oyb5EID+oEJetUoY/zqEETrRukGwasAv/vwSJUiH/32601zf4uERzb1wAkAd8AsWjZotPuOKkTT++1y6zIwivfb/NM2Tbz6JLHfQw9ofGLR7Jxcc/dxUcyHA7CilWfs5HlPymL2eQLr2iX9fBgVeOpi2E5sQ5xvyOiydsjiobTgoIZ0FfE9T92wIssI9CzVUB1YdmhEJRKtiGaMZN7Td8tQ25yvCY20LoGuYS0fCQS1ZgqyQTTavyAc4iV+h7jW/ieITB9hH17ZLK/nRaz8Ua6xeLgSsm010xKrypfntbQsXAN0hre4dWERPtl5kqtxCiD2gTJ5u1ZJU05kbDXJpogz7IqmZcfrVzPEyvqlEnsj6Kbd18o9va05+j5eLnqu4GQOoByhwrjKKohgNa/Dv49MgUWX2iU5+C81Lr78E3/XrpKgOc6nbffsJDBP8gbqLS5DxdU0oYl9Rm/Ey+r3MkGkXQDNl5JZRaKgozzN1zKIf30F/iyj0i0nDdu3f/GP7nhApvXLnjElbfsZbJ95FRByAop099f4Y5UBqsbIPLyXE/+qsbXDgIiPgOozOboEtF92pkZWWKVDa+VKLnSvkOQ5uIzP+mMY5cYtyryK/c/4/7ilGI2mV4Gfaa1wJsXc2u4E+99I0SZZHrsms0OHX0Lvgo4VuzqiUeNXSRdZ3aoDOoA4WQwB4uiSIvCXYuwm6ep3SGhH5QQaHoVJEqLFCKiU4yZQfoKdGqoI8lsmyFMFZOOYqtm+hypsQLm0atJJ+HI/TcJ9NirgNx8+vfekw107z1yAs2A+2qCRmUymXkHEWxllJtjqFBwnw/QmZNzhOZVQIQKtqF5FzwiPJuZ9NRUTtX7WwbPZNCMEQ70SdqvBXc2VN1jmIZSMXY4IM2ri1X45wTvG6UczuTZD5M99uTbxXejf58gmUaD77EoihwdeuUKNWCigfclpQ7eCcjElV7fmbz4Lak=
- Organization: GeometryFactory
On Monday, March 18, 2019 5:13:35 AM CET Megan Yociss wrote:
> Running make produces this error:
>
> wrong number of template arguments (1, should be at least 2)
>
> typedef CGAL::Labeled_mesh_domain_3<K> Mesh_domain;
>
>
> Thank you so much for any advice you can offer me; I am a new C++
> programmer so it is hopefully something simple that I have overlooked
> (although I have been working on fixing this error for some time now).
Hi,
Generally, you need to add precision to bug reports.
The title of your email says "cmake error" but you report a compilation
error,
emitted by your compiler.
You forgot to specify which version of CGAL you were using. And which
compiler
and which compiler version.
My guess is that you are using a version of CGAL that is CGAL-4.12 or
earlier.
The API and documentation of `CGAL::Labeled_mesh_domain_3` has changed in
CGAL-4.13. You should use the examples and documentation of the version of
CGAL you are using. There is a menu button to change the CGAL version, in the
documentation page. As for the example you have pointed, the version of
CGAL-4.12.1 is that one:
https://doc.cgal.org/4.12.1/Mesh_3/Mesh_3_2mesh_3D_image_8cpp-example.html
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] cmake error, Megan Yociss, 03/18/2019
- Re: [cgal-discuss] cmake error, Andreas Fabri, 03/18/2019
- Re: [cgal-discuss] cmake error, Laurent Rineau (CGAL/GeometryFactory), 03/18/2019
- Re: [cgal-discuss] cmake error, myociss, 03/19/2019
Archive powered by MHonArc 2.6.18.