Subject: CGAL users discussion list
List archive
- From: "LoadCom" <>
- To: "" <>
- Subject: Re: [cgal-discuss] a compile errors in MFC
- Date: Mon, 11 Jun 2007 22:40:23 +0800
- Disposition-notification-to: "LoadCom" <>
Two suggestions:
1. add all of the CGAL header files include directives in stdafx.h;
2. add #include <CGAL/basic.h> before #include <afxwin.h>
------------------
LoadCom
2007-06-11
-------------------------------------------------------------
发件人:thetis guan
发送日期:2007-05-24 11:17:09
收件人:cgal-discuss
抄送:
主题:[cgal-discuss] a compile errors in MFC
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: 语法错误: ")"
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- Re: [cgal-discuss] a compile errors in MFC, LoadCom, 06/11/2007
Archive powered by MHonArc 2.6.16.