Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Cannot make CGAL examples in Cygwin

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Cannot make CGAL examples in Cygwin


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Cannot make CGAL examples in Cygwin
  • Date: Thu, 22 Dec 2016 11:38:33 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:Uc4MxR8qphNWyf9uRHKM819IXTAuvvDOBiVQ1KB21+ocTK2v8tzYMVDF4r011RmSDN6du64P0reempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwtFiCC+bL59Ixm6sAXcvdQKjIV/Lao81gHHqWZSdeRMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZTQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhzodNzMh8G/ZlNF+gqxYrhKmqRNwwYDUb46aOvViZa7dYcoaSHBdUspNViFNH4WxZJYPAeobOuZYqpHwq1UIoxSkGAmsHv3gyjlUhnTrwaM60uIhHh/c0ww9AtkCtGrZotTpOakUSuy7zbfHzTLGb/xIxTf98ojJfBA7rv6QQbJwdtDRyEkqGw/Lk16drojlMCmI1uQXrWeb6fZgWfi1i24mrQF+vCKgxto3h4bViYIa0FTE+T9+wIYvKt21UUh2asOqHptXsiGVLYp2QsU6TmFnuSY61r0GuYOgcyQQ1JsnwBvfZ+SbfIiH+B3jUPydITBihHJqYL6/iAi98U+lyuLiSsm0ylZLriRfndbQqnAN0AbT68idRvRh+Ueh3DCC3B3Q5OFcOU05mqvWJ4Q8zrIslpcfq0vOEjLslEnrg6Kbd10o9+ep5uj9f7nrpZGRO5V7hwz6KKgih8KyDOs+PwMTRWaU4/6826fm/UDhQLVFkPk2kq7BvZzHP8gbo6m5Dg5W34o57hawFTam0NABkXkAMVJFZAiLj4/3O1HOOvz4C+mwg0i0nDdqwfDJIKHhD43CI3XCirvtYKpx5k5GxAc80NxT/Y9YB74ALf7rX0/+rt3YDhs3MwyuxObnDc1w1ocEVmKSGK+WLqXSsUOS6uI1IumMYpEatyzgK/U++/HugmU2mVsHcamux5sXZ2i0Hu56LEWBfXrsntABHH8WsQoxVuPqjESOXiNSZ3apQ608+yo7CJm9AIfYRoGthaSB0z2hEp1XYGBGEFGMHm3ye4WKQfdfIB6Vd8RumzhBWbm6QJI6zjmvshX7wvxpNLn64Cod4NjH3cVv6uvP3Ssz8zF9Eozd+E6kayZbk2QNSiMszY52qlB60EbCm+Ash/VFD9FV+7VTUwE3PIP0xONzD5b1QA2XLYTBc0qvXtjzWWJ5ddk22dJbO0s=
  • Organization: GeometryFactory

Le Thursday, December 22, 2016 1:06:59 AM CET Anzel, Phil - NRCS, Fort
Collins, CO a écrit :
> Hello,
>
> I am unable to build some of the CGAL examples under Cygwin. All of the
> failing examples share similar error messages.
>
> Any guidance would be most appreciated.
>
> Following are the steps that I followed and a sample error from a "make".
>
> Cygwin (x64) installed under Windows 7 to d:\cygwin64.
>
> CGAL source downloaded from
> https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-4.9/CGAL-4.
> 9.zip and unzipped to D:\cygwin64\usr\CGAL-4.9
>
> All libraries supposedly needed for CGAL were installed via the Cygwin x64
> setup.
>
> Initial cmake:
> cd /usr/CGAL-4.9
> cmake -DCMAKE_LEGACY_CYGWIN_WIN32=1 -DWITH_CGAL_Qt5=OFF
> -DWITH_examples=ON .

The support of CGAL for Cygwin is... well... it is not supported! It is not
because we do not want to but, my lack of resources, we have never tried.

It seems the compilation errors you have are related to the CGAL DLLs. You
should try the new header-only feature: add the option

-DCGAL_HEADER_ONLY=ON

to your CMake command line. That should suppress the compilation errors about
dllimport/dllexport. ... But that might introduce new errors. Let us know.

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




Archive powered by MHonArc 2.6.18.

Top of Page