I am using boost lib on Qt creator to develop an application, my platform is Windows8 MSVC2013 64.
I have two class on each I am using boost headers,
Now I n
Move the #define WIN32_LEAN_AND_MEAN to g++ command line argument list as -DWIN32_LEAN_AND_MEAN. This helped me. One more thing helped me is reordering #include directives to put boost includes before all others.
#define WIN32_LEAN_AND_MEAN
-DWIN32_LEAN_AND_MEAN
#include
boost