fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_43.lib'

后端 未结 7 1020
既然无缘
既然无缘 2020-12-13 07:04

Made a new project, added main.cpp and wrote the code at this URL:

http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp

7条回答
  •  轮回少年
    2020-12-13 07:42

    You need to use bjam. It is responsible for creating the libraries that your application will use. Once you use bjam, you are going to need to instruct your project to include the lib file. You do this by going into the project's properties -> Configuration Properties -> Linker -> General. Add the directory which created the lib file to Additional Library Directories. You should be capable of correctly linking after that. I believe that this link describes the steps better than I could attempt in a post

提交回复
热议问题