Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to correct these conflicts between CGAL with MSVC8

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to correct these conflicts between CGAL with MSVC8


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] How to correct these conflicts between CGAL with MSVC8
  • Date: Thu, 20 May 2010 09:05:09 +0200
  • Organization: GeometryFactory

Hi JohnHans,

Were you able to compile and run an example or demo program
that is shipped with CGAL?

When you write "build my codes with CGAL", what do you expect
us to reply. There might be an interaction between your
code and CGAL code, but for telling you more it needs
a minimalistic bug.cpp so that we can try to reproduce
what you experience and mayb fix it.

Best regards,

Andreas Fabri


On 20/05/2010 08:45, JohnHans wrote:

Hi,

I'm new to CGAL, and found it very promising.
However, I failed to build my codes with CGAL 3.3.1, Qt4 on MS Visual Studio
8, there are following errors, even I update CGAL from 3.3.1 to 3.5.1:
1>..\CGAL\CGAL-3.5.1\include\CGAL/float.h(104) : error C2784:
'std::complex<_Other> std::wtf_pow(const std::complex<_Other> &,const
std::complex<_Other> &)' : could not deduce template argument for 'const
std::complex<_Other> &' from 'double'
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xcomplex(395) : see declaration of 'std::wtf_pow'

1>..\CGAL\CGAL-3.5.1\include\CGAL/double.h(116) : error C2784:
'std::complex<_Other> std::wtf_pow(const std::complex<_Other> &,const
std::complex<_Other> &)' : could not deduce template argument for 'const
std::complex<_Other> &' from 'const double'
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xcomplex(395) : see declaration of 'std::wtf_pow'

1>..\CGAL\CGAL-3.5.1\include\CGAL/long_double.h(112) : error C2784:
'std::complex<_Other> std::wtf_pow(const std::complex<_Other> &,const
std::complex<_Other> &)' : could not deduce template argument for 'const
std::complex<_Other> &' from 'const long double'
1> C:\Program Files\Microsoft Visual Studio
8\VC\include\xcomplex(395) : see declaration of 'std::wtf_pow'

Maybe some of these problems are just due to a misunderstanding of
environment configuration from me. Could some folks please help me to
correct the concerned points.

Thank you very much for your help.

Best wishes,

JsHs







Archive powered by MHonArc 2.6.16.

Top of Page