Subject: CGAL users discussion list
List archive
- From: "Mukherjee, Soham" <>
- To: "" <>
- Subject: Re: [cgal-discuss] Compiler errors with sweep line example
- Date: Mon, 11 Nov 2019 18:11:19 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=buckeyemail.osu.edu; dmarc=pass action=none header.from=buckeyemail.osu.edu; dkim=pass header.d=buckeyemail.osu.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xS4gFZI6G1e3bYLsUe+iJcgpW67dSCQweHW9j+rHOLg=; b=IDtosVBvmGYKMUyOnwO1P3kk7y3l2jHgZleFnMMBTvN3+VvhWcD/T4jdgo/3GsjDA0rq8SKS1lHbWRSW/0aIULgUJjdeSiPlwW3C5uppVpnf8DXrDHtgcwT2Dujkn0y4awJiSn9v0C8hONjjiQJPPK5iCowQDg4/ASzI0lxU2GP2Q5t8zVA9UAyhDRKAi81hSpCBXPmf+rFoyEj8kJNluig01FdKW73OSMSzU6/tbmDt/kohcVir5JjQnRe8v1SA2/nK0l1+TotnNulIzktyDcgepmsh0nB7sdcm+9r1vObU+vG6JIneLxEsN+zNWyuYnNLNuSw5H+IPLP8PhFz+mA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DzZQVfN12kZipAtuzrjvC3vsNs1nQeQtrCpSXpqZlS799yBxgxH5yr9U1Tx6Wp6ZLBMMS988qbZvqlNo3nbxWE1859j/NVAc2oyp5n4kFms+A2iCMtNS3xQKAwFybHlXVhj0ddEVxWJC9bwcwHBNBEZd7ManQu92++PVQNUNL2eGE403THZU/4ilX94N6bTtKuZeRvLQw4UKMTsEF3HCCrJpjSvbX6IbaX4QfF+KIemjKumFsH3G+UOYZrADhdzastdZYoM8SOpodoGUEb3ToWdB7PUelI3KMND+WCps3J4WfiHtwDziLHUOvfwxvl0D2xaF7N9BcPGjC2ZV9hhx2w==
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:KZJELBxBW6KZu7bXCy+O+j09IxM/srCxBDY+r6Qd0uoQLPad9pjvdHbS+e9qxAeQG9mCsLQd0bWd6vm4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCezbL9oMRm6swfcusYLjYd/Nqo61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9Zwgbpbrhy/uhJ/34DaboKbNPV8f6PSYdwVSHFbUcpNSyBMGJ+wY5cRA+cHIO1Wr5P9p1wLrRamCwWiA/7vyjxIhnDox6060fouHh/e0Ac9AtwOt3TUo8/wNKscTOu4y6zIzSjAb/NWxzj98orIfQ4/rv2WQL58b8vcxFI0GAPYklqQqpLqPjOL2eQIqWeb7u5gWfioi248tgF9uCagydoxioTQgI8e117K9SJ8wIkvJN24TlZ2Ydi+H5RLrC6aM5V5Ttk+TGFvvSY20rwGuZihfCgL0psr3RDfa+aff4eU7RLsTuKRLS1/hHJ/d7Kznwy98Uu6xeHmU8m0y1BHpTdGnNnUrn0ByhPe58udRvdg/0qs1yyD2x3T5+xEO0w5kajWJ4Y8zrMymZcfq1nPEjP4lUnskaOaakEp9vKp5unlernmqIGTOoxohgz7N6kjmNGwDOokPQULQWeW+uax2b3m8ED6TrhHgeM5n6zFv5/GK8kWoqi0CBJP3Ik58RawFTKm3cwYnXYZKFJFfwqKj43mOl3SO//0FOuzj0iynDh3yfDJI6HtDojXInjbiLfhfbF961VAyAUt0N9T/Y5bCrYEIP7rW0/xssLXDgMhPgCpzOvqC89x2p4fVG+BGKOVLaPfvF+S6u8rIeSAfIoVtyz8K/gh6f7ul3g5mVoFcKmswJsXa3C4Eep8I0Wbf3XjnM0NHXoUsgc/V+Hlk0CCXiJQZ3msX6Mz+DQ7B5inDYfHXIyth6eB3DqhEpJIe29GF0iAEW30eIWcR/cMdCWSL9d9nTwLT7ehT5Yt2gyvtA/h17VnM/HU+jYDuJL41Nl14vXTmgso+Tx1CcSdyWCNQHtukmMGXT9llJ15ulF3n1efzbBj0bsfDs1W//oPUwEgNJeawfY9EMH3QguGf9GHTxGtTdyiRD0wVdks2MRdX0EoUd6thxSG0yuxCKIOjJSKAoY1++TSxTK5c81ywnKD2Kg6hEQ9WeNOM3enj+hx7V6AKZTOlhDTsrupdakG3iPAsC+4ymqHuQsQBAttUqXIR3ISaw2P94rR7F7JTLK/BLEuMw8HztWfbKZGd4u63h19WP7/NYGGMCqKkGCqCEPQn+LeXM/RY2wYmR7lJg0BmgEX82yBMFJnVC28qGHTHTFrHFPrJUT37K9zpG7pFxZpnTHPVFVo0v+OwjBQhfGYTKlDjLcU4C1k820uF1ixh4uQE8KAoBF9cakaatQ4sg8eiTDp8jdlN5nlFJhMw0YEel4u7Unz3BZ6G4hFmMku6nQx0Ux/Jb/KiF4=
Use g++ -o exexutable_name LineIntersections.cpp -lcgal -lgmp -lmpfr
In short use gmp and mpfr libraries to link with.
From: <> on behalf of malcolm <>
Sent: Monday, November 11, 2019 12:20:31 PM
To: <>
Subject: [cgal-discuss] Compiler errors with sweep line example
Sent: Monday, November 11, 2019 12:20:31 PM
To: <>
Subject: [cgal-discuss] Compiler errors with sweep line example
Hi,
I want to use the sweep line algorithm to compute intersections between a
set of line segments.
I used the code posted in the examples here
<https://doc.cgal.org/4.13.2/Surface_sweep_2/Surface_sweep_2_2plane_sweep_8cpp-example.html>
.
I get these compile errors:
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_get_emin referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_set_emin referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_set_q referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_get_d referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_subnormalize referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
What do I need to change? I have been able to use the other CGAL examples
without such errors.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
I want to use the sweep line algorithm to compute intersections between a
set of line segments.
I used the code posted in the examples here
<https://doc.cgal.org/4.13.2/Surface_sweep_2/Surface_sweep_2_2plane_sweep_8cpp-example.html>
.
I get these compile errors:
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_get_emin referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_set_emin referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_set_q referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_get_d referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
1>LineIntersections.obj : error LNK2019: unresolved external symbol
__imp_mpfr_subnormalize referenced in function "public: struct
std::pair<double,double> __cdecl CGAL::Real_embeddable_traits<class
CGAL::Gmpq>::To_interval::operator()(class CGAL::Gmpq const &)const "
(??RTo_interval@?$Real_embeddable_traits@VGmpq@CGAL@@@CGAL@@QEBA?AU?$pair@NN@std@@AEBVGmpq@2@@Z)
What do I need to change? I have been able to use the other CGAL examples
without such errors.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] Compiler errors with sweep line example, malcolm, 11/11/2019
- Re: [cgal-discuss] Compiler errors with sweep line example, Mukherjee, Soham, 11/11/2019
- Re: [cgal-discuss] Compiler errors with sweep line example, malcolm, 11/12/2019
- Re: [cgal-discuss] Compiler errors with sweep line example, Mukherjee, Soham, 11/11/2019
Archive powered by MHonArc 2.6.18.