OS X Externals
Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Oct 13 09:54:43 EDT 2004
As an experiment, I put the full path to the external into "the
externals of this stack", quit Rev, and reopened. Same results --
"the externalFunctions of this stack" is empty
On Oct 13, 2004, at 9:04 AM, Thierry Arbellot wrote:
> OK
>
> If you don't want to copy the bundle every-time you rebuild it, use
> the full path to the folder where XCode build the bundle.
> And each time you rebuild the bundle, you should close the stack,
> remove it from memory then reopen it.
>
> Another thing to check: have you add the 2 functions in the Xtable
> array declared in the external.c source file ?
>
> On Wednesday, Oct 13, 2004, at 14:40 Europe/Paris, Frank D. Engel, Jr.
> wrote:
>
>> No, just the name. However, I have now tried using the EnhancedQT
>> external, just to see how that one worked (place it where in order
>> for it to work), and placing it in the Rev folder causes it to work,
>> even w/o the full path in "the externals of this stack", and the
>> externalFunctions does return a list of functions.
>>
>> I placed my external in the same place, but have an empty list of
>> externalFunctions. Apparently something is wrong, either in my C
>> source code, or in the build process.
>>
>> On Oct 13, 2004, at 5:10 AM, Thierry Arbellot wrote:
>>
>>>
>>> On Tuesday, Oct 12, 2004, at 23:44 Europe/Paris, Frank D. Engel, Jr.
>>> wrote:
>>>
>>>> I am trying to build an external for OS X (which I will eventually
>>>> need to get working under Windows as well). There should be no
>>>> outside dependencies from the external itself, other than the
>>>> standard libc. The external contains two functions.
>>>>
>>>> I tried various things, and finally ended up with a .bundle file,
>>>> courtesy of XCode. I tried several different placements of the
>>>> file, and have the name of the bundle in the externals property of
>>>> my main stack, but using 'answer the externalFunctions of this
>>>> stack' from the msgbox always results in an empty message box (just
>>>> the ever-present OK button).
>>>>
>>>> I cannot tell if Rev is not finding my external, if my external was
>>>> not built correctly (found but considered corrupt and silently
>>>> ignored), or if it is somehow being considered an 'empty' external
>>>> (a valid external with no functions).
>>>>
>>>> Could anyone help me to debug this problem? Thank you!
>>>>
>>>> -----------------------------------------------------------
>>>> Frank D. Engel, Jr. <fde101 at fjrhome.net>
>>>>
>>>
>>> Frank,
>>>
>>> Have you set the full path to the bundle in the externals property
>>> of the main stack ?
>>>
>>> Thierry
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>>
>> -----------------------------------------------------------
>> Frank D. Engel, Jr. <fde101 at fjrhome.net>
>>
>> $ ln -s /usr/share/kjvbible /usr/manual
>> $ true | cat /usr/manual | grep "John 3:16"
>> John 3:16 For God so loved the world, that he gave his only begotten
>> Son, that whosoever believeth in him should not perish, but have
>> everlasting life.
>> $
>>
>>
>>
>> ___________________________________________________________
>> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer
>> 10 Personalized POP and Web E-mail Accounts, and much more.
>> Signup at www.doteasy.com
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode
mailing list