Re: [Mutsu-developers] Absird (long)
Status: Beta
Brought to you by:
mfenner
|
From: Laine L. <ll...@tx...> - 2002-03-18 17:29:54
|
Thanks much for your response, Ben. I haven't tried just dropping the dylib file into the project because the only way I've been able to get the absird binary executable to be included in my project is to just put it there in the resources folder. I realize that a much better solution would be to compile both the Applescript Studio source and the absird.c source in the same project in Project Builder, but = I haven't yet even been successful at compiling the absird.c source in its ow= n project. My only real experience with Project builder is with Applescript Studio, so I'm not even sure which initial template is needed for that project. I would assume c++ framework. Would you have any suggestions on ho= w to make any of that work? Here's the method that resulted in absird.c being compiled successfully whe= n run from the terminal: Copy the malloc.h file that exists in System:Library:Frameworks:Kernel.framework:Versions:A:Headers:sys to /usr/includes, add the file libjpeg.62.0.0.dylib to /usr/lib and either rename it or make the symbolic link libjpeg.62.dylib, cd to where the absird.c source file exists and run this command in the Terminal: =B3cc -I/usr/include -L/usr/lib =ADljpeg absird.c=B2. Thanks again. On 3/17/02 3:57 PM, "Ben Hines" <bh...@al...> wrote: > At 12:05 PM -0600 3/17/02, Laine Lee wrote: >>=20 >> /sw, the file compiles with the dependency pointed toward the /usr >> directory. I'm now wondering if there's a way to install libjpeg to /usr= and >> not use Fink. That would still require installing developer tools, thoug= h, >> which I would like to avoid. >=20 > Fink is just an installer. You can build and compile and include > libjpeg in your project without Fink at all. >=20 > I think all you have to do is drop the dylib file in the "Frameworks" > folder in your bundle, and it will be found by your app. (for an > example, look in Watson's bundle) >=20 > -Ben --=20 Laine Lee ll...@tx... http://www.txdirect.net/users/llee |