imagededup
imagededup copied to clipboard
Fail compiling on iOS.
While trying to compile/install imagededup on iOS I'm getting the following compilation error:
imagededup/handlers/search/brute_force_cython_ext.cpp:790:10: fatal error: 'ios' file not found
790 | #include "ios"
| ^~~~~
1 error generated.
I tried the 2 options listed there: https://idealo.github.io/imagededup/#installation
Both failed with the same error.
I have made some progress here but I'm still failing on this:
creating build/temp.macosx-10.9-universal2-cpython-311
creating build/temp.macosx-10.9-universal2-cpython-311/imagededup
creating build/temp.macosx-10.9-universal2-cpython-311/imagededup/handlers
creating build/temp.macosx-10.9-universal2-cpython-311/imagededup/handlers/search
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -Iimagededup/handlers/search -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c imagededup/handlers/search/brute_force_cython_ext.cpp -o build/temp.macosx-10.9-universal2-cpython-311/imagededup/handlers/search/brute_force_cython_ext.o -O3 -march=native -mtune=native -stdlib=libc++
error: unknown target CPU 'apple-m1'
any update on this ?
The package hasn't been built/distributed for ios, but for macOS. Can you run it on MacOs?
Ha sorry, it was MacOS, not iOS.
Could you try with the latest release?