Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Can't locate 'gmpxx.h' (included in 'CGAL\gmpxx.h')

Subject: CGAL users discussion list

List archive

[cgal-discuss] Can't locate 'gmpxx.h' (included in 'CGAL\gmpxx.h')


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Can't locate 'gmpxx.h' (included in 'CGAL\gmpxx.h')
  • Date: Mon, 18 Jun 2012 16:29:49 +0200 (CEST)

Hey folks.

I'm trying to compile something that uses CGAL (Win7 SP1 x64, CGAL 4.0 x64,
boost_1_49_0 x64, Qt 4.8.2 x64, MSVC2010 x64 w/ SDK 7.1 compilers). The
project in question actually involves MEX files and Matlab 7.12.0, as well,
but I don't think any of that is the source of this particular issue.

You see, I'm getting an error:

C:\Program Files\CGAL-4.0x64\include\CGAL/gmpxx.h(34) : fatal error C1083:
Cannot open include file: 'gmpxx.h': No such file or directory

Now, the file 'CGAL\gmpxx.h' does exist. It includes 'gmpxx.h', which
appears to be the file from GMP:
http://www.mpi-inf.mpg.de/projects/exacus/Exacus/exacus-0.9.1/exacus-0.9.1/NumeriX/doc/html/gmpxx_8h-source.html

However, when I search for gmpxx.h, the only files with that name are the
version from my CGAL installation in %CGAL_DIR%\include\CGAL and the version
from the old x86 installation of CGAL I haven't bothered deleting yet.

It appears there are some test-type .cpp files in boost that look for
gmpxx.h as well (AstroGrep returns files named has_gmpxx.cpp in
%BOOST_ROOT%\libs\math\config and test_common_factor_gmpxx.cpp in
%BOOST_ROOT%\libs\math\test. Nothing in the boost install failed and
nothing in the CGAL install seemed to fail, either...


So, I guess what I want to know is: Where should gmpxx.h be? Did gmp not
install correctly from the pre-compiled binaries included with CGAL 4.0? Is
this an x64 problem? Should I just compile my own version of 64-bit GMP?

Help!

Thanks,
SH



Archive powered by MHonArc 2.6.18.

Top of Page