Re: FCP FxPlug load order - how do I control?
Re: FCP FxPlug load order - how do I control?
- Subject: Re: FCP FxPlug load order - how do I control?
- From: Paul Miller <email@hidden>
- Date: Wed, 25 Jun 2008 21:40:57 -0500
Peter Litwinowicz wrote:
I should have been more clear. They are independent plugins that happen
to have some C++ classes in each that are named the same.
Say I have a C++ class GlobalStuff in each one, and it's declared
statically. The second one to load is calling into the methods of the
instance in v1, even though they are declared statically. This doesn't
happen with similar code in other hosts.
To Paul M.,
Hopefully you are using GCC 4 or later. I found the info below on the
web here http://gcc.gnu.org/wiki/Visibility and was instrumental in
getting our FxPlugs working properly (because we ran into what you are
running into). It’s not a host problem. It’s a C/C++ compiled code
loading problem in Objective-C hosts. Blame the compiler/linker
writers! However, there IS an easy fix.
Thanks Pete - I knew there would be something like this in there. I'm
using Xcode, so I assume I can just set those extra command-line
switches you mentioned on the "Other linker flags" setting.
I had just read up on the __attribute__ visibility thingy last week, but
wasn't sure of the best way to enable it.
Cheers.
--
Paul Miller | email@hidden | www.fxtech.com | Got Tivo?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden