Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's
- Date: Mon, 8 Oct 2018 09:23:57 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:UcD13BWVNztI9fxst/WkEU8XvjnV8LGtZVwlr6E/grcLSJyIuqrYbBOAt8tkgFKBZ4jH8fUM07OQ7/i/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9wIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/KlMJwgqJVrhGvqRNxzIHbYp2aOeFkca/BZ94XX3ZNU8hTWiFHH4iyb5EPD+0EPetAs4T9oUYBrQGgCga2H+Pk1z9GiWXt0q0g0uQqDAbL0xYmH90TqnTbss/6NLwIXeC71qbH1i/Db/JN1Dfy9ofIdRUhru+QXbJqccvRx1MgGB/ZjlWXs4zkPymZ2fgKs2ie9udtU/+khWAgqwF0uDevx8Esh5HPho0P0V/L7iF5z5gvKdKkT057ZMaoEIBMty6AK4R2QcQiQ392tyYgxL0GvZm7fSYQxJs7wB7fbvqKeJWL7BL7TOudPDV1iXF/dL+xmRq+61WsxvD4W8WuzVpHoClInsHSunwXyhDe6tKLRuZy80qhwzqDyQ7e5+5CLEspj6TUMYQhzaQ1lpcLsUTMACv2mELugaKXbEkk/++o5uT9brXjvJCcNot0hhj5MqQzhsyzG+M4MhYOX2SB/+SzyqHj8VX4QLVMkPI2jrHUvI3YKMkYvKK0DRFZ3pw+5xqiCzqqyskUkHcEIV5dfRKIlYnpO1XAIPDiCve/hkyhny1tx//bJL3uHI/CLmPZnLfvZ7ly8FRcyAsowNBQ+Z1UDbQBL+zvWk/rtN3YAAU2PBCow+bgEtV81pkSVn6IAq+cKK/Sq0OH5vozI+mQY48YoCryK/c/6P7qlHM2hF4dfbK10psKc3C4Be9rI16ZYHrpmtcOC30Gvgs4TOzwiV2NSyRfZ3ioX/F02jZuA42vCcLPR5umnaea9Ca9BJxfIG5cWX6WFnK9XoOIQfoFc2q8K8V7k3RQXL6tUYIozlegvQXgypJoI+3R9zECpJzq38Ry/fyVnhY3o28nR/+B2n2AGjkn1lgDQCU7ifgm8B5Nj2yb2K09uMR2UNla5vdHSAA/b8eOwOF9Dt3uQBPPd9yVT0y3BN6hBGNpF45j85o1e094Xu6aoFXbxSPwWu0amruOCYAu46zV1GT2Pdc7wHHDhvF40gsWB/BXPGjjvZZRsgjeA4mTzxfH0aOtKOIZ1S/JsWCe0SyJokEeVgNsA/3I
Hello, As GMP/Mpfr are a C libraries the CGAL project built them with gcc on Windows. Note that GMP/Mpfr is under the LGPL, so static linkage is not an
option Note also that CGAL is under the GPL, so if you distribute binary
you must also Andreas On 10/8/2018 4:26 AM, Benjamin_Slack
wrote:
Greetings, I'm attempting to use CGAL to implement Schlomer's MaxMinDistance point sets as part of a Maya Deformer plugin I'm working on. The algorithm uses nD Delaunay Triangulation. I'm able to compile and execute the example code for this package without issue. However, when attempting to incorporate the Triangulation into my plugin classes, I ran into a problem. It appears that Maya has its own copy of libgmp-10.dll and that copy isn't compatible with the one supplied with CGAL. If I point the debugger at the DLLs from Maya, the Triangulation dies with a memory access error after the fourth point insertion. If I obfuscate Maya's DLL and use the CGAL supplied one, I get ordinal errors as dependencies in the plugin DLLs load and fail. I'm able to test my code successfully if I separate it from the Maya project and compile it independently, just with CGAL. Ideally, I would simply statically link GMP and CGAL into the plugin to avoid the conflict. However, GMP is only supplied by the CGAL dev team on Windows (the platform I'm working on) as a DLL. In addition, the GMP project doesn't support an easy (CMAKE) based build of the library. The questions I have for the group are two-fold: first, has anyone else in group done any work with Maya and CGAL that could give me some pointers; and last, does anyone in the group know a way to get static libraries for GMP (and likely MPRI as that it's the other DLL dependency)? Thanks in advance for your attention and time. StackOverflow of issue: https://stackoverflow.com/questions/52684803/memory-access-error-inserting-point-into-nd-delaunay-triangulation -- Sent from: http://cgal-discuss.949826.n4.nabble.com/ -- Andreas Fabri, PhD Chief Officer, GeometryFactory Editor, The CGAL Project phone: +33.492.954.912 skype: andreas.fabri |
- [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Benjamin_Slack, 10/08/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Andreas Fabri, 10/08/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Benjamin_Slack, 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Andreas Fabri, 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Benjamin_Slack, 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Sebastien Loriot (GeometryFactory), 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Benjamin_Slack, 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Andreas Fabri, 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Benjamin_Slack, 10/09/2018
- Re: [cgal-discuss] CGAL, Maya, & Conflicting libgmp-10.dll's, Andreas Fabri, 10/08/2018
Archive powered by MHonArc 2.6.18.