Page 1 of 1

External

Posted: Sun Mar 18, 2012 1:12 pm
by jmburnod
Hi All,

I always have problems with the rrenarrator, rremicrophone and rrecanvas externals :cry:

My configuration is
OSX 10.7.2, LiveCode 5.0.0,Xcode 4.2.1, LiveCodeSDK-R10

They work on the simulator but i have an error message when i build the standalone for IOS
"1 Could not find suitable build of lcext 'binaries/rrenarrator-5_0.lcext' for device"
In fact there is not a file "binaries/rrenarrator-5_0.lcext"

My folder binaries contains 2 files:
rrenarrator-5_0.dylib
rrenarrator.lcext

This is the same with rremicrophone and rrecanvas

Best regards

Jean-Marc

Re: External

Posted: Sun Mar 18, 2012 1:15 pm
by Mark
Hi Jean-Marc,

IIRC you can correct this problem by building externals and standalones for ARM7 only (or was it ARM6).

Best,

Mark

Re: External

Posted: Sun Mar 18, 2012 1:29 pm
by jmburnod
Hi Mark,

Thank for quick reply
I selected ARM7 on the standalone setting and i have same result

Best

Jean-Marc

Re: External

Posted: Sun Mar 18, 2012 1:51 pm
by Mark
Hi Jean-Marc,

Have you also recompiled the externals for ARM7 and have you also tried with ARM6 only?

Kind regards,

Mark

Re: External

Posted: Sun Mar 18, 2012 1:59 pm
by jmburnod
Hi Mark
Have you also recompiled the externals for ARM7
How can i do that ?
have you also tried with ARM6 only
Yes. With the same result

Best

Jean-Marc

Re: External

Posted: Sun Mar 18, 2012 2:31 pm
by Mark
Hi Jean-Marc,

Open XCode and set the architecture for all components to ARM6 or ARM7. Sorry, i don't have XCode open right know and don't know this by heart. You'll have to look around.

Best,

Mark

Re: External

Posted: Sun Mar 18, 2012 8:31 pm
by monte
The problem is the external hasn't been built for a device, only for the simulator. The simulator uses dynamic libraries .dylib but on the device these are not allowed so the externals are compiled into .lcext file which is actually a .a file and then the standalone builder compiles them together into the executable. In the Xcode build settings you will want to compile for armv6 and armv7 so your external will compile with any of the livecode options. Then you need to choose iOS device or if you have a device plugged in it will be called your device name. Then run and you should get your .lcext

Re: External

Posted: Sun Mar 18, 2012 9:09 pm
by jmburnod
Hi,

I ignored the warning message and it work on the device :shock:

rremicrophone work and rrenarrator work in english

Thank for help

Best regards

Jean-Marc

Re: External

Posted: Thu Apr 19, 2012 11:27 pm
by pshuster
I am a newbie, so can someone please tell me how to install rremicrophone and use it, as I wish to record voice on an iphone and then figure out how to email the recording as an attachment. Any help would be greatly appreciated

Re: External

Posted: Fri Apr 20, 2012 12:32 am
by monte
Open your app, open standalone settings, go to copy files, add the binaries folder from rremicrophone

Cheers

Monte

Re: External

Posted: Tue May 22, 2012 5:16 pm
by JosepM
Don't work for me...

How I compile the externals? Why don't copy the externals?

buff.....

Salut,
Josep M

Re: External

Posted: Sat Jun 02, 2012 9:08 am
by Mark
Hi Josep,

When you ask such questions, it is better to start your message with "I have installed XCode 4.x [fill in correct version] and tried to compile the external but when I do this I get stuck because... [an error occurs|my computer crashes|something else]". That way is will be easier to help you.

Not sure what you mean with "why don't copy".

Kind regards,

Mark

Re: External

Posted: Mon May 27, 2013 7:51 am
by jun
Hi Guys,

I have Livecode 5.5.5 and xcode 4.6.2. When I created a standalone build, it was successful. But it seems the external does not work for me, is there any reason that the externals don't work? My question is just to broad but maybe you can give me most common causes why it does not work.

Thanks,
-jun-

Re: External

Posted: Mon May 27, 2013 7:56 am
by BvG
You need to offer more information then that. What externals, what's your target platform, what did you try but didn't work? Did you checkmark the external, or was it a different one? Did you read any of the lessons.runrev.com, etc.

For starters you can put a button on your finished project, that shows you the externalcommands of all stacks, as well as the externalfunctions.

As a final note, I'd suggest not to answer to a completely unrelated existing thread, and instead make your own.