Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8
- Date: Fri, 21 May 2010 08:47:16 +0200
- Organization: GeometryFactory
On 21/05/2010 05:19, JohnHans wrote:
Hi, Laurent Rineau, Andreas Fabri,
Thank you very much for your instructions.
After I cancel the line of MathFix.h: #define pow(x, y) wtf_pow(x, y) and
re-compile, there are no 'std::wtf_pow' errors like I described in the first
message.
Now I change to use CGAL 3.6, the latest release CGAL. When I try to build
the application routine based on CGAL3.6, it needs CGAL/compiler_config.h
and cl_1400.h, I copy CGAL/compiler_config.h and cl_1400.h from CGAL 3.3.1
to CGAL 3.6. Is it correct?
We got away from shipping precompiled versions of CGAL for Windows.
So you first have to build the library, which will generate
the "missing" files.
andreas
However, when I try to compile it, there are 174 errors about CGAL as
following:
CGAL-3.6\include\CGAL/Quotient.h(129) : error C2143: syntax error : missing
')' before'&&'
1> CGAL-3.6\include\CGAL/Quotient.h(190) : see reference to class
template instantiation 'CGAL::Quotient<NT_>' being compiled
1>CGAL-3.6\include\CGAL/Quotient.h(129) : error C2143: syntax error :
missing ';' before '&&'
1>CGAL-3.6\include\CGAL/Quotient.h(129) : error C2238: unexpected token(s)
preceding ';'
1>CGAL-3.6\include\CGAL/Quotient.h(129) : error C2988: unrecognizable
template declaration/definition
1>CGAL-3.6\include\CGAL/Quotient.h(129) : error C2059: syntax error : '&&'
1>CGAL-3.6\include\CGAL/Quotient.h(129) : error C2059: syntax error : ')'
1>CGAL-3.6\include\CGAL/Quotient.h(134) : error C2334: unexpected token(s)
preceding ':'; skipping apparent function body
1>CGAL-3.6\include\CGAL/Quotient.h(136) : error C2143: syntax error :
missing ')' before '&&'
1>CGAL-3.6\include\CGAL/Quotient.h(136) : error C2143: syntax error :
missing ';' before '&&'
1>CGAL-3.6\include\CGAL/Quotient.h(136) : error C2059: syntax error : ')'
1>CGAL-3.6\include\CGAL/Quotient.h(136) : error C2334: unexpected token(s)
preceding ':'; skipping apparent function body
……
1>CGAL-3.6\include\CGAL/Quotient.h(233) : error C2244:
'CGAL::Quotient<NT_>::operator +=' : unable to match function definition to
an existing declaration
1> definition
1> 'CGAL::Quotient<NT_> &CGAL::Quotient<NT_>::operator +=(const
CGAL::Quotient<NT_> &)'
1> existing declarations
1> 'CGAL::Quotient<NT_> &CGAL::Quotient<NT_>::operator +=(const
First_if_different<double,NT_>::Type&)'
1> 'CGAL::Quotient<NT_> &CGAL::Quotient<NT_>::operator +=(const
First_if_different<int,RT_>::Type&)'
1> 'CGAL::Quotient<NT_> &CGAL::Quotient<NT_>::operator +=(const NT_
&)'
1> 'CGAL::Quotient<NT_> &CGAL::Quotient<NT_>::operator +=(const
CGAL::Quotient<NT_> &)'
……
1> CGAL-3.6\include\CGAL/Handle_for_virtual.h(104) : error C2143: syntax
error : missing ')' before '&&'
1>CGAL-3.6\include\CGAL/Handle_for_virtual.h(175) : see reference to class
template instantiation 'CGAL::Handle_for_virtual<RefCounted>' being compiled
1>CGAL-3.6\include\CGAL/Handle_for_virtual.h(104) : error C2143: syntax
error : missing ';' before '&&'
1>CGAL-3.6\include\CGAL/Handle_for_virtual.h(104) : error C2059: syntax
error : ')'
1>CGAL-3.6\include\CGAL/Handle_for_virtual.h(105) : error C2334: unexpected
token(s) preceding '{'; skipping apparent function body
1>CGAL-3.6\include\CGAL/Object.h(47) : error C2143: syntax error : missing
')' before'&&'
1>CGAL-3.6\include\CGAL/Object.h(66) : see reference to class template
instantiation 'CGAL::Wrapper<T>' being compiled
1>CGAL-3.6\include\CGAL/Object.h(47) : error C2143: syntax error : missing
';' before'&&'
……
I am new to C++ and CGAL, could you please instruct me to solve these
problems?
Thank you very much!
Best wishes,
John Hans
- [cgal-discuss] How to correct these conflicts between CGAL with MSVC8, JohnHans, 05/20/2010
- Re: [cgal-discuss] How to correct these conflicts between CGAL with MSVC8, Sebastien Loriot (GeometryFactory), 05/20/2010
- Re: [cgal-discuss] How to correct these conflicts between CGAL with MSVC8, Andreas Fabri, 05/20/2010
- [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, JohnHans, 05/20/2010
- Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, Andreas Fabri, 05/20/2010
- Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, Laurent Rineau (GeometryFactory), 05/20/2010
- [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, JohnHans, 05/21/2010
- Re: [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, Andreas Fabri, 05/21/2010
- [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, JohnHans, 05/21/2010
- [cgal-discuss] Re: How to correct these conflicts between CGAL with MSVC8, JohnHans, 05/20/2010
Archive powered by MHonArc 2.6.16.