I would start from Dave Addey's excellent Xcode template instead of Thomas
Tempelman's since the latter is quite out of date. On Windows I would use
Visual Studio if you have access to it. The plug-in SDK has example projects
you can work from.
As for integrating a C/C++ library into a plug-in take a look at the
PNGUtilities example in plug-in SDK. This a Mac plug-in that wraps libpng
and it sounds similar to what you want to do.
Chris
on 7/27/07 3:08 PM, Didier CUGY at didier dot cugy at neuf dot fr wrote:
> there is no problem to include a library in a plugin.
>
> the thomas tempelman example allow to understand how to write plugin.
>
> this is more difficult with Mach-O plugins but the SDK example work.
>
> the best way is to use XCODE for mach-o plugin (macintel and PPC)
>
> and code warrior for classic and windows. i prefer the 8.3 version.
>
> best regards
>
>
>
> Le 27 juil. 07 à 20:48, Michael Williams a écrit :
>
>> Note: This is a repost per Joe Strout's suggestion to post to the
>> "plugins" list. Joe has replied, but I'd also like to get the list's
>> thoughts.
>>
>>
>>
>>
>> Hi All,
>>
>> I'm currently developing a program that requires the use of a few odd
>> file formats (e.g. FITS, etc.). Obviously RB doesn't support opening
>> or manipulating this file format (does it?). Therefore I need to
>> incorporate the functionality of an existing C/C++ library (as a
>> plugin or otherwise) into my RB project.
>>
>> I need this to be cross-platform. Will I need to create separate
>> plugins for each? I'd prefer the MBS approach in having only one
>> plugin that is cross-platform. How, exactly, is this achieved? Will I
>> need to map each and every function manually or is the plugin system
>> intuitive enough to expose functionality?
>>
>> I've been looking through the SDK documentation but it doesn't seem
>> very well organized or up to date.
>>
>> If possible, I'd appreciate a tutorial or some information that
>> provides direction from beginning to end in a *clear*, *concise*
>> manner on how to include an entire existing C/C++ library into an RB
>> project.
>>
>> Regards,
>> Michael
>> _______________________________________________
>> Unsubscribe or switch delivery mode:
>> <http://www.realsoftware.com/support/listmanager/>
>>
>> Search the archives:
>> <http://support.realsoftware.com/listarchives/lists.html>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|