Re: FCP FxPlug load order - how do I control?
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com User-agent: Thunderbird 2.0.0.14 (Windows/20080421) 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., Cheers. -- Paul Miller | paul@fxtech.com | www.fxtech.com | Got Tivo? _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... Peter Litwinowicz wrote: 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Miller