On 15-May-07, at 6:14 PM, Alfred Van Hoek wrote:

>
> On May 15, 2007, at 6:02 PM, Norman Palardy wrote:
>
>> I'm working on a plugin that in which I want to use a dylib
>> In a plain C++ app in XCode I add the headers and the dylib and it
>> works
>>
>> When I do the same in a UB plugin, using David Addey's fine starter,
>> I get linker errors which seem to suggest that I can't have a dylib
>> or bundle use another dylib.
>
>
> Under the hood Xcode will call dlopen, dlsym etc or uses the CFBundle
> apis. It is similar when using Visual C, i.e., dll-specific loading
> code is used. This means on windows to call LoadLibrary and
> GetProcAddress and on the mac after loading the bundle you will need
> to call CFBundleGetFunctionPointerForName.

So there is no way to take a dylib and statically link it in then is  
there ?
I'd really not be surprised but that's roughly what I need to  
accomplish and I definitely have not figured out how to do this
Sounds like I'll have to find source and compile that into a static  
library and link it in

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to