Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] linking error
- Date: Tue, 10 Jul 2018 14:36:50 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:317G7RPCJBnHfxYDInsl6mtUPXoX/o7sNwtQ0KIMzox0I/z+rarrMEGX3/hxlliBBdydt6oazbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlJiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkHKTA37W/ZhM93jK1ZrhKuqBNxzJLPbYGJLfpzZL/Rcc8GSWdDWMtaSixPApm7b4sKF+cNM+BWoJPgp1sUsxS+AxWsD/7zxD9JgH/5w7c10/k8Gg3CwgEuHs4DvnLPoNv0KqgSVuW1w7fUzTXZb/JY2S3y55TUchAmu/GNXbd8fcTMwkQoEwPKlEiQqZb7MDOTyuQBqXKb7+tmVe2xkWEnthp8rSSgxsg2jonFnIUVykrL9Shgxos+ONO2SEl+YdG+EZtQsTmXOJd5Qsw4R2FkoiE6yqcJuZKjcygF1pMnxxvBZPybaYiJ4hzjW/yNLjdkg3JlYrK+iwyu/kinz+3xUNS/3lVSriddkdTBtGoB2hjQ58SdV/dw/Vqt1SyR2w3c6exIOUQ5mbbBJ5Miw7M8jIQfvVjfEiPshkn6kKybe0M58eay8evneK/pppqEOo90lA7+NqMul9S/DOgiNwgOWHaX9f651LL5/E35RKxGjvorkqnFqpzaItobpq6jDw9TzIkj9w6zDzag0NsGgXkKNFFIdRCdg4XtOFzCOu30APSij1i2jjtmyPPLMqXkAprXL3jDlLnhfax6605Z0AczycpQ549OCr4fJvLzRlX9tMbZDh8/LQO72fvnBc5h2YMRQ22PBrWVMKTIsV+H/u4vOfWDZJcJuDbhLPgo/+LhjXAjll8ZZKWmwJoXaGukEfR7OEWZemHhgswBEGcPpgoxVvbmiFyEUT5JZna9Rbgw5j8hCNHuMYCWTY+khPmN3TywA4ZNTmFAEFGFV3nyJKueXPJZIgabP9VslCBMb7mnRoY8nVGFmybejJVqKe/Z5jcJm5voyN9v9qyZ3UU2/CFuAsKBlXuMSWx9g0sDSDYymqdlrhoumR+4zaFkjqkARpRo7PRTX1JibM+O/6lBE9n3Hzn5UJKMQVeiTM+hBGhpHNk+yttIZFxySYz70kLzmhGyCrpQrISlQYQu+/uEjXP+LsI7zGzJhvF40gsWB/BXPGjjvZZRsgjeA4mTzxfE0aOtL+IZ1S/JsWCe0SyJokEeVgNsA/3I
- Organization: GeometryFactory
Le Tuesday, July 10, 2018 12:30:27 PM CEST j. scheurich a écrit :
> > I use the headerfile only version of cgal 4.12 with visual c++ 2017
> > community.
> >
> > i got the following linking errror:
> > >LINK : fatal error LNK1104: Datei "libCGAL-vc140-mt-gd-4.12.lib" kann
> >
> > nicht geöffnet werden.
> >
> > ...can't be opened
>
> Now understand: "header only" version of CGAL do not mean, there are
> only headerfiles (like in vcglib).
> "header only" version means: the linking command is in a special pragma
> in the hederfiles (like in boost).
> "libCGAL-vc140-mt-gd-4.12.lib" is really needed.
No. You missundertood. The autolink should be disabled. You probably do not
use CGAL CMake scripts to generate the build system of your own project.
Make sure the macro CGAL_HEADER_ONLY is defined to 1, in the properties of
your project. That will enable the header-only behavior of CGAL headers, and
in particular it will deactivate the auto-link for CGAL libraries.
Dependencies of CGAL will still be needed: at least MPFR, and GMP, and maybe
others.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] linking error, j. scheurich, 07/09/2018
- Re: [cgal-discuss] linking error, Sebastien Loriot (GeometryFactory), 07/09/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/09/2018
- Re: [cgal-discuss] linking error, Sebastien Loriot (GeometryFactory), 07/09/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/10/2018
- Re: [cgal-discuss] linking error, Sebastien Loriot (GeometryFactory), 07/10/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/10/2018
- Re: [cgal-discuss] linking error, Sebastien Loriot (GeometryFactory), 07/09/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/09/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/10/2018
- Re: [cgal-discuss] linking error, Laurent Rineau (CGAL/GeometryFactory), 07/10/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/10/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/11/2018
- Re: [cgal-discuss] linking error, Laurent Rineau (CGAL/GeometryFactory), 07/11/2018
- Re: [cgal-discuss] linking error, Laurent Rineau (CGAL/GeometryFactory), 07/11/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/11/2018
- Re: [cgal-discuss] linking error, j. scheurich, 07/10/2018
- Re: [cgal-discuss] linking error, Laurent Rineau (CGAL/GeometryFactory), 07/10/2018
- Re: [cgal-discuss] linking error, Sebastien Loriot (GeometryFactory), 07/09/2018
Archive powered by MHonArc 2.6.18.