Build OpenCV Applications with MSVC on ARM64 Windows

wak
Fri, 01 Aug 2025 05:29:52 +0000
Uncategorized

when I build opencv on ARM64 Windows, it causes an error. The error message is as follows:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(254,33): error C2664: “__n64 __uint64x1_t_to_n
64(uint64x1_t)”: ??? 1 ?“uint16x4_t”???“uint64x1_t” [C:\opencv\build\modules\world\opencv_world_NEON.vcxproj]
(compiling source file ‘../../../modules/dnn/src/layers/cpu_kernels/conv_winograd_f63.neon.cpp’)
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(254,33):
???,???
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\arm64_neon.h(1957,21):
??“__uint64x1_t_to_n64”???
C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(254,33):
???“(uint16x4_t)”?

1 post - 1 participant