How do I use mergMK with LC8 ?

This is the place to get technical support and discuss all things to do with MergEXT

Moderators: FourthWorld, heatherlaine, Klaus, robinmiller, monte

Post Reply
paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

How do I use mergMK with LC8 ?

Post by paulsr » Thu May 26, 2016 6:22 am

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

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: How do I use mergMK with LC8 ?

Post by paulsr » Thu May 26, 2016 6:34 am

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

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

Re: How do I use mergMK with LC8 ?

Post by monte » Tue Jun 07, 2016 4:19 am

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

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: How do I use mergMK with LC8 ?

Post by paulsr » Sun Jun 26, 2016 8:50 am

Thanks Monte. All working now.

(Sorry for slow reply.)

--paul

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: How do I use mergMK with LC8 ?

Post by paulsr » Thu Jul 07, 2016 12:02 pm

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

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

Re: How do I use mergMK with LC8 ?

Post by monte » Wed Jul 13, 2016 4:58 am

In LC 8.1 you can choose to select the inclusions yourself which will enable the Inclusions pane of the standalone settings.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Re: How do I use mergMK with LC8 ?

Post by Armenhui » Thu Jul 21, 2016 9:59 am

Sorry but does the mergMk external works for Android, as I know it is only for IOS.

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: How do I use mergMK with LC8 ?

Post by paulsr » Fri Jul 22, 2016 12:16 pm

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

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: How do I use mergMK with LC8 ?

Post by paulsr » Sat Jul 23, 2016 9:26 am

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

Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Re: How do I use mergMK with LC8 ?

Post by Armenhui » Sat Jul 23, 2016 1:55 pm

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.

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: How do I use mergMK with LC8 ?

Post by paulsr » Sun Jul 24, 2016 1:33 am

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

Post Reply

Return to “MergEXT”