Hello All,
I am new to Photoshop and I am trying to Port the CS4 Plugin into CS5. On Mac OS 10.5 it gets compiled properly without any major changes but the menus does not load into Photoshop menus. On Mac OS 10.6 I am facing the proplem comiling the code itself.
Can any one help me on this. What wrong I am doing or have I missed anything. I also tried to compare my code with Outboud Sample project. There is no major difference. Still why is it not getting loaded?
Thank you all in advance.
Regards
Farzana.
What platform are you compiling to and what platform is your machine?
Check your .r file and your PiPL resource and your configuration.
Are the the CS5 SDK projects working when you run them on Photoshop CS5?
You should have something like this in your PiPL resource.
#ifdef __PIMac__
#if (defined(__i386__))
CodeMacIntel32 { "PluginMain" },
/* If your plugin uses Objective-C, Cocoa, for UI it should not be
unloaded, this flag is valid for 32 bit plug-ins only and
should not be used in any windows section */
// off for now as this plug-in has no Objective-C Cocoa {},
#endif
#if (defined(__x86_64__))
CodeMacIntel64 { "PluginMain" },
#endif
#else
#if defined(_WIN64)
CodeWin64X86 { "PluginMain" },
#else
CodeWin32X86 { "PluginMain" },
#endif
#endif
Hi ,
Thanks for the reply . I am using Mac OS 10.5.8 and XCode version 3.1.3 I tried to compile the SDK Sample project with the same environment and it works.
My .r looks like this
#ifdef __PIMac__
#if (defined(__i386__))
CodeMacIntel32 { "PluginMain" },
#endif
#if (defined(__ppc__))
CodeMacIntel64 { "PluginMain" },
#endif
#else
#if defined(_WIN64)
CodeWin64X86 { "PluginMain" },
#else
CodeWin32X86 { "PluginMain" },
#endif
#endif
Only difference i can make out here is
#if (defined(__x86_64__))
CodeMacIntel64 { "PluginMain" },
#endif
I tried that copying from the sample file. But it didn't work. I will try again though.
Regards
Farzana.
North America
Europe, Middle East and Africa
Asia Pacific