realbasic-plugins
[Top] [All Lists]

Re: Problems in 2005r4 with my custom plugin

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Problems in 2005r4 with my custom plugin
From: "Peter K. Stys" <pstys at ohri dot ca>
Date: Tue, 15 Nov 2005 09:15:59 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <BF967F23 dot 3C07A%listmail1 at dsl dot pipex dot com> <p06230900bf9af043c07c at [192 dot 168 dot 2 dot 55]>
I had a similar problem that may be related. when you get that error, try changing the modification date of your plugin file (I wrote a small RB program to do this), and retry. This always fixed the problem for me. This was happening with not one but 3 different plugins that always worked before, so it was an RB issue I'm sure.

Since I moved to RB2005v4 and use dylibs only, I have not had a recurrence of this problem tho.

P.

On 11-Nov-05, at 8:07 PM, Bob Delaney wrote:


At 4:13 PM +0000 11/8/05, Dave Addey wrote:
The plugin worked fine under 5.5.5. It's Mach-O only, as is my app. When I launch 2005r4 for the first time, and open my project, it will compile (debug and build) quite happily. But, if I quit 2005r4 and then launch it
again, I get the following error:

Compilation of [my project's name] failed.
Cannot load Mac OS version of plugin "plugin:Temp-21287:6".

I've found that removing my plugin, launching 2005r4, and compiling (which fails due to missing plugin) causes RB to go through a "preparing plugins" stage. If I then quit rb, reinstate my plugin, launch rb and compile, it again prepares plugins and this time compiling works until I next quit and
relaunch rb (when it's back to the start again, as above).

I used the just released Xcode 2.2 and my latest Integer Plugin source to create "Integer Plugin.dylib" as a Mach-O plugin.

On the initial try with RB 2005, Release 4, having its Build Settings set to "Mac OS X only", my test application successfully compiled and ran. But when I quit RB and tried to run my application again, I got the message:

Cannot load Mac OS version of plugin "plugin:Integer Plugin.dylib: 123123200"

Using "RB Plugin Converter" I made an rbx version of Integer Plugin from the dylib. The rbx version exhibited the same problem as the dylib.

I put back the Integer Plugin.dylib. I could not reproduce the problem!

Then I replaced the dylib with the rbx version. The problem reappeared.

Then I replaced the rbx with the dylib. Now the dylib had the problem again.

So the problem is not always reproducible. That will make it difficult to track down.

My G4 iMac is using Mac OS 10.4.3.

Bob
_______________________________________________
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>


------------------------------------------------------------------------ -------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel:    (613)761-5444
fax:    (613)761-5330
http://www.ohri.ca/profiles/stys.asp
------------------------------------------------------------------------ -------


_______________________________________________
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>

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