fatal error LNK1104: cannot open file 'libboost_system-vc110-mt-gd-1_51.lib'

前端 未结 10 1533
时光取名叫无心
时光取名叫无心 2020-11-28 20:31

Seem I can\'t get this to work. I made a simple console application (which depend on websocket++ library) which need Boost libraries.. but when I t

10条回答
  •  被撕碎了的回忆
    2020-11-28 20:46

    The C++ → General → Additional Include Directories parameter is for listing directories where the compiler will search for header files.

    You need to tell the linker where to look for libraries to link to. To access this setting, right-click on the project name in the Solution Explorer window, then Properties → Linker → General → Additional Library Directories. Enter \stage\lib here (this is the path where the libraries are located if you build Boost using default options).

提交回复
热议问题