Hi David, thanks for the preliminary information. Just keep me informed once you released the new version.
Kind regards Andreas. On Wed, Feb 08, 2012 at 08:28:47PM +0100, David Tschumperlé wrote: > Dear Andreas, > > Someone else reported this bug on the G'MIC forum, and I had some time to > look at the issue today. > The problem is *not* a bug from OpenCV (nor CImg by the way :)). > The problem comes from the fact that one of the X11 include files defines > the macros 'False' and 'True' to respectively '0' and '1', > and that the OpenCV include file defines (empty) classes named 'True' and > 'False'. > So, there is a clear incompatibility when using the two headers at the same > time (which is what CImg does of course). > > I found a quick hack for a work-around (basically by replacing all 'False' > and 'True' expressions in CImg.h by their hard-coded values '0' and '1', > and #undef True and False when OpenCV headers are required). > So now, I can say the bug is corrected in upcoming 1.5.0 version of the > CImg Library. > > Best Regards, > > David. > > > > 2011/12/29 Andreas Tille <andr...@an3as.eu> > > > Hi David, > > > > I keep the bug report in CC and thus full quote your mail to leave some > > note there. Please ping me in case I might miss your release to make > > sure we can close the bug soonish. > > > > Kind regards and for sure a happy new year 2012 as well > > > > Andreas. > > > > On Thu, Dec 29, 2011 at 01:03:51PM +0100, David Tschumperlé wrote: > > > Dear Andreas, > > > Thanks for the report. It seems to me that the bug comes from OpenCV > > > instead. > > > I don't think this is really an issue, since I will release the next CImg > > > version in few weeks (hopefully!), > > > and it compiles fine with latest packages of OpenCV installed (I'm using > > > the latest Ubuntu). > > > > > > And of course, Happy new year 2012 ! > > > > > > David. > > > > > > > -- > > http://fam-tille.de > > -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org