davisking / dlib

A toolkit for making real world machine learning and data analysis applications in C++
http://dlib.net
Boost Software License 1.0
13.48k stars 3.37k forks source link

Import Error_ gcc version 5.4.0 #877

Closed RaviRaaja closed 6 years ago

RaviRaaja commented 7 years ago

Please suggest me which version of gcc should i use , why this error is popping up

import dlib Traceback (most recent call last): File "", line 1, in File "/home/stan/anaconda2/lib/python2.7/site-packages/dlib-19.7.99-py2.7-linux-x86_64.egg/dlib/init.py", line 1, in from .dlib import * ImportError: /home/stan/anaconda2/lib/python2.7/site-packages/dlib-19.7.99-py2.7-linux-x86_64.egg/dlib/dlib.so: undefined symbol: _ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE

davisking commented 7 years ago

I don't know. You can use any gcc. Maybe your copy of gcc is installed wrong since you have missing symbols from the standard C++ library. You should google for that linker error to find out how to fix your system.

RaviRaaja commented 6 years ago

Thank you so much ! the error is because of GCC , im using anacoda , once i installed libgcc in conda it worked, conda install libgcc can you suggest any clustering algorithm to effectively cluster similar faces from its 128 descriptors (unlabelled faces)?

davisking commented 6 years ago

The face recognition example that comes with dlib does face clustering. I would do that.