rreHardCopy - linking for arm failed

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

rreHardCopy - linking for arm failed

Post by Scoperzor » Wed Jun 01, 2016 10:06 am

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.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: rreHardCopy - linking for arm failed

Post by dave.kilroy » Thu Jun 02, 2016 3:08 pm

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
"...this is not the code you are looking for..."

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1232
Joined: Thu Apr 11, 2013 11:27 am

Re: rreHardCopy - linking for arm failed

Post by LCMark » Thu Jun 02, 2016 5:01 pm

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.

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: rreHardCopy - linking for arm failed

Post by dave.kilroy » Thu Jun 02, 2016 5:05 pm

Aha! Thanks Mark
"...this is not the code you are looking for..."

Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Re: rreHardCopy - linking for arm failed

Post by Scoperzor » Fri Jun 03, 2016 7:32 am

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.

Scoperzor
Posts: 78
Joined: Tue Jan 27, 2015 1:10 pm

Re: rreHardCopy - linking for arm failed

Post by Scoperzor » Fri Jun 03, 2016 7:42 am

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!

KimD
Posts: 225
Joined: Wed Jul 08, 2015 5:51 am

Re: rreHardCopy - linking for arm failed

Post by KimD » Tue Jul 05, 2016 9:10 pm

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

Post Reply