Skip to main content
December 7, 2010
Question

Cross Platform Development on Windows

  • December 7, 2010
  • 1 reply
  • 629 views

Hello,

Is it possible to build (compile) a plugin for the Mac OS on a Windows machine?

And if it is not directly possible, then what is the most convenient way to create a cross platform UI, so that the development and debug phase on the Mac is as short and 'smooth' as possible?  because I don't have full access to a Mac.

Any suggestions are welcome.  I searched a long time for this topic, but with zero result.

Best regards,

/Mark

This topic has been closed for replies.

1 reply

Chris Cox
Legend
December 8, 2010

Is it possible to build (compile) a plugin for the Mac OS on a Windows machine?

No.  You could compile using GDB, but the linker needs to be Apple's to get everything to work.

The only "smooth" way to do cross platform UI that won't take debugging... is to not have any UI.  Sorry.

Macintosh and Windows UI code is vastly different, and each OS has bugs in different places.

December 11, 2010

Thanks for the reply. Although not the answer I was hoping for, it is still useful!

For the 'Cross Platform' GUI I am now trying wxWidgets.  I read a lot of people too have trouble making a wxWidgets dialog modal when used in a plug-in.

A quick and dirty solution I did was disabling the Photoshop window via the hwnd found in gFilterRecord->platformData, when a wxWidgets dialog is shown.

And this seems to work just fine.

/Mark