Skip navigation
Currently Being Moderated

Porting of CS4 Plugin into CS5 on Mac 10.6

Jan 9, 2012 8:10 PM

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.

 
Replies
  • Currently Being Moderated
    Jan 10, 2012 2:46 PM   in reply to Farzana Arethwala

    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

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points