Bug 699374

Summary: mupdf 1.13 fails to compile on OS X due to freeglut-only options
Product: MuPDF Reporter: Misty De Meo <misty>
Component: mupdfAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tor.andersson
Priority: P4    
Version: master   
Hardware: Macintosh   
OS: MacOS X   
Customer: Word Size: ---

Description Misty De Meo 2018-05-22 04:01:43 UTC
mupdf 1.13 includes some freeglut-only code. While commit http://git.ghostscript.com/?p=mupdf.git;a=commit;h=65be3177c793bb132c36f3e6bb87c3a6947be4e0 fixed compatibility with Mac OS X, the following commit, http://git.ghostscript.com/?p=mupdf.git;a=commit;h=c4d4d6cfcacdbeb277ab6624dc33d0b490024f9b, added the use of the freeglut-only glutSetOption function and two freeglut-only constants. This breaks the build on OS X.

The freeglut documentation for this function notes that it's not implemented in GLUT: http://freeglut.sourceforge.net/docs/api.php#StateSetting
Comment 1 Tor Andersson 2018-11-07 19:37:07 UTC

*** This bug has been marked as a duplicate of bug 699726 ***