Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Andoni Beristain <>
  • To:
  • Subject: Re: [cgal-discuss] Problem using CGAL with OpenCV under Windows and MFC
  • Date: Fri, 21 Nov 2008 16:15:45 +0000 (GMT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=tdghdUpreoXiVmuDGggw5BL0/8eDN5lU27Fm0Rg4kdmyKHyDdq5MIks7P4pBcyYly3clEMBKQ4azEMckVZy1qYbwqjTHriDoPZyJcohh1aahzhYZy1wbszQ9V4skX/EjKhRl88fsHtybTzBVtLp8xSDGx57KmyONXhBeSXdSE7E=;

Thank you very much. Your solution fixed the problem.


--- El vie, 21/11/08, Laurent Rineau
<>
escribió:

> De: Laurent Rineau
> <>
> Asunto: Re: [cgal-discuss] Problem using CGAL with OpenCV under Windows and
> MFC
> Para:
>
> Fecha: viernes, 21 noviembre, 2008 4:29
> On Friday 21 November 2008 16:17:34
>
> wrote:
> > 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
> > ...
>
> Most probably there as macros around.
> Try to call:
> #undef EXIT
> #undef CONTINUE
> before including CGAL headers.
>
>
> Note that the filenames of headers are case sensitive, even
> if your compiler
> does not care. That is <CGAL/assertions.h>,
> <CGAL/IO/io_tags.h>, and
> <CGAL/IO/io.h>.
>
> --
> Laurent Rineau, PhD
> Engineer at GeometryFactory
> http://www.geometryfactory.com/
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page