C++ / Boost Filesystem - mismatch detected for '_MSC_VER': value '1700' doesn't match value '1600'

前端 未结 4 2015
自闭症患者
自闭症患者 2021-01-04 20:34

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

4条回答
  •  醉话见心
    2021-01-04 20:57

    libboost_filesystem-vc110-mt-gd-1_51.lib is a library that has been built with VS 2012 (Also known as VC 11.0), as indicated by the vc110 in the naming convention. This library will not link properly with objects built with VS 2010 (also known as VC 10.0).

    If you want to build your program with VS 2010, you'll need to get or build boost libraries for VS 2010.

提交回复
热议问题