I\'m new to C++ and Boost. I\'m doing a small simple program to trying to learn the Boost Filesystem library. I have followed the directions to build the Boost libs. And now
solution mentioned by vignesh naidu worked for me.
but not exactly msvcprt.lib
look for the .lib file in the error msg.
In my case, there was somefile.lib , i searched in the file explorer which gave two similar files in folder
1)Release 2)Debug
Opened somefile.lib in debug folder, opened in NP++ , found and replaced for ex: 1700 with 1900 (VS 2015) in my case
recompiled, viola error gone.
For brief explanation about why,how there are several technical reasons given by other users.
PS: i was compiling code built in VS 2012 in VS2015 and 1700 is compiler version for VS 2012 , 1900 for VS 2015