已安装 Boost 1.58,但缺少 boost_thread 和 boost_locale

Jon*_*ren 5 apt c++ boost cmake

试图建立一个需要提升的项目。我收到以下错误:

Unable to find the requested Boost libraries.

  Boost version: 1.58.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_thread
          boost_locale

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Run Code Online (Sandbox Code Playgroud)

如果我跑

sudo apt-get install libboost-all-dev
Run Code Online (Sandbox Code Playgroud)

我得到

libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
Run Code Online (Sandbox Code Playgroud)

所以我不知道在这里做什么。如何安装这些特定的 boost 包,或者重新安装整个 boost 包?

编辑:另外,如果我运行 apt-get remove libboost-all-dev ,似乎没有删除任何内容。之后运行 apt-get install libboost-all-dev 仍然告诉我我有最新版本。