Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm64 build issue #14

Open
Juntano opened this issue Sep 18, 2017 · 4 comments
Open

Arm64 build issue #14

Juntano opened this issue Sep 18, 2017 · 4 comments

Comments

@Juntano
Copy link

Juntano commented Sep 18, 2017

Hi, i am currently working on a AR project for my school, and what u did with this project looks cool !
I tried to build your project ( on a Virtual machine / Os 10.12).
When i try to build it, it gives me this error :
d: warning: ' file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 ) which is not the architecture being linked (arm64): /Users/test/ARKitExperiments/opencv/Frameworks/Plugins/iOS/OpencvProcessing/opencv2.framework/opencv2 "

i was wondering if u have any idea to solve this problem?
i am using the same Unity version as you, as well as ios 11 for my cellphone etc...

Thanks a lot !
( sorry for my english, i am a baguette (Vive la France !) )

@realityenhanced
Copy link
Owner

Hi,

This looks like an issue with the opencv framework file that was copied to the OpencvProcessing folder.

Did you use the opencv2.framework file from here?
https://sourceforge.net/projects/opencvlibrary/files/opencv-ios/3.3.0/opencv-3.3.0-ios-framework.zip/download

Bon Chance!

@ghost
Copy link

ghost commented Sep 19, 2017

Hi,
I'm working with my friend, I used the link you gave but we still encounter the same problem.

We also didn't mention but with the warning given, we have 20 errors with this kind of message:

Undefined symbols for architecture arm64: "cv::String::allocate(unsigned long)", referenced from:
cv::Mat::Mat(int, int, int, void*, unsigned long) in libopencvprocessing.a(matchdescriptors.o)

For what it's worth, building the project on Unity 2017.1.1f1 doesn't give us any errors or warnings.
We are using the latest Xcode (Version 9.0 (9A235)).
I read on some forums that it might be some library linking problem did you have this kind of issue before ?

Thank you for your support.

Please forgive us for our poor knowledge of Xcode, we are new to the iOS/OSX stuff :)

@realityenhanced
Copy link
Owner

I haven't hit this issue, but I am using Xcode Version 9.0 beta 5 (9M202q)

@realityenhanced
Copy link
Owner

I updated to the Xcode version you are using (Version 9.0 (9A235)), but have no issues compiling in Xcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants