[Mutsu-developers] Absird (long)
Status: Beta
Brought to you by:
mfenner
|
From: Laine L. <ll...@tx...> - 2002-03-17 07:30:19
|
I=B9ve written an Applescript Studio interface for a UNIX binary executable called Absird, which makes stereograms (those magic eye hidden 3D images that you used to see all over the mall). I would like to submit it to Mutsu= , but I have some issues with it that I=B9m hoping someone can help me solve. The executable has a dependency that I just discovered. There is a single shared library that is required to make it work. The required file is 140k in size and is called libjpeg.62.0.0.dylib and exists in /sw/lib. It must b= e either renamed to libjpeg.62.dylib, or be the target of a symbolic link named libjpeg.62.dylib in the same directory. The lib file and the symbolic link are created in that directory when the libjpeg package is installed by Fink. So, to make my application work on a OS X 10.1.2 system where Developer Tools, Fink, and libjpeg are not already installed, you can eithe= r find a computer where they are installed and copy the libjpeg.62.0.0.dylib to /sw/lib, creating the path, and rename it to libjpeg.62.dylib, or copy i= t to /sw/lib and use terminal to make a symbolic link called libjpeg.62.dylib to it in the same location, or install Developer Tools, Fink, then tell Fin= k to install libjpeg. The absird executable can be compiled in the OS X terminal if you have the Developer Tools, Fink, and libjpeg (installed by Fink) if you cd to where the absird.c source file exists, copy the malloc.h file that exists in System:Library:Frameworks:Kernel.framework:Versions:A:Headers:sys to /sw/includes and run this command in the Terminal: =B3cc -I/sw/include -L/sw/lib =ADljpeg absird.c=B2. So here are my questions. Do you think there=B9s a chance that I might be able to get permission from the creators of libjpeg to publish my app with just the libjpeg.62.0.0.dyli= b file and instructions for what to do with it, so that list the requirements as OS X Developer Tools, Fink, and libjpeg (installed by Fink)? Is there a chance libjpeg already exists in an OS X installation and that the the absird.c file could be compiled with a different command that would use existing OS X resources? Could that explain why my application works by just placing libjpeg.62.0.0.dylib into the /sw/lib directory? I can send yo= u the absird.c file if you care to play with it. The author of the absird executable, Keith Goldfarb, has a web site at http://www.rhythm.com/~keith/autoStereoGrams/absird/ where an FAQ states that another image library could be used instead of jpeg, but 6 routines would have to be rewritten: openJPEGRead() openJPEGWrite() readJPEGScanline() writeJPEGScanline() closeJPEGRead() and closeJPEGWrite(). Would any of you be interested in taking a stab a that with QuickTime or something else that might be included with an original installation of OS X? The absird.c file is available at the web site, but i= t had to be altered to work with OS X. I didn=B9t have the necessary skills to modify it, Keith knew someone who did. Also, since there=B9s a good chance that you already have Fink and libjpeg installed, and could run my app right out of the box, I=B9d be happy to send you a copy of my project as well. Just let me know. Thanks! --=20 Laine Lee ll...@tx... http://www.txdirect.net/users/llee |