Building JPEG plugin for Mac OS X

Eric Scharff Eric.Scharff at Colorado.EDU
Sat Jan 26 01:22:58 UTC 2002


When trying to build a JPEG plugin using ProjectBuilder for Mac OS X,
everything builds, but when linking the bundle I get the error that the
following symbols are undefined:

_error_exit
_jpeg_mem_dest
_jpeg_mem_src
_jpeg_mem_src_newLocationOfData

Interestingly, none of these symbols exist anywhere in the source code I
got from jpegsrc.v6b.tar.gz.  They are only used in the generated plugin.
When I look at
JPEGReadWriter2Plugin>>primJPEGReadHeader:fromByteArray:errorMgr:

I see that these are being emiited directly into the C code.

Has anyone else gotten this to work?  Did I leave out a step in plugin
generation?

-Eric





More information about the Squeak-dev mailing list