Page 1 of 1

How do I use mergMK with LC8 ?

Posted: Thu May 26, 2016 6:22 am
by paulsr
Greetings:

I have a working app which uses mergMK.

Previous builds were done with LC7, but now I'm trying to upgrade my apps to LC8.

When I try to build for iOS with LC 8.0.1(rc1) I get a message:

linking for arm (arm64) failed with ld: warning: object file
(/Applications/LiveCdeo Indy 8.0.1 (rc 1).app/Contents/Tools/Runtime/iOS/Device-9_3/Standalone)
was built for newer iOS version (9.3) than being linked (7.0)
Undefined symbols for architecture arm64:
"__libinfoptr_mergMK", referenced from:
-u command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to
see invocation)

And, for me, that might as well be written Swahili.

Is it trying to tell me I can only build for iOS 9.3, or.....?

TIA

--paul

Re: How do I use mergMK with LC8 ?

Posted: Thu May 26, 2016 6:34 am
by paulsr
...and when I try to build for Android I get an error...

There was an error while saving the standalone application
could not compile application class.

Which tells me nothing at all.

Heeeeelllppp.

--paul

Re: How do I use mergMK with LC8 ?

Posted: Tue Jun 07, 2016 4:19 am
by monte
Hi @paulsr

LiveCode 8.0.1 includes support for adding mergExt externals in the Standalone Builder. It is improved again (quite dramatically) in LiveCode 8.1 but in 8.0.1 you can add a mergExt external on the copy files pane directly.

Cheers

Monte

Re: How do I use mergMK with LC8 ?

Posted: Sun Jun 26, 2016 8:50 am
by paulsr
Thanks Monte. All working now.

(Sorry for slow reply.)

--paul

Re: How do I use mergMK with LC8 ?

Posted: Thu Jul 07, 2016 12:02 pm
by paulsr
And then it suddenly stopped working for Android builds. iOS builds were fine.

I was getting an error message:

Could not find referenced asset to include-
/Users/livecode/myapps/tripi2/mergMK

That's the directory where the app source lives.

This was with LC Indy 8.0.1. So, I upgraded to LC Indy 8.1.0(dp2) which does the auto detect and the builds work fine for both iOS and Android.

*** BUT, BUT, BUT ... that autodetect process takes three and a half minutes, which makes builds a painful process.

Is there some way to speed it up, or perhaps make it optional? i.e., I could say "include these" or I could choose the autodetect.

Thanks...

--paul

Re: How do I use mergMK with LC8 ?

Posted: Wed Jul 13, 2016 4:58 am
by monte
In LC 8.1 you can choose to select the inclusions yourself which will enable the Inclusions pane of the standalone settings.

Re: How do I use mergMK with LC8 ?

Posted: Thu Jul 21, 2016 9:59 am
by Armenhui
Sorry but does the mergMk external works for Android, as I know it is only for IOS.

Re: How do I use mergMK with LC8 ?

Posted: Fri Jul 22, 2016 12:16 pm
by paulsr
monte wrote:In LC 8.1 you can choose to select the inclusions yourself which will enable the Inclusions pane of the standalone settings.
That's good news, thank you Monte.

But please can you tell me how. I can't find anywhere to specify inclusions. I'm now running 8.1.0(dp2).

TIA

--paul

Re: How do I use mergMK with LC8 ?

Posted: Sat Jul 23, 2016 9:26 am
by paulsr
Okay. Question answered.

Under Standalone Application Settings - General, I choose "Select inclusions for the standalone application" and then choose "MergMK" under the Inclusions tab.

Obvious really!

And the build is sooooooooo much faster.

--paul

Re: How do I use mergMK with LC8 ?

Posted: Sat Jul 23, 2016 1:55 pm
by Armenhui
paulsr wrote:And then it suddenly stopped working for Android builds. iOS builds were fine.

I was getting an error message:

Could not find referenced asset to include-
/Users/livecode/myapps/tripi2/mergMK

That's the directory where the app source lives.

This was with LC Indy 8.0.1. So, I upgraded to LC Indy 8.1.0(dp2) which does the auto detect and the builds work fine for both iOS and Android.

*** BUT, BUT, BUT ... that autodetect process takes three and a half minutes, which makes builds a painful process.

Is there some way to speed it up, or perhaps make it optional? i.e., I could say "include these" or I could choose the autodetect.

Thanks...

--paul

Hi, did you use mergMK for Android ? as I know it only supporst IOS.

Re: How do I use mergMK with LC8 ?

Posted: Sun Jul 24, 2016 1:33 am
by paulsr
Armenhui wrote:
paulsr wrote:Hi, did you use mergMK for Android ? as I know it only supporst IOS.
At the moment I'm only using it with iOS.

--paul