It is currently Thu Sep 02, 2010 7:47 am




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next
 kbarni's plugins for Mac 
Author Message
Bibble Plug-in Developer
User avatar

Joined: Sun Feb 01, 2009 4:29 pm
Posts: 293
Location: Bordeaux, France
Post kbarni's plugins for Mac
I finally managed to compile my plugins for Mac too, but I couldn't test them.
Normally they should work, but I post them here before putting them on my website.

So can you test them and tell me if they are working?

Cheers,
kbarni

[edit:] I forgot to attach the plugins... so, here they are!


Attachments:
PluginsMac.zip [77.07 KiB]
Downloaded 51 times

_________________
http://www.kbarni.net <-- Home of my Bibble plugins
Tue Jan 12, 2010 7:23 am
Profile WWW

Joined: Mon Nov 23, 2009 3:39 pm
Posts: 116
Location: Australia
Post Re: kbarni's plugins for Mac
Many thanks for doing that!

Can you clarify where they should go on a Mac?

I've installed them into the Bibble package at:

/Resources/supportfiles/plugins/ for dylib files
and
/Resources/supportfiles/tools/Plugins for the UI files

The UIs show up in Bibble, but the plugins don't seem to actually do anything. Are they supposed to go somewhere else?


Tue Jan 12, 2010 10:10 am
Profile
Bibble Plug-in Developer

Joined: Wed Aug 05, 2009 10:13 am
Posts: 532
Post Re: kbarni's plugins for Mac
meanwhile wrote:
Many thanks for doing that!

Can you clarify where they should go on a Mac?

I've installed them into the Bibble package at:

/Resources/supportfiles/plugins/ for dylib files
and
/Resources/supportfiles/tools/Plugins for the UI files

The UIs show up in Bibble, but the plugins don't seem to actually do anything. Are they supposed to go somewhere else?

check bibbledebug if they get loaded

_________________
my bibble plugins - http://bibble.sadman.net
B5.1 repacks - http://bibble.sadman.net/files/b51/


Tue Jan 12, 2010 10:18 am
Profile

Joined: Mon Nov 23, 2009 3:39 pm
Posts: 116
Location: Australia
Post Re: kbarni's plugins for Mac
18654.779: Loading plugins
18654.885: Problems resolving runCheck pointer for "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/SallyPro.dylib"
18654.885: Plugin failed to load properly "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/SallyPro.dylib"
18654.886: Problems resolving runCheck pointer for "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/Lay.dylib"
18654.886: Plugin failed to load properly "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/Lay.dylib"
18654.887: Problems resolving runCheck pointer for "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/Inda.dylib"
18654.888: Plugin failed to load properly "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/Inda.dylib"
18654.888: Problems resolving runCheck pointer for "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/Harry.dylib"
18654.889: Plugin failed to load properly "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/Harry.dylib"

18654.732: Bibble vers.: 5.0
18654.733: Built on: "Mon Dec 28 2009"
18654.734: Language: en
18654.735: Platform: Mac
18654.735: Build Mode: Release

Mac OS X 10.6.2


Tue Jan 12, 2010 10:22 am
Profile
Bibble Plug-in Developer

Joined: Wed Aug 05, 2009 10:13 am
Posts: 532
Post Re: kbarni's plugins for Mac
meanwhile wrote:
18654.779: Loading plugins
18654.885: Problems resolving runCheck pointer for "/Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/SallyPro.dylib"

so it seems they need to be rebuilt

_________________
my bibble plugins - http://bibble.sadman.net
B5.1 repacks - http://bibble.sadman.net/files/b51/


Tue Jan 12, 2010 10:24 am
Profile
Bibble Plug-in Developer
User avatar

Joined: Sun Feb 01, 2009 4:29 pm
Posts: 293
Location: Bordeaux, France
Post Re: kbarni's plugins for Mac
My friend who compiled the plugins said, there are differences between Leopard and Snow Leopard, even in compilation.
I don't know if this affects the compilation process, too (The plugins are compiled under Snow Leopard).
I don't have any idea why the pointer for the RunCheck function isn't found...(I swear it's in the source code :? )

_________________
http://www.kbarni.net <-- Home of my Bibble plugins


Tue Jan 12, 2010 11:33 am
Profile WWW
Influential Bibble Mac Engineer
User avatar

Joined: Mon Jan 01, 2007 11:06 am
Posts: 758
Location: Austin, TX
Post Re: kbarni's plugins for Mac
kbarni wrote:
My friend who compiled the plugins said, there are differences between Leopard and Snow Leopard, even in compilation.
I don't know if this affects the compilation process, too (The plugins are compiled under Snow Leopard).
I don't have any idea why the pointer for the RunCheck function isn't found...(I swear it's in the source code :? )

There shouldn't be any problems building on 10.5 or 10.6 (we do both here). However, you must be sure that the build settings match the ones that we use. There are Xcode projects included in the SDK for some of the examples and I'd recommend using those as a basis for your own Mac projects (i.e. don't use gcc from the command line). In particular probably the most important settings would be the following:

Use the 10.4u SDK.
MACOSX_DEPLOYMENT_TARGET = 10.4
GCC_VERSION = 4.0

If you compile from the command line then you'd have to figure out how to set all of those manually. The Xcode example projects are already properly configured.

_________________
Dave Thorup
Bibble Mac Developer
Jedi Master: Layers, Color Correction, Magnifier, Presets, Keyword Sets, Sony, Pentax, Panasonic, Minolta and Kodak Cameras.
Guru: Optimization, GUI Design, Image Pipeline, Canon, Nikon, Olympus Cameras.


Tue Jan 12, 2010 1:09 pm
Profile WWW
Bibble Plug-in Developer

Joined: Wed Aug 05, 2009 10:13 am
Posts: 532
Post Re: kbarni's plugins for Mac
dthorup wrote:
kbarni wrote:
My friend who compiled the plugins said, there are differences between Leopard and Snow Leopard, even in compilation.
I don't know if this affects the compilation process, too (The plugins are compiled under Snow Leopard).
I don't have any idea why the pointer for the RunCheck function isn't found...(I swear it's in the source code :? )

There shouldn't be any problems building on 10.5 or 10.6 (we do both here). However, you must be sure that the build settings match the ones that we use. There are Xcode projects included in the SDK for some of the examples and I'd recommend using those as a basis for your own Mac projects (i.e. don't use gcc from the command line). In particular probably the most important settings would be the following:

Use the 10.4u SDK.
MACOSX_DEPLOYMENT_TARGET = 10.4
GCC_VERSION = 4.0

If you compile from the command line then you'd have to figure out how to set all of those manually. The Xcode example projects are already properly configured.

i've compiled the plugins from the command line using gcc without any tweaking and it worked
i was probably lucky ;-)

_________________
my bibble plugins - http://bibble.sadman.net
B5.1 repacks - http://bibble.sadman.net/files/b51/


Tue Jan 12, 2010 1:14 pm
Profile
Influential Bibble Mac Engineer
User avatar

Joined: Mon Jan 01, 2007 11:06 am
Posts: 758
Location: Austin, TX
Post Re: kbarni's plugins for Mac
sadman wrote:
i've compiled the plugins from the command line using gcc without any tweaking and it worked
i was probably lucky ;-)

Well, if you didn't set the MACOSX_DEPLOYMENT_TARGET then the plugins may not run on older versions of Mac OS X - ex: If you complied on 10.6 then it might not run on 10.5 (it probably will run, but there's no guarantee).
If you used gcc 4.2 (command line default), instead of 4.0 then the plugins will not run at all on Mac OS X 10.4.
Setting the SDK isn't quite as important but just ensures (at compile time) that you're not using any functions that might be available in 10.5 or 10.6 but are unavailable in 10.4.

_________________
Dave Thorup
Bibble Mac Developer
Jedi Master: Layers, Color Correction, Magnifier, Presets, Keyword Sets, Sony, Pentax, Panasonic, Minolta and Kodak Cameras.
Guru: Optimization, GUI Design, Image Pipeline, Canon, Nikon, Olympus Cameras.


Tue Jan 12, 2010 1:20 pm
Profile WWW
Bibble Plug-in Developer

Joined: Wed Aug 05, 2009 10:13 am
Posts: 532
Post Re: kbarni's plugins for Mac
dthorup wrote:
sadman wrote:
i've compiled the plugins from the command line using gcc without any tweaking and it worked
i was probably lucky ;-)

Well, if you didn't set the MACOSX_DEPLOYMENT_TARGET then the plugins may not run on older versions of Mac OS X - ex: If you complied on 10.6 then it might not run on 10.5 (it probably will run, but there's no guarantee).
If you used gcc 4.2 (command line default), instead of 4.0 then the plugins will not run at all on Mac OS X 10.4.
Setting the SDK isn't quite as important but just ensures (at compile time) that you're not using any functions that might be available in 10.5 or 10.6 but are unavailable in 10.4.

interesting, thanks

_________________
my bibble plugins - http://bibble.sadman.net
B5.1 repacks - http://bibble.sadman.net/files/b51/


Tue Jan 12, 2010 1:24 pm
Profile
Bibble Plug-in Developer
User avatar

Joined: Sun Feb 01, 2009 4:29 pm
Posts: 293
Location: Bordeaux, France
Post Re: kbarni's plugins for Mac
I used an old Makefile (from this summer's SDK), without these settings.
(I attach the Makefile for Harry).

Could you write me a newer makefile?

Unfortunately I don't know much about the Macs and can't really experiment with them, neither.


Attachments:
File comment: The Makefile I used to compile Harry.
Makefile.txt [487 Bytes]
Downloaded 14 times

_________________
http://www.kbarni.net <-- Home of my Bibble plugins
Tue Jan 12, 2010 2:47 pm
Profile WWW

Joined: Sun Feb 01, 2009 10:06 am
Posts: 25
Location: Oregon
Post Re: kbarni's plugins for Mac
I have Snow on an iMac. Installed these plugins as per Bibble instructions. Nothing happens


patrickh


Tue Jan 12, 2010 10:16 pm
Profile
Bibble Expert
Bibble Expert
User avatar

Joined: Wed Apr 03, 2002 12:54 am
Posts: 917
Location: Oliva, Valencia, Spain
Post Re: kbarni's plugins for Mac
meanwhile wrote:
Many thanks for doing that!

Can you clarify where they should go on a Mac?

I've installed them into the Bibble package at:

/Resources/supportfiles/plugins/ for dylib files
and
/Resources/supportfiles/tools/Plugins for the UI files

The UIs show up in Bibble, but the plugins don't seem to actually do anything. Are they supposed to go somewhere else?



Mac OSX Installation:
1. Close Bibble 5 Pro.
2. Right-click on bibblepro application in the Finder and select "Show Package Contents".
3. Copy the *.dylib file into Contents/Resources/supportfiles/plugins
4. Copy the *.ui file into Contents/Resources/supportfiles/tools/Plugins

_________________
D3, D700, D300 using BibblePro on Windows, Mac and Linux.


Wed Jan 13, 2010 12:24 pm
Profile YIM WWW
Bibble Expert
Bibble Expert
User avatar

Joined: Wed May 14, 2003 10:40 pm
Posts: 1464
Location: netherlands
Post Re: kbarni's plugins for Mac
fwiw, I tried building kbarni Inda plugin with XCode with the tips from Dave above. i just copied the Invert plugin folder and changed everything to Inda, adding the necessary files etc. From what I can see, the setting (10.4 target, GCC4) is fine but:

Since I'm not familiar with it, I probably forgot something because when the plugin is loaded it says:
Code:
59612.922: PluginManager::init() - plugin /Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/libInda.dylib is not the correct version


in the bibbledebugfile.txt

Makefiles were so much easier 8-) - any hints? (or maybe kbarni can take it further from here?)

_________________
Bibble 5 RAWks!


Mon Jan 18, 2010 7:48 am
Profile WWW
Bibble Plug-in Developer

Joined: Wed Aug 05, 2009 10:13 am
Posts: 532
Post Re: kbarni's plugins for Mac
marcof wrote:
Since I'm not familiar with it, I probably forgot something because when the plugin is loaded it says:
Code:
59612.922: PluginManager::init() - plugin /Applications/bibblepro.app/Contents/Resources/supportfiles/plugins/libInda.dylib is not the correct version


in the bibbledebugfile.txt

wrong version of sdk

_________________
my bibble plugins - http://bibble.sadman.net
B5.1 repacks - http://bibble.sadman.net/files/b51/


Mon Jan 18, 2010 8:01 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin