POV-Ray : Newsgroups : povray.programming : Broken Mac OS X build - help appreciated Server Time: 19 May 2019 10:23:05 GMT
  Broken Mac OS X build - help appreciated (Message 1 to 1 of 1)  
From: clipka
Subject: Broken Mac OS X build - help appreciated
Date: 11 Feb 2019 19:26:47
Message: <5c61cc77$1@news.povray.org>
Hi folks,

Commit 5219e71c does not compile on Mac OS X, and I'm not really sure why.

The build runs into a compile error in `base/image/jpeg.cpp`, in which 
`TRUE` is passed to a JPEG lib function parameter of type `boolean`.

Now by some quirks of the include hierarchy, a header file 
`mach/boolean.h` is pulled in (apparently _after_ `<jpeglib.h>`), and 
defines `TRUE` as `1`, while JPEGlib apparently wants it to be... well, 
something else apparently, fitting the type `boolean` - whatever that 
might end up being defined as.

I'll be pushing a workaround any moment now, but I'd really like to know 
what's going on there. If someone with better access to a Mac system (or 
maybe just a different pair of Mk1 eyeballs) could have a look into 
this, I'd greatly appreciate it.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.