realbasic-plugins
[Top] [All Lists]

Re: OT: Framework vs. dylib (Was: Incorporating existing C/C++. .)

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: OT: Framework vs. dylib (Was: Incorporating existing C/C++. .)
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Tue, 31 Jul 2007 12:48:43 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <20070731154618 dot BF5A84E95E7 at lists dot realsoftware dot com> <30490C6F-2918-4A5D-AB75-599AF4353CC6 at desuetude dot com> <C95E4006-54B3-47D0-92E9-D102D98EFB1D at mgreg dot com>
It's not arbitrary.  As I explained earlier, when you build a debug  
app, the REALbasic IDE does not provide a way to add the library to  
the debug application bundle.  So you need to put the library  
somewhere else, and declarations in debug apps must specify that  
location.

I'd guess that RS doesn't make it "intuitive" because this is a Mac  
OS problem only, and only a problem for "advanced" developers.  I  
believe that RS gives lower priority to single-platform problems, and  
especially single-platform problems that only affect developers who  
know enough to find a way to work around the problem.

Charles Yeomans

On Jul 31, 2007, at 12:20 PM, Michael Williams wrote:

> I'll check the book out.  As I said, despite repeated explanations,
> my confusion is still regarding the fact that there is a need to
> differentiate between debug and production builds.  Using a constant
> just makes sense, but the need for the value to be different
> depending on which it is seems a bit arbitrary.  I guess I'm curious
> as to why RB doesn't make it "intuitive"; a sort of "add-plugins-or-
> dylibs-here" type of reference if nothing else.
>
> Anyway, I'll get to reading.  Thanks for the help thus far.
>
> Regards,
> Michael
> On Jul 31, 2007, at 12:01 PM, Charles Yeomans wrote:
>
>> Use a constant to refer to the library.  Set it for different values
>> for debugBuild and not debugBuild.  I think this sort of thing is
>> discussed in my online declares book.
>>
>> Charles Yeomans
>>
>
_______________________________________________
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>