Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Building issue with CGAL 4.4 on win32

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Building issue with CGAL 4.4 on win32


Chronological Thread 
  • From: Olivier BARTHELEMY <>
  • To: cgal-discuss <>
  • Subject: Re: [cgal-discuss] Building issue with CGAL 4.4 on win32
  • Date: Mon, 14 Apr 2014 11:33:40 +0200

Ah, it seems i had installed GMP headers for 64bits CGAL in my 32bit libraries folder, assuming they were identical. It worked at least from CGAL 4.1 to 4.3, i assume CGAL did not use GMP_NUMB_BITS yet. 
Thanks for the help


2014-04-14 11:24 GMT+02:00 Olivier BARTHELEMY <>:
Well, GMP_NUMB_BITS is 64 on my 64bit windows while building Win32 configuration in Visual C++. I'll investigate further.


2014-04-14 11:11 GMT+02:00 Marc Glisse <>:

On Mon, 14 Apr 2014, Olivier BARTHELEMY wrote:

I am getting compilation errors in my project with CGAL 4.4 when building a
windows 32bit executable in MSVC 2010. In that configuration, it seems
_BitScanForward64 and _BitScanReverse64, used in mpzf.h are not available
(as seen here :
http://msdn.microsoft.com/en-us/library/wfd9z0bb(v=vs.100).aspx, the 64bit
versions are not available on x86). Building with CGAL_DO_NOT_USE_MPZF macro
seems to solve the compilation problem, but i think #ifdef checks in that
header could be tweaked to avoid using it when the intrinsic is not
available

Hello,

the file already checks:
GMP_NUMB_BITS == 64
(defined in gmp.h)

how did you end up with that in a 32 bit build?

--
Marc Glisse


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





--
Geovariances

Olivier BARTHELEMY Software development engineer
Geovariances, 49bis avenue Franklin Roosevelt - 77215 AVON CEDEX - FRANCE
| www.geovariances.com
Keep posted about Geovariances                  



--
Geovariances

Olivier BARTHELEMY Software development engineer
Geovariances, 49bis avenue Franklin Roosevelt - 77215 AVON CEDEX - FRANCE
| www.geovariances.com
Keep posted about Geovariances                  



Archive powered by MHonArc 2.6.18.

Top of Page