Subject: CGAL users discussion list
List archive
- From: Panagiotis Foteinos <>
- To:
- Subject: Re: [cgal-discuss] Static vs Shared
- Date: Mon, 23 Jul 2012 12:17:20 -0400
Thank you for your reply.
But no, the -static did not help.
I do not know if the following observation helps troubleshooting, but
here it is:
The file CGALConfig.cmake installed under /usr/local/lib/CGAL contains
information only about the (non-extisting) shared libraries:
CGALConfig.cmake:
********************************
set(CGAL_LIBRARY "/usr/local/lib/libCGAL.so")
set(CGAL_CGAL_LIBRARY "/usr/local/lib/libCGAL.so")
set(CGAL_Core_LIBRARY "/usr/local/lib/libCGAL_Core.so")
set(CGAL_ImageIO_LIBRARY "/usr/local/lib/libCGAL_ImageIO.so")
set(CGAL_Qt3_LIBRARY "/usr/local/lib/libCGAL_Qt3.so" )
set(CGAL_Qt4_LIBRARY "/usr/local/lib/libCGAL_Qt4.so" )
********************************
And some things about my machine:
compiler: gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)
ccmake: ccmake version 2.8.4
OS: RedHat, 64 bits
Best,
Panagiotis
On Mon, Jul 23, 2012 at 3:59 AM, Jakob van Bethlehem
<>
wrote:
> Hej Panagiotis,
>
> Maybe you need to pass the '-static' option to your compiler when building
> your project?
>
> Greetsz, Jakob
>
>
>
> On 07/20/2012 06:34 PM, Panagiotis Foteinos wrote:
>>
>> Hello.
>>
>> I built CGAL-4.0.2 with SHARED_LIBRARIES off. So far so good. But when
>> my projects links to CGAL, I get this:
>>
>> *******************
>> No rule to make target `/usr/local/lib/libCGAL.so'
>> *******************
>>
>> Indeed, only *.a libraries are under /usr/local/lib . Why it tries to
>> find shared libraries?
>>
>> Any ideas?
>>
>> My project is completely clean, and there is only one version (STATIC
>> libraries) of CGAL installed in my machine.
>>
>>
>> Regards,
>> Panagiotis
>>
>
> --
> 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] Static vs Shared, Panagiotis Foteinos, 07/20/2012
- Re: [cgal-discuss] Static vs Shared, Jakob van Bethlehem, 07/23/2012
- Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/23/2012
- Re: [cgal-discuss] Static vs Shared, Sebastien Loriot (GeometryFactory), 07/25/2012
- Re: [cgal-discuss] Static vs Shared, Laurent Rineau (CGAL/GeometryFactory), 07/25/2012
- Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/26/2012
- Re: Re: [cgal-discuss] Static vs Shared, Laurent Rineau (CGAL/GeometryFactory), 07/26/2012
- Re: Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/26/2012
- Re: Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/26/2012
- Re: Re: Re: [cgal-discuss] Static vs Shared, Laurent Rineau (CGAL/GeometryFactory), 07/26/2012
- Re: Re: Re: Re: [cgal-discuss] Static vs Shared, Laurent Rineau (CGAL/GeometryFactory), 07/27/2012
- Re: Re: Re: Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/27/2012
- Re: Re: Re: [cgal-discuss] Static vs Shared, Laurent Rineau (CGAL/GeometryFactory), 07/26/2012
- Re: Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/26/2012
- Re: Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/26/2012
- Re: Re: [cgal-discuss] Static vs Shared, Laurent Rineau (CGAL/GeometryFactory), 07/26/2012
- Re: [cgal-discuss] Static vs Shared, Panagiotis Foteinos, 07/26/2012
- Re: [cgal-discuss] Static vs Shared, Jakob van Bethlehem, 07/23/2012
Archive powered by MHonArc 2.6.18.