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

Fail compiling on iOS. #225

Open
jmspaggi opened this issue Dec 20, 2024 · 1 comment
Open

Fail compiling on iOS. #225

jmspaggi opened this issue Dec 20, 2024 · 1 comment

Comments

@jmspaggi
Copy link

jmspaggi commented Dec 20, 2024

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
Copy link
Author

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'

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

1 participant