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

前端 未结 5 1840
我寻月下人不归
我寻月下人不归 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:01

    run below command to rebuild boost in static in VS2013 x86 Native Tools Command Prompt.

    b2 -link=static
    

    Add your linker library paths in your project link path in VS. Then, rebuild your project, error gone.

提交回复
热议问题