Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Re: Building CGAL3.6.1 on Windows
- Date: Tue, 07 Sep 2010 16:24:03 +0200
- Organization: GeometryFactory
Thank you for the bug-report. The bug should only appear with
boost 1_44_0, which detects that VC10 implementes static_assert
as part of C++0x.
Either you install the previous version of boost, or
you change a line in the file
include/CGAL/Root_of_traits.h
Replace
BOOST_STATIC_ASSERT((FrT::Is_fraction::value));
with
typedef typename FrT::Is_fraction ISF;
BOOST_STATIC_ASSERT((ISF::value));
Then at least the CGAL.lib builds. We will upgrade
our testsuite to see if we have to change more
static asserts for the various CGAL packages.
Best regards,
Andreas
On 07/09/2010 13:10, Laurent Rineau (GeometryFactory) wrote:
On Tuesday 07 September 2010 12:56:58 Yvan Maillot wrote:
Thank you for your reply,
Here it is
1>------ Début de la génération : Projet : CGAL, Configuration : Release
x64 ------
1> Building Custom Rule C:/Program Files
(x86)/CGAL-3.7-beta1/src/CGAL/CMakeLists.txt
1> CMake does not need to re-run because C:\Program Files
(x86)\CGAL-3.7-beta1\src\CGAL\CMakeFiles\generate.stamp is up-to-date.
1> all_files.cpp
1>C:\Program Files (x86)\CGAL-3.7-beta1\include\CGAL/Root_of_traits.h(65):
error C2338: (FrT::Is_fraction::value)
1> C:\Program Files
(x86)\CGAL-3.7-beta1\include\CGAL/Root_of_traits.h(95) : voir la référence
à l'instanciation de la classe modèle
'CGAL::internal::Root_of_traits_helper<FT,CGAL::Field_tag>' en cours de
compilation
Well... the least that we can say is that the error message of VC++ is quite
imprecise!
Yvan, can you send me, *in private mail* (not to the mailing list), the file
C:\Program Files (x86)\CGAL-3.7-beta1\CMakeCache.txt
so that I can try to check your configuration, and perhaps reproduce the
error?
Once I have understand the issue, I will post a summary on the mailing list.
- [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Yvan Maillot, 09/07/2010
- Re: [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Laurent Rineau (GeometryFactory), 09/07/2010
- [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Yvan Maillot, 09/07/2010
- Re: [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Laurent Rineau (GeometryFactory), 09/07/2010
- Re: [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Andreas Fabri, 09/07/2010
- Re: [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Laurent Rineau (GeometryFactory), 09/07/2010
- [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Yvan Maillot, 09/07/2010
- Re: [cgal-discuss] Re: Building CGAL3.6.1 on Windows, Laurent Rineau (GeometryFactory), 09/07/2010
Archive powered by MHonArc 2.6.16.