Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: JohnHans <>
  • To:
  • Subject: [cgal-discuss] How to correct these conflicts between CGAL with MSVC8
  • Date: Wed, 19 May 2010 23:45:24 -0700 (PDT)


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



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-correct-these-conflicts-between-CGAL-with-MSVC8-tp2223982p2223982.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page