realbasic-plugins
[Top] [All Lists]

Re: Incorporating existing C/C++ libraries into an RB Project. . .?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Incorporating existing C/C++ libraries into an RB Project. . .?
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Mon, 30 Jul 2007 13:28:52 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <C2D3BCE5 dot B5A40%listmail1 at dsl dot pipex dot com> <A0EAE12C-55F9-4E67-B8AA-8F1DAE74235A at mgreg dot com> <EE292F6D-4328-4D65-BAD2-F73BAC2BAA39 at desuetude dot com> <7B48FC7D-ED05-42C8-B318-1639C5C3C7A2 at mgreg dot com>
For Mac OS X, you can put the .dylib into the bundle, and this is a  
good way to do it.  I think that you can wrap the library into a  
framework bundle, and this should make it easier to declare to it  
without hard-coded paths.

Charles Yeomans


On Jul 30, 2007, at 1:16 PM, Michael Williams wrote:

> Gotcha,
>
> So you're recommending going the "dylib" route as opposed to the
> plugin route?  What kind of recommendations have you for actually
> distributing the "dylib"?  Someone mentioned actually placing the
> "dylib" in the RB package, I'm not terribly familiar with that
> process, nor how to reference a self-contained library.
>
> Michael
>
> On Jul 30, 2007, at 12:23 PM, Charles Yeomans wrote:
>
>> I looked at the link.  The library has a C interface, so my guess is
>> that it would be fairly straightforward to write some REALbasic
>> wrapper code that would allow you to call the library from all
>> platforms.
>>

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

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


<Prev in Thread] Current Thread [Next in Thread>