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

Any plan to support ARM64 ? #42

Open
BeLe07 opened this issue Mar 15, 2021 · 5 comments
Open

Any plan to support ARM64 ? #42

BeLe07 opened this issue Mar 15, 2021 · 5 comments

Comments

@BeLe07
Copy link

BeLe07 commented Mar 15, 2021

Hi,
Thanks for this code allowing quick implementation and testing of ArUco.
Do you have any plan to support ARM64 or a workaround ? When generating the projet using "Visual Studio 16 2019" -A ARM64, I'm annoyed with the inclusion of emmintrin.h which is dedicated to X86/X64, being able to get the NEON alternative directly would be great :)

@patrickmemestar
Copy link

I can't believe i've only now noticed what you're doing. I will let you know if i figure something out

@BeLe07
Copy link
Author

BeLe07 commented Mar 15, 2021

I can't believe i've only now noticed what you're doing. I will let you know if i figure something out

Ok, thanks :)

@patrickmemestar
Copy link

Okay so, I've found out that when you'd like to build for UWP (which should be ARM64 inclusive). The command should look something like this :

CMake -DCMAKE_INSTALL_PREFIX=install/ -G Visual Studio 16 2019 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10 ../../3rdparty/opencv_contrib/

However no matter which commands i run. i still get the following error:
image

@BeLe07
Copy link
Author

BeLe07 commented Mar 17, 2021

I switched OpenCV to 4.5.1 to be use to get a version tested with the recent compilers.

Using CMake 3.19.7, VS 16.9.0 with command line: CMake -DCMAKE_INSTALL_PREFIX=install/ -G "Visual Studio 16 2019" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 ../../3rdparty/opencv_contrib/
I got a project configured for X64 only.

Specifying -A ARM64 gave me a project for ARM64.
Entering the command line: cmake --build . --config Release fails with a MSBUILD error MBS1009 telling that the project doesn't exist.

Opening the solution with VS to build it gave me the same emmintrin.h error.

@vincenzocivale
Copy link

Please help, there is someone who knows how to solve the problem. I need it to complete a University assignment

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

3 participants