REP: crash when compiling macho

Russ Tyndall fitzbew at nc.rr.com
Sat Apr 15 11:03:42 CDT 2006


On 4/15/06 7:23 AM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> On 4/15/06 2:19 PM, "Jules Jacquot" <jules.jacquot at wanadoo.fr> wrote:
> 
>> Install V4RB_2.3
>> 
>> drag V4RB_2.3 macho into plugin folder
>> 
>> V4RB_2.3 absent
>> 
>> Run an app  build setting  mac os-x only
>> 
>> sometimes crash sometimes no
> 
> No correct.
> 
> You need
> 
> 1) download and install V4RB CARBON (PEF)
>   this is V4RB_2_mac.dmg archive.
> 
> 2) having this you already can develop, debug,
>   build Macho app for testing but not deployment.
> 

May I offer a tiny clarification, for the sake of the archives?  I was
enormously confused by this just a few days ago:

You can have the "V4RB" (Carbon) plugin in the RB IDE and build your
desktop-based V4RB app in the RB IDE with the compiler set to "Mac OS X
only" [Mach-O] *but* the Carbon vComponents library *must* be in the
/Library/CFMSupport/ folder of any machine that will run the app (and your
development machine also, of course). So, you can deploy these Mach-O apps
but you must also deploy the carbon vComponents folder into
/Library/CFMSupport/ at the same time.

> 3) to be able build Macho app to deploy you need
>   download V4RB_MACHO archive.
>   then REPLACE V4RB.rbx plugin by one from this archive.
>       (do not loose prev plugin. :-)
> 
> 4) Now you can build macho.app
>   then copy inside the VComponents macho folder
> 
> DONE.
> 

And this app built with the "V4RB_Macho" plugin per Ruslan's instructions in
step 3-4 above will be a completely stand-alone application to the user,
like most traditional Mac users expect.  No installer necessary.  But the
downside is you cannot run the app in the RB debugger.

I don't understand the technical reasons behind this dichotomy, but I guess
it has to do with what kinds of files (libraries?) the RB IDE is capable of
integrating into its own builds.  Perhaps the Valentina engine cannot be
integrated into the RB plugins, and RB cannot integrate anything external to
a plugin into an app.  Something about each plugin tells Valentina where to
look for vComponents and what format they will be in.

But no matter the technical reasons, I've been told that upcoming changes to
the RB IDE will enable us to leave these issues behind us.

-- 
Russ Tyndall
Wake Forest, NC



More information about the Valentina mailing list