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: Peter Litwinowicz <email@hidden>
- Date: Wed, 25 Jun 2008 19:58:17 -0700
- Thread-topic: FCP FxPlug load order - how do I control?
> 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.
Except that I have it in my "other C flags" entry (and hence "other C++
Flags" entry), not "Other linker flags"
Perhaps it gets passed to the linker as well, but I believe you need it at
compile time too? Dunno. Just know what I have.
Also, hopefully you are using GCC4 (with Xcode) or later. Gcc 3.3 does not
support the hidden flags.
Pete
_______________________________________________
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