-
Notifications
You must be signed in to change notification settings - Fork 6
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
Illegal Instruction: 4 #5
Comments
Hmm, but I do build with SSE 4.1 - which I don't think is supported on a the processor in the MacPro 2008 Edition. It should actually be relatively easy for you to build dlib yourself using this repo:
You may need to edit the Apologies for that, this is part of the reason why distributing binaries is so complicated! |
Should support SSE 4.1. See: https://en.wikipedia.org/wiki/List_of_Macintosh_models_grouped_by_CPU_type#Penryn It looks like the installer checks and enables SSE4.1 if it detects a 64-bit OS, which seems correct to me. But, either way, with SSE4 in build.sh hardcoded in or out, the same thing happens:
Is it possible that the error is being emitted by opencv? |
That's weird. OpenCV isn't required by dlib so it definitely isn't OpenCV. Normally illegal instructions come from building on a new OSX version and then running on an older one. However, you are using 10.11 too so that seems strange. The only other options I can think of are:
Other than that there aren't really any other dependencies! |
Mac OS X 10.11.2, with anaconda.
That usually means a binary used an instruction not supported by the CPU. My machine doesn't have AVX (its a MacPro 2008), but your distro says its built without AVX anyway.
Can you advise how to track this down?
The text was updated successfully, but these errors were encountered: