CMake kann BOOST-Bibliotheken nicht finden

Ich habe alles versucht, wie:

  1. Konfigurieren von Umgebungsvariablen
  2. Frisch zu machen bauen
  3. Re-installieren Sie BOOST aus Quelle
  4. sudo apt-get install libboost-all-dev

Aber immer noch folgenden Fehler:

CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
 Unable to find the requested Boost libraries.

 Unable to find the Boost header files.  Please set BOOST_ROOT to the root
 directory containing Boost or BOOST_INCLUDEDIR to the directory containing
 Boost's headers.
Call Stack (most recent call first):
   CMakeLists.txt:147 (find_package)


CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files.  Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.

Source-code-Verzeichnis für boost: /usr/local/src/boost_1_45_0
Boost Bibliothek Pfad: /usr/local/lib
Boost-Header-Datei: /usr/local/include/boost

Hier ist bashrc file:

BOOST_ROOT="/usr/local/src/boost_1_45_0"
Boost_LIBRARY_DIRS="/usr/local/lib"
BOOST_INCLUDEDIR="/usr/local/src/boost_1_45_0"

Wie lösen Sie diese Fehler? Bin ich etwas fehlt?

Edit:

cmake -DCMAKE_TOOLCHAIN_FILE=$ANDTOOLCHAIN -DBOOST_ROOT=/usr/local/src/boost_1_45_0 -DBOOST_INCLUDEDIR=/usr/local/include/boost -DBOOST_LIBRARYDIR=/usr/local/lib -DPYTHON_LIBRARIES=/usr/local/lib/python2.7 -DPYTHON_INCLUDE_DIRS=/usr/include/python2.7 -DCMA-DRDK_BUILD_PYTHON_WRAPPERS=

InformationsquelleAutor der Frage Amit Pal | 2014-06-11

Schreibe einen Kommentar