Skip to Content.
Sympa Menu

cgal-discuss - a compile errors in MFC

Subject: CGAL users discussion list

List archive

a compile errors in MFC


Chronological Thread 
  • From: "thetis guan" <>
  • To: cgal-discuss <>
  • Subject: a compile errors in MFC
  • Date: Thu, 24 May 2007 11:17:09 +0800

Hi everyone
I've been using CGAL for a while and I'd like to use the code I made in a project in VS2005. I tried to create MFC soution with this code, but I still get some errors like the one attached. but as I am using windows I cannot possibly do that.But if I build a console solution it is OK;
i found if i add this head file <windows.h> to projec, these errors will appear.

Thanks,
thetis

1>ConvexHull.cpp
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt_fwd.h(53) : error C2226: 语法错误: 意外的"CGAL::Interval_nt<Protected>"类型
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt_fwd.h (53) : error C2065: "Protected": 未声明的标识符
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt_fwd.h(53) : error C2226: 语法错误: 意外的"CGAL::Interval_nt"类型
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt_fwd.h (53) : error C2059: 语法错误: ")"
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt_fwd.h(57) : error C2226: 语法错误: 意外的"CGAL::Interval_nt"类型
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt_fwd.h (57) : error C2059: 语法错误: ")"
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt.h(624) : error C2226: 语法错误: 意外的"CGAL::Interval_nt<Protected>"类型
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt.h (624) : error C2226: 语法错误: 意外的"CGAL::Interval_nt"类型
1>c:\program files\libraries\cgal-3.2.1\include\cgal\interval_nt.h(624) : error C2059: 语法错误: ")"




Archive powered by MHonArc 2.6.16.

Top of Page