syndicodefront / infekt

The ultimate best NFO viewer, ever!
https://infekt.ws/
GNU General Public License v2.0
359 stars 19 forks source link

'bind' is not a member of 'std' #126

Closed adamchilcott closed 7 years ago

adamchilcott commented 7 years ago

Hello,

On the latest commit (d99d3c5) trying to compile under Linux ends up with a build error of:

infekt/src/lib/nfo_renderer.cpp:1776:8: error: ‘bind’ is not a member of ‘std’
   std::bind(&CNFORenderer::PreRenderThreadProc, this)));

Further details are in the attached logs.

Not being proficient in C++, I found the following StackOverflow thread <https://stackoverflow.com/questions/14261013/bind-is-not-a-member-of-std> which allowed me to add:

#include <functional>

At the top of nfo_renderer.cpp, I could now at least complete the build.

cmake_log.txt make_log.txt

Best,

Adam.