Linker error LNK1104 with 'libboost_filesystem-vc100-mt-s-1_49.lib'

前端 未结 5 1842
我寻月下人不归
我寻月下人不归 2020-12-12 22:34

During the process of linking my program to the boost::filesystem module in release mode I get the next error:

error LNK1104: cannot open file \'libboost

5条回答
  •  鱼传尺愫
    2020-12-12 23:08

    The boost libraries that you have in your boost\stage\lib directory are linking dynamically to the standard C++ libraries. See the following post:

    boost lib build configuraton variations

    Your code is linking statically to the standard C++ libraries, hence a mismatch. Try linking your code dynamically to the standard libraries. (Project Settings->General->Configuration Type)

提交回复
热议问题