Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: slaughter <>
  • To:
  • Subject: [cgal-discuss] Re: cygCGAL-8.dll error on Cygwin
  • Date: Wed, 25 Jan 2012 07:44:02 -0800 (PST)

I tried adding /usr/local/lib, the directory shows up with "echo ${PATH}",
but I am still getting the same error. I also tried
/cygdrive/c/cygwin/usr/local/lib and tried adding a copy to the
/usr/local/bin directory. Same error in all cases.

Is it possible to access the libraries within Cygwin if I install CGAL with
the Windows CGAL-3.9-Setup.exe? Perhaps this is the way to if building from
Cygwin directly hasn't been done. I greatly appreciate your quick response
and assistance.


Laurent Rineau (GeometryFactory) wrote
>
> 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/
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>


--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/cygCGAL-8-dll-error-on-Cygwin-tp4327460p4327568.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page