imagededup icon indicating copy to clipboard operation
imagededup copied to clipboard

Fail compiling on iOS.

Open jmspaggi opened this issue 1 year ago • 5 comments

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.

jmspaggi avatar Dec 20 '24 15:12 jmspaggi

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'

jmspaggi avatar Dec 20 '24 16:12 jmspaggi

any update on this ?

jodhaakbar avatar Feb 22 '25 13:02 jodhaakbar

The package hasn't been built/distributed for ios, but for macOS. Can you run it on MacOs?

tanujjain avatar May 13 '25 19:05 tanujjain

Ha sorry, it was MacOS, not iOS.

jmspaggi avatar May 13 '25 19:05 jmspaggi

Could you try with the latest release?

tanujjain avatar May 14 '25 12:05 tanujjain