Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Problem using CGAL with OpenCV under Windows and MFC

Subject: CGAL users discussion list

List archive

[cgal-discuss] Problem using CGAL with OpenCV under Windows and MFC


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Problem using CGAL with OpenCV under Windows and MFC
  • Date: Fri, 21 Nov 2008 16:17:34 +0100 (CET)

Good afternoon,

I am trying the CGAL libraries to compute the Medial-Axis of a contour. I get
that contour using OpenCV, and I have to use OpenCV. This is part of my tesis
research work so I am really interested in completing my tests as soon as
possible.

Unfortunately, I think that there is some kind of incompatibility between
OpenCV and CGAL and I can not figure out how to solve it.

All the errors are related to the Assertions.h file:

Example:
\include\cgal\assertions.h(34) : error C2143: syntax error : missing '}'
before
'goto'
...many other error of the same type....
include\cgal\io\io_tags.h(28) : error C2143: syntax error : missing ';' before
'{'
...many other error of the same type....
\include\cgal\io\io.h(137) : error C4430: missing type specifier - int
assumed.
Note: C++ does not support default-int
...

I am using the latest version of the CGAL libraries (v. 3.3.1). I am also
working in a Windows XP environment and Visual Studio 2005. I am using the
latest version of OpenCV (v 1.0 release) and DirectShow.

I hope you can help me solve this problem so I can use your impressive
library.

Thanks in advance and I look forward to hear from you soon.



Archive powered by MHonArc 2.6.16.

Top of Page