Page 1 of 1

rreHardCopy - linking for arm failed

Posted: Wed Jun 01, 2016 10:06 am
by Scoperzor
Hi all, looking for a solution when building the standalone and including the rreHardCopy.lcext file, and receiving the following error:
linking for arm (arm64) failed with
Undefined symbols for architecture arm64:
"__libinfoptr_rrehardcopy", 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)
I have checked that the ext is listed in the script libraries. I am building on LC 7.1.4 Business for iOS 9.3 or newer.

Thanks.

Re: rreHardCopy - linking for arm failed

Posted: Thu Jun 02, 2016 3:08 pm
by dave.kilroy
Hi, the error message in your posting indicates that the version of LiveCode you are using is wanting to build for ARM64 whilst the version of the external you are using is not targeted for this.

I've no idea if there is a more recent version of rrehardcopy than the one you are using, but if there is one I'd try it! If there isn't, consider using an older version of LC that doesn't build for ARM64

Dave

PS: just checked, the latest copy of rrehardcopy.lcext I can find at http://downloads.livecode.com/livecode (contained in the LiveCodeSDK-R14 bundle) is dated 27th September 2012. I know that a newer version, compiled by Monte is available as part of the mergext offering available to indy and business customers, so if you have a paid licence you can get it from your LiveCode product page.

If you don't have a paid-for licence then I'm not sure what to do. It doesn't seem to be available on the LiveCode website unless you have an Indy or Business licence - yet Monte offers it as a free download at http://mergext.com. However you have to be logged in, and possibly a paying customer, before you can access the link. I suggest you go to http://mergext.com, register a free account and download the new version...

Let us know how you get on

Re: rreHardCopy - linking for arm failed

Posted: Thu Jun 02, 2016 5:01 pm
by LCMark
The build of rreHardcopy which Monte has been maintaining is present in 8.0.1 (all editions) - this should work with the latest iOS SDKs.

Re: rreHardCopy - linking for arm failed

Posted: Thu Jun 02, 2016 5:05 pm
by dave.kilroy
Aha! Thanks Mark

Re: rreHardCopy - linking for arm failed

Posted: Fri Jun 03, 2016 7:32 am
by Scoperzor
LCMark wrote:The build of rreHardcopy which Monte has been maintaining is present in 8.0.1 (all editions) - this should work with the latest iOS SDKs.
So will I not be able to get my hands on this external outside of getting 8.0.1?

I downloaded LiveCodeSDK-R14.zip from the downloads page and it did not work for me in 7.1.4.

Re: rreHardCopy - linking for arm failed

Posted: Fri Jun 03, 2016 7:42 am
by Scoperzor
Scoperzor wrote:
LCMark wrote:The build of rreHardcopy which Monte has been maintaining is present in 8.0.1 (all editions) - this should work with the latest iOS SDKs.
So will I not be able to get my hands on this external outside of getting 8.0.1?

I downloaded LiveCodeSDK-R14.zip from the downloads page and it did not work for me in 7.1.4.
I've answered my own question: I downloaded 8.0.1 stable, grabbed the external from that folder and pasted it back into my LC7 directories. It is successfully building for iOS now. Thanks for the hints!

Re: rreHardCopy - linking for arm failed

Posted: Tue Jul 05, 2016 9:10 pm
by KimD
When I try to build a new IOS standalone, about 10% of the time I get a "Building for ARM (ARM64)..." error message. Without changing anything, I just select the Build Standalone option again, and it builds without any error message. Quirky. LC8.0.1 / OSX 10.11.5 / building for IOS min version 7.0