mardi 5 décembre 2017

How to install dlib and update gcc on Yocto

I'm trying to install dlib on Yocto following the instructions on this page. However the installation fails at the last command, with the message "error: 'exception-ptr' in namespace 'std' does not name a type".

I suspect this is because of C++11 not being properly supported by the gcc version 4.8.2 installed on my machine, based on the very few reports of this happening.

However trying to update gcc to a higher version like 4.9.2 or 5.4.0 also failed because apparently gcc isn't directly compatible with Yocto. Attempting to run make resulted in failure complaining about unknown OS. Therefore I may also need to know how I can update the gcc installed on my Yocto machine as well.

If anyone knows of a good workaround I'd be very glad to know it.

Aucun commentaire:

Enregistrer un commentaire