How do I use mergMK with LC8 ?
Moderators: FourthWorld, heatherlaine, Klaus, robinmiller, monte
-
- Posts: 222
- Joined: Thu Jul 19, 2012 9:47 am
- Location: Khanom, Nakhon Si Thammarat, Thailand
- Contact:
How do I use mergMK with LC8 ?
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
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
-
- 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 ?
...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
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 ?
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 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/
-
- 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 ?
Thanks Monte. All working now.
(Sorry for slow reply.)
--paul
(Sorry for slow reply.)
--paul
-
- 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 ?
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
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 ?
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/
Re: How do I use mergMK with LC8 ?
Sorry but does the mergMk external works for Android, as I know it is only for IOS.
-
- 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 ?
That's good news, thank you Monte.monte wrote:In LC 8.1 you can choose to select the inclusions yourself which will enable the Inclusions pane of the standalone settings.
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
-
- 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 ?
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
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 ?
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.
-
- 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 ?
At the moment I'm only using it with iOS.Armenhui wrote:paulsr wrote:Hi, did you use mergMK for Android ? as I know it only supporst IOS.
--paul