Ive build a filter plugin for CS3 using xcode.
Two dylibs are used, and everything is working, if I put the these dylibs at the same location like on my development computer. But the dylibs are not found, if they are placed in the plugin-bundle, in the PS-folder, in application-support, .....
How can i make this plugin work with the dylibs located in the plugin-bundle? This would be the best way for destributing my plugin.
Are there other posibilities?
many thanks in advance.
Greetings Klaus
OSX using dylib with filter plugin
are the dylibs loaded automatically or do load them by e.g. dlopen?
OSX using dylib with filter plugin
They are loaded automatically.
The only thing that ive done (and being aware off) was adding these libraries to the xcode-project.
Greetings Klaus
One thing that could help is putting them in the Frameworks folder of
the plug-in bundle.
Aandi Inston
Thanks for the answer, but it is not working this way.
I still get the error-message and the console shows:
2007-08-26 12:11:40.294 Adobe Photoshop CS3[9922] CFLog (21): Error loading /Users/kl/Desktop/Adobe Photoshop CS3 SDK/samplecode/Output/Mac/Debug/Debug_i386/ColorAIXchange 2.0.0b0.plugin/Contents/MacOS/Dissolve: error code 4, error number 0 (Library not loaded: /sw/lib/libjpeg.62.dylib
It looks like the path to the library is firm, but I cannot find the place where to change this.
In Codewarrior I would link the lib into the plugin or use weak linking and load the lib 'by hand'. Im not very used to xcode.....
Greetings Klaus
No comments:
Post a Comment