Compiling plugins on Mac OS X

AfterShot Pro Plugins

Compiling plugins on Mac OS X

Postby roland65 on Wed May 23, 2012 1:22 pm

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
roland65
 
Posts: 55
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

Postby teknisyan on Wed May 23, 2012 10:53 pm

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
User avatar
teknisyan
 
Posts: 2424
Joined: Wed Oct 06, 2010 4:18 pm
Location: Riyadh, KSA
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

Re: Compiling plugins on Mac OS X

Postby roland65 on Thu May 24, 2012 7:40 am

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
roland65
 
Posts: 55
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

Postby spoilerhead on Thu May 24, 2012 9:11 am

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.
User avatar
spoilerhead
 
Posts: 85
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

Re: Compiling plugins on Mac OS X

Postby roland65 on Thu May 24, 2012 12:29 pm

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: 55
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

Postby roland65 on Fri May 25, 2012 1:30 pm

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
roland65
 
Posts: 55
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

Postby patrickh on Fri May 25, 2012 6:52 pm

Roland

Thanks again for the effort
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

Postby jknights on Sun Jun 10, 2012 10:05 pm

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!
User avatar
jknights
 
Posts: 82
Joined: Mon Jan 16, 2012 8:10 am
Location: Oliva, Valencia, Spain
operating_system: Mac
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Apple
processor: Intel 2.33GHz Core2Duo
ram: 4GB
Video Card: ATI Radeon X1600
sound_card: Intel HDA
Hard_Drive_Capacity: 160GB
Monitor/Display Make & Model: Apple Display


Return to AfterShot Pro Plugins

Who is online

Users browsing this forum: Google Feedfetcher and 0 guests