At 12:48 PM 3/17/2006 -0500, you wrote:

> Sounds pretty hacky.
>
> The real question to me would be: how does REALBasic regard
> "FooLib.dylib" as where it is? The docs are sketchy, it just says "if
> it is on your system." What does that mean? On Windows you have a set
> way of doing this: same folder, system folder, environment path.
>
> My solution actually is
>
> #if DebugBuild
>    Soft Declare Sub Foo Lib "@executable_path/../../../FooLib.dylib" ()
> #else
>    Soft Declare Sub Foo Lib
> "@executable_path/../Frameworks/FooLib.dylib" ()
> #endif
>
> And make sure I have all my dylib(s) in the same folder as my .rbp
> file.
>

Because the IDE provides no support for adding items to a bundle at
build time, any solution is a hack.  I'm sure you'll find one that you
like.

Yeah, I hope RB fills out this need. So far I'm pretty happy with RB2006, although it's starting to show signs of dodginess like the other versions. I hope they take advantage of this "lull" of needed technology and sturdies up the whole program. Gosh, I just get so tired of completely recompiling the app every time the IDE build starts. It's like the word "efficiency" has no more meaning. =)

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to