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

前端 未结 4 2007
自闭症患者
自闭症患者 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

    Open the *.vcxproj file with a text editor.

    Find and delete the <_ProjectFileVersion> element, and then save the file.

    Example,

    
    
      
    
    
    
    
      <_ProjectFileVersion>11.0.30319.1 <--- Delete this element
    
    
    
    

    And rebuild the solution again. You will see the project compiling successfully.

提交回复
热议问题