[racket] Racket 5.1: "bitmap scheme-box.jpg failed to load" error

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 15 22:30:24 EST 2011

At Tue, 15 Feb 2011 21:44:08 -0500, Eric Bélanger wrote:
> $ racket
> Welcome to Racket v5.1.
> > (require racket/draw)
> > (read-bitmap (collection-file-path "scheme-box.jpg" "icons"))
> jpeg: JPEG parameter struct mismatch: library thinks size is 656,
> caller expects 680

680 looks right for a 64-bit build with version 80, so it's surprising
to me that the library expects size 656.

Do you have "jpeglib.h", "jconfig.h", and "jmorecfg.h" files installed,
perhaps in "/usr/include" or "/usr/local/include"? If so, can you send
me those files (off-list)?

Posted on the users mailing list.