Compiling plugins on Mac OS X

AfterShot Pro Plugins
Post Reply
roland65
Posts: 58
Joined: Wed Jan 25, 2012 3:34 am
operating_system: Linux
System_Drive: C
32bit or 64bit: 32 Bit

Compiling plugins on Mac OS X

Post by roland65 »

Hi,
does anyone know what version of Mac OS X is required to compile a plugin :
- Lion, Snow Leopard, Leopard?
- 32 bits or 64 bits?
- Carbon or Cocoa?
- Qt SDK version?

I must admit I'm a complete newbie on this system...
Any help would be greatly appreciated,
RB
teknisyan
Posts: 2421
Joined: Wed Oct 06, 2010 4:18 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Sony Corporation VAIO
processor: Intel Corel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: Realtek HD Audio
Hard_Drive_Capacity: 500 GB
Location: Riyadh, KSA
Contact:

Re: Compiling plugins on Mac OS X

Post by teknisyan »

AFAIK that information is provided in the AfterShot Pro's Plug-in SDK, You can visit http://aftershotpro.com/plugins/plugins-developer.html for more information. You can also use the email address below if you have further information.
Like reading blogs?
About Tech
About Sports
Pnoy.Me - A URL Shortener
Follow me on Facebook & Twitter
roland65
Posts: 58
Joined: Wed Jan 25, 2012 3:34 am
operating_system: Linux
System_Drive: C
32bit or 64bit: 32 Bit

Re: Compiling plugins on Mac OS X

Post by roland65 »

Yes, but the information is quite, well let's say "rough" and they don't give the answer to my questions...
Thanks anyway for your answer,
RB
spoilerhead
Posts: 133
Joined: Fri Jan 13, 2012 8:18 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Hard_Drive_Capacity: 13.5TB
Location: Vienna

Re: Compiling plugins on Mac OS X

Post by spoilerhead »

best is to ask jknights.
my ASP Plugins - donation button ( send beer! :) )
linux,7d, glass and a huge mug of coffee.
If you got any immediate problems with my plugins, don't by shy on contact me on GoogleTalk.
roland65
Posts: 58
Joined: Wed Jan 25, 2012 3:34 am
operating_system: Linux
System_Drive: C
32bit or 64bit: 32 Bit

Re: Compiling plugins on Mac OS X

Post by roland65 »

I already did it and he kindly helped me but now he is on vacancy for a week. I supposed someone else had the information about Mac OS X compiling...
Now I have set up another virtual machine with Mac OS X Snow Leopard and I'll retry to compile with this system.
Cheers,
RB
roland65
Posts: 58
Joined: Wed Jan 25, 2012 3:34 am
operating_system: Linux
System_Drive: C
32bit or 64bit: 32 Bit

Re: Compiling plugins on Mac OS X

Post by roland65 »

I finally managed to compile my plugins under Mac OS X. I tried at the beginning with Max OS X Lion and Xcode 4, but it didn't work.

I finally used :
- a virtual machine (under a Linux host) with Mac OS X Snow Leopard installed
- Xcode 3.2.1
- Qt libraries 4.7.3 (qt-mac-opensource-4.7.3.dmg and *NOT* QT SDK because of problems with the target architectures).

The compilation process is the one described in the ASP SDK documentation, but I found that the fixplugins.sh script (used in the make Deploy phase) does not fix the Qt paths. So I used a script provided by jknights (ask me or him if you want it) and it finally worked.

Was painful, though...
RB
patrickh
Posts: 18
Joined: Sun Apr 29, 2012 11:45 pm
operating_system: Mac
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Macintosh
processor: 2.93 GHz Intel Core i7
ram: 4GB
Video Card: ATI Radeon HD 5750 1024 MB
sound_card: MacNone
Hard_Drive_Capacity: 1Terabyte
Monitor/Display Make & Model: iMac 27"

Re: Compiling plugins on Mac OS X

Post by patrickh »

Roland

Thanks again for the effort
jknights
Posts: 233
Joined: Mon Jan 16, 2012 8:10 am
operating_system: Mac
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Apple
processor: Intel 3.08GHz Dual processor Quad Core
ram: 24GB
Video Card: ATI Radeon X1600
sound_card: Intel HDA
Hard_Drive_Capacity: 6TB
Monitor/Display Make & Model: Apple Display
Location: Oliva, Valencia, Spain
Contact:

Re: Compiling plugins on Mac OS X

Post by jknights »

If you want you can compile on any of the OSX platforms that are currently supported by ASP.
So OSX 10.5.x onwards.
I prefer to compile on Snow Leopard as that is my main machine but I have environments set up for Lion, Snow Leopard and Leopard.

You can use virtual environments using VMWare or Oracle VirtualBox.

Important thing is to get the correct version of XCode for your platform and to use QT 4.7.4.
Thereafter it is all about configuration and getting the *.pro file correct.
I have some scripts that I use to Make before building in XCode environment and also to Fix plugins after compilations so that the executable used is pointing athe ASP frameworks rather than looking for the QTones that are on your compiling machine.
Still learning after all these years!
Post Reply