"Ohshima, Yoshiki" wrote:
Hi,
Hm, I got confuced trying to build this plugin. MPW complained about a missing jpeglib.h I downloaded a package from the independent jpeg group's ftp http://www.ijg.org/files/jpegsrc.v6b.tar.gz
This package includes a jpeglib.h.
But MPW still complains about a missing jconfig.h file. This file was not in the package I downloaded.
jconfig.h is a platform dependent header file and usually generated by the configure script. I'm not sure it works, but I guess you're supposed to copy jconfig.mac to jconfig.h manually.
Do I need to build the jpeg library to compile this plugin?
I think so.
Seems like I would need CodeWarrior to build the jpeg library on a mac.
I guess not. See jconfig.doc. It should be easy to make appropriate jconfig.h.
Ok, now I covered the dependencies. I just had to rename the jconfig.mac to jconfig.h. But I get a error: formBitsSize = interpreterProxy->byteSizeOf(formBits);
File "Video:Squeak3.1a-4347b Folder:JPEGReadWriter2Plugin:JPEGReadWriter2Plugin.c"; line 273 #Error: cannot implicitly convert from: (unsigned *) to : (int)
I'm not sure how to fix this...
Anyone ?
Karl