From: Jack J. <Jac...@or...> - 2002-01-21 20:36:38
|
On Monday, January 21, 2002, at 08:04 PM, Mats Bengtsson wrote: > > > Jack Jansen wrote: >> >> On Saturday, January 19, 2002, at 12:58 PM, Mats Bengtsson wrote: >>> >>> 1) I build the image libs, libjpeg, libtiff, libpng, and zlib, as >>> separate shared libs (which is how it works on win and unix), >>> which get loaded at runtime by Img. But the loading is made from >>> tcl's present folder (Build) which is not what you want. >>> BTW: Img uses tclMacLoad.c from 8.0p2 to do this, which needed >>> some patching to work. >>> Any better solution here? Can't run the test suite because of this, >>> I think. >> >> You should be able to store them in the Extensions folder, I think. >> > > Doesn't work: > % package require Img > 1.2.4 > (Build) 2 % image create photo -file [tk_getOpenFile] > cannot open jpeg.shlb: file not found > > It fails when executing: > err = FSpLocationFromPath(strlen(path), (char *) path, &fileSpec); > where path = "jpeg.shlb", and then it does things I don't understand > including a call GetDiskFragment(). Sorry, misunderstanding on my part. If the img extension had been linked against the jpeg library you could have put it in the extension folder. But apparently img manually loads "jpeg.shlb". I don't know how to solve this, you should ask the img author. > >> Darn. I have the CW6 projects somewhere still in CVS, but I >> would need to dig them out. I'll try to do so next week, if you >> don't hear from me by tuesday drop me another note (because I'll >> have forgotten;-) > > I'd appreciate that. No hurry. Thanks. It's coming in a separate mail (from a different machine). -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |