Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] cygCGAL-8.dll error on Cygwin

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] cygCGAL-8.dll error on Cygwin


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] cygCGAL-8.dll error on Cygwin
  • Date: Wed, 25 Jan 2012 16:11:45 +0100
  • Organization: GeometryFactory

Le mercredi 25 janvier 2012 06:58:24 slaughter a écrit :
> I am trying to run the examples in the examples/Mesh_2 directory using a
> build of the CGAL libraries on cygwin. I was able build the libraries and
> compile the examples in this directory. But, when I try to execute the *.exe
> files I recieve the following error.
>
> $ ./conforming.exe
> /packages/CGAL-3.9/examples/Mesh_2/conforming.exe: error while loading
> shared libraries: cygCGAL-8.dll: cannot open shared object file: No such
> file or directory
>
> The file, cygCGAL-8.dll, exists in the /usr/local/lib directory in my Cygwin
> root directory.
>
> What is causing this error?

/usr/local/lib must in the PATH environment variable.

Use:

PATH=$PATH:/usr/local/lib
export PATH

It is the first I see somebody using Cygwin and its compiler to build CGAL
shared libraries. In my opinion there is a bug in the CGAL installation
process: the .dll files should have been installed into /usr/local/bin, and
not in /usr/local/lib/.

--
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.16.

Top of Page