Subject: CGAL users discussion list
List archive
- From: Tarik Rahman <>
- To:
- Subject: [cgal-discuss] Problems configuring with Cmake
- Date: Wed, 22 Apr 2009 15:06:30 +0100
Hi there
I'm having problems trying to configure CGAL for Visual Studio 2005 using Cmake and I have a few questions regarding environment variables and paths relating to the errors. I got gmp building but not mpfr.
GMP
I have set GMP_INCLUDE_DIR in one of CGAL's subfolders as can be seen, but there are no files in either of gmp or taucs include and lib subfolders in CGAL-3.4/auxiliary! I called ./configure and make so now I have libgmp.la and libgmp.lai in the .libs folder that's created.
MPFR
I have mpfr-2.4.1. There is no include directory in it, nor a lib directory, so what should MPFR_LIBRARIES_DIR be set to? As can be seen, I have set MPFR_INCLUDE_DIR to C:/prog/mpfr-2.4.1 but I'm not sure if this is correct. I call
./configure --with-gmp=c:/prog/gmp-4.2.4
I have created c:/prog/gmp-4.2.4/include and copied the header files already in c:/prog/gmp-4.2.4 into it.
I also created c:/prog/gmp-4.2.4/lib and copied libgmp.la and libgmp.lai into it. This seemed to fix the problem of finding the headers and lib files but I still get one more error that stops the build. Here's the last few lines from calling configure
checking for recent GMP... yes
checking for gmp internal files... yes
checking for valid BITS_PER_MP_LIMB and BYTES_PER_MP_LIMB... yes
checking for __gmpz_init in -lgmp... no
configure: error: libgmp not found or uses a different ABI.
Please read the INSTALL file -- see "In case of problem".
Appreciate any help, I can't for the life of me, undrstand why libgmp is not found. I'm using Windows Vista on a 32-bit machine and c:/prog/gmp-4.2.4 is in the Path.
Thanks
Tarik
- [cgal-discuss] Problems configuring with Cmake, Tarik Rahman, 04/22/2009
- Re: [cgal-discuss] Problems configuring with Cmake, Andreas Fabri, 04/22/2009
Archive powered by MHonArc 2.6.16.