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

Installation error #10

Closed
chassierPA opened this issue Oct 10, 2018 · 8 comments
Closed

Installation error #10

chassierPA opened this issue Oct 10, 2018 · 8 comments

Comments

@chassierPA
Copy link

chassierPA commented Oct 10, 2018

GCC 7.3.0 , i get this error :

go get github.com/Kagami/go-face
command.

# github.com/Kagami/go-face
In file included from /usr/include/dlib/matrix/matrix_conv.h:8:0,
                 from /usr/include/dlib/matrix.h:13,
                 from /usr/include/dlib/graph_utils/function_objects.h:7,
                 from /usr/include/dlib/graph_utils.h:8,
                 from classify.cc:1:
/usr/include/dlib/matrix/matrix_fft.h:12:10: fatal error: mkl_dfti.h: No such file or directory
 #include <mkl_dfti.h>
          ^~~~~~~~~~~~
compilation terminated.

Do you have an idea ?

@tpoxa
Copy link

tpoxa commented Oct 10, 2018

@pacpacpacpacpacpac which version of dlib you have?

@chassierPA
Copy link
Author

hum, ... version 19.10.0

@Kagami
Copy link
Owner

Kagami commented Oct 10, 2018

That's strange, because dlib in PPA has 19.15 version.

@chassierPA
Copy link
Author

ok i will try to delete lib and download again, maybe i did mistakes

@chassierPA
Copy link
Author

chassierPA commented Oct 10, 2018

Ok it's working, i haven't got problems anymore.

My mistakes was i create /usr/local/lib/pkgconfig/dlib-1.pc

Thanks for your help

@Kagami Kagami closed this as completed Oct 10, 2018
@cejixo3
Copy link

cejixo3 commented Dec 16, 2018

Ok it's working, i haven't got problems anymore.

My mistakes was i create /usr/local/lib/pkgconfig/dlib-1.pc

Thanks for your help

Your answer helps me. Thanks.

@silverark
Copy link

I've deleted that file, but I'm still getting the error. I'ver removed and installed dlib from the ppa without any luck.

@silverark
Copy link

I've deleted that file, but I'm still getting the error. I'ver removed and installed dlib from the ppa without any luck.

I built dblib from scrath then added // #cgo pkg-config: dlib-1 to the top of the face.go file whioch seems to now work. For some reason my Ubuntu 18.10 installation was installing libdlib-dev version 18. Couldn't update. When I used the PPA, it installed 19, but was missing the pkg-config.

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

5 participants