![]() ![]() You probably have a mix of X86 and X64 modules (and, perhaps, object files) from previous compilations. make: *** Error 2Ĭ:\Users\Administrator\jna\build. 01-10-2019 01:18 AM 846 Views You misquoted the first error message - the mismatch is between X86 and X64 target architectures. make: Leaving directory '/cygdrive/c/Users/Administrator/jna/build/native-win32-aarch64/libffi' ![]() src\x86\win32.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'ARM64' I assume that the link helps in installation of opencv for both c++ and python. Microsoft (R) Library Manager Version 6.0 I have been trying to install Opencv in Windows, according to this link. libtool: link: lib -OUT.libs/ffi_convenience.lib src/prep_cif.obj src/types.obj src/raw_api.obj src/java_raw_api.obj src/closures.obj src/x86/ffi.obj src/x86/win32.obj libtool -tag=CC -mode=link /cygdrive/c/Users/Administrator/jna/native/libffi/msvcc.sh -warn all -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/win32.lo Must remake target 'libffi_convenience.la'. Successfully remade target file 'src/x86/win32.lo'. ![]() You need to call: 'vcvarsall.bat' and specify the '圆4' flag, e.g. Ant native -DEXTRA_MAKE_OPTS= "-debug=v "Ĭlick for full logs: Assembling: src/x86/win32.asm It doesnt look like you are calling the 64-bit compiler. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |