Subject: CGAL users discussion list
List archive
- From: Chansophea Chuon <>
- To:
- Subject: Re: [cgal-discuss] Configure manual Makefile for CGAL application
- Date: Fri, 9 Mar 2007 07:27:36 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=wLLZwdyK6GlVkCAfEsM5ZSnm9OfxNSwPaqOOMDCF2kr+bFIb9n/QrDd2Ta4h5E8meAyjE0GUTkqj717ayofIj87dSmovEPFYJvfup9eoi/yrZdyxfHzGWmfpBwP/dkryzUaxbR/FTj7BQZe27J1hl+SHkyoklti8fdzVC7qzNIo=;
Dear Joachim:
Thanks for response. I am using pre-compiled version of CGAL
CGAL-devel-3.2.1-19.fc5
CGAL-3.2.1-19.fc5
CGAL-demos-source-3.2.1-19.fc5
running on Fedora Core 5 (Kernel 2.6.18-1.2257.fc5) with g++ (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1).
I tried to compile again with the command (g++ -o test rs_example.C -I/usr/include -L/usr/lib -lCGAL
) and it showed this messages:
/usr/include/gmpxx.h: In destructor __gmp_alloc_cstring::~__gmp_alloc_cstring():
/usr/include/gmpxx.h:2096: error: __gmp_free_func was not declared in this scope
I could not even use CGAL makefile.
Best regards,
Sophea
Joachim Reichel <> wrote:
Hi,
> I try to compile an example code of cgal (rs_example.C) by using my manual made Makefile.
>
> I am using g++.
>
> g++ -o test rs_example.C -I/usr/include/CGAL -L/usr/lib -lCGAL
>
> and it shows many erros
>
> /usr/include/mpfr.h:72: error: âmp_size_tâ does not name a type
> /usr/include/mpfr.h:77: error: âmp_exp_tâ does not name a type
> /usr/include/mpfr.h:78: error: expected â;â before â*â token
> /usr/include/mpfr.h:98: error: â__gmp_constâ does not name a type
> /usr/include/mpfr.h:122: error: âmp_exp_tâ does not name a type
> /usr/include/mpfr.h:123: error: âmp_exp_tâ does not name a type
> /usr/include/mpfr.h:124: error: âmp_exp_tâ does not name a type
"g++ rs_example.C -lCGAL" works for me. There might be a problem with
your GMP/MPFR installation.
It might be helpful if you'd provide more information, e.g. operating
system/linux distribution & version, compiler version, CGAL version,
GMP/MPFR version, whether you compiled GMP/MPFR/CGAL yourself or whether
you're using precompiled packages.
Does it work if you use the makefile provided by CGAL?
Regards,
Joachim
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
- [cgal-discuss] Rebuild CGAL, Rubén Martínez, 03/09/2007
- Configure manual Makefile for CGAL application, Chansophea Chuon, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Joachim Reichel, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Chansophea Chuon, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Laurent Rineau, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Chansophea Chuon, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Chansophea Chuon, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Sylvain Pion, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Chansophea Chuon, 03/10/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Andreas Fabri, 03/10/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Sylvain Pion, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Laurent Rineau, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Chansophea Chuon, 03/09/2007
- Re: [cgal-discuss] Configure manual Makefile for CGAL application, Joachim Reichel, 03/09/2007
- Configure manual Makefile for CGAL application, Chansophea Chuon, 03/09/2007
Archive powered by MHonArc 2.6.16.