Building CGAL libs on Cygwin - Problems

Leandro Melo ltcmelo@gmail.com
Sat Sep 3 18:59:00 GMT 2005


Hi, I've checked the archive for any information about that, but
couldn't fine any.
I'm beginner with cygwin and don't have much experience also with gcc/g++.
The point is that I'm trying to build CGAL (computation geometry
algorithms library) libraries on cygwin (compiler gnu 3.4.4), but I'm
getting the following error.
Can anyone help me out?
I'm not sure this error is because of g++. But I'm just doing the
standard procedure for compiling the cgal libs (which is running a
install script).
Thanks.


/usr/bin/g++  -O2  -Wall
'-I/CGAL/CGAL-3.1/include/CGAL/config/i686_CYGWINNT-5.1-1.5.18_g++-3.4.4'
'-I/CGAL/CGAL-3.1/include'  -c aff_transformation_tags.C
/usr/bin/g++  -O2  -Wall
'-I/CGAL/CGAL-3.1/include/CGAL/config/i686_CYGWINNT-5.1-1.5.18_g++-3.4.4'
'-I/CGAL/CGAL-3.1/include'  -c assertions.C
/usr/bin/g++  -O2  -Wall
'-I/CGAL/CGAL-3.1/include/CGAL/config/i686_CYGWINNT-5.1-1.5.18_g++-3.4.4'
'-I/CGAL/CGAL-3.1/include'  -c Bbox_2_intersections.C
In file included from /CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_double.h:28,
                 from /CGAL/CGAL-3.1/include/CGAL/_QP_solver/Double.h:28,
                 from /CGAL/CGAL-3.1/include/CGAL/number_type_basic.h:407,
                 from /CGAL/CGAL-3.1/include/CGAL/basic.h:66,
                 from /CGAL/CGAL-3.1/include/CGAL/Cartesian/Cartesian_base.h:29,
                 from /CGAL/CGAL-3.1/include/CGAL/Simple_cartesian.h:27,
                 from Bbox_2_intersections.C:25:
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:28:17: gmp.h: No
such file or directory
In file included from /CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_double.h:28,
                 from /CGAL/CGAL-3.1/include/CGAL/_QP_solver/Double.h:28,
                 from /CGAL/CGAL-3.1/include/CGAL/number_type_basic.h:407,
                 from /CGAL/CGAL-3.1/include/CGAL/basic.h:66,
                 from /CGAL/CGAL-3.1/include/CGAL/Cartesian/Cartesian_base.h:29,
                 from /CGAL/CGAL-3.1/include/CGAL/Simple_cartesian.h:27,
                 from Bbox_2_intersections.C:25:
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:103: error:
`mpz_t' does not name a type
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In constructor
`GMP::Integer::Integer()':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:122: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:122: error: (Each
undeclared identifier is reported only once for each function it
appears in.)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:122: error:
`mpz_init' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In copy
constructor `GMP::Integer::Integer(const GMP::Integer&)':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:130: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:130: error:
'const class GMP::Integer' has no member named 'value'
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:130: error:
`mpz_init_set' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In constructor
`GMP::Integer::Integer(int)':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:138: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:138: error:
`mpz_init_set_si' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In constructor
`GMP::Integer::Integer(long int)':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:146: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:146: error:
`mpz_init_set_si' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In constructor
`GMP::Integer::Integer(long unsigned int)':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:154: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:154: error:
`mpz_init_set_ui' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In constructor
`GMP::Integer::Integer(double)':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:162: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:162: error:
`mpz_init_set_d' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h: In destructor
`GMP::Integer::~Integer()':
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:174: error:
`value' undeclared (first use this function)
/CGAL/CGAL-3.1/include/CGAL/_QP_solver/gmp_integer.h:174: error:
`mpz_clear' undeclared (first use this function)

continues...

-- 
Leandro

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list