External

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

External

Post by jmburnod » Sun Mar 18, 2012 1:12 pm

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
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: External

Post by Mark » Sun Mar 18, 2012 1:15 pm

Hi Jean-Marc,

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

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: External

Post by jmburnod » Sun Mar 18, 2012 1:29 pm

Hi Mark,

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

Best

Jean-Marc
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: External

Post by Mark » Sun Mar 18, 2012 1:51 pm

Hi Jean-Marc,

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

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: External

Post by jmburnod » Sun Mar 18, 2012 1:59 pm

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
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: External

Post by Mark » Sun Mar 18, 2012 2:31 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: External

Post by monte » Sun Mar 18, 2012 8:31 pm

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
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: External

Post by jmburnod » Sun Mar 18, 2012 9:09 pm

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
https://alternatic.ch

pshuster
Posts: 9
Joined: Thu Apr 19, 2012 11:22 pm

Re: External

Post by pshuster » Thu Apr 19, 2012 11:27 pm

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

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: External

Post by monte » Fri Apr 20, 2012 12:32 am

Open your app, open standalone settings, go to copy files, add the binaries folder from rremicrophone

Cheers

Monte
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: External

Post by JosepM » Tue May 22, 2012 5:16 pm

Don't work for me...

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

buff.....

Salut,
Josep M

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: External

Post by Mark » Sat Jun 02, 2012 9:08 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jun
Posts: 10
Joined: Mon May 27, 2013 7:44 am
Contact:

Re: External

Post by jun » Mon May 27, 2013 7:51 am

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-

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: External

Post by BvG » Mon May 27, 2013 7:56 am

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.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Post Reply