fatal error LNK1104: cannot open file 'libboost_regex-vc90-mt-gd-1_42.lib'

前端 未结 4 2015
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 15:34

i\'m trying to use boost regex within my program the problem is i get this error... the only installation step i did was to add: \"C:\\Program Files\\boost\\boost_1_42\" int

4条回答
  •  长情又很酷
    2020-12-29 16:14

    I'm not sure about the define settings, but I was able to get boost to build with MSVC 9.0 by running the \bootstrap batch file, then editing \project-config.jam file as follows. Change the line:

    using mvsc
    

    to:

    using msvc : 9.0 : cl.exe
    

    then running .\b2 install and the boost headers and libraries were built and installed to c:\boost.

提交回复
热议问题