赞
踩
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
-- To find NumPy Python interpretator is required to be found.
-- Could NOT find NumPy (missing: NUMPY_INCLUDE_DIR NUMPY_VERSION) (Required is at least version "1.7.1")
/usr/local/bin/cmake ../ -D BUILD_python=on -D PYTHON_EXECUTABLE=/usr/bin/python3.6 -D PYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so -D PYTHON_INCLUDE_DIRS=/usr/include/python3.6 -D NUMPY_INCLUDE_DIR=/usr/lib/python3/dist-packages/numpy/core/include/
cmake ../ -DBUILD_python=on -DPYTHON_EXECUTABLE=/usr/bin/python3.6 -DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so -DPYTHON_INCLUDE_DIRS=/usr/include/python3.6 -DNUMPY_INCLUDE_DIR=/usr/lib/python3/dist-packages/numpy/core/include/ -DCMAKE_CXX_COMPILER=/usr/bin/c++
/usr/local/bin/cmake ../ -DBUILD_python=on -DPYTHON_EXECUTABLE=/usr/bin/python3.6 -DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so -DPYTHON_INCLUDE_DIRS=/usr/include/python3.6 -DNUMPY_INCLUDE_DIR=/usr/lib/python3/dist-packages/numpy/core/include/ -DCMAKE_CXX_COMPILER=/usr/bin/c++
/usr/local/lib/libboost_python36.so
sudo ln -s libboost_numpy.so -> libboost_numpy3-py36.so
/usr/lib/x86_64-linux-gnu/libboost_python.so
/usr/lib/x86_64-linux-gnu/libboost_python.a
/usr/lib/x86_64-linux-gnu/libboost_python3.a
/usr/lib/x86_64-linux-gnu/libboost_python3-py36.so
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.65.1
/usr/lib/x86_64-linux-gnu/libboost_python3.so
/usr/lib/x86_64-linux-gnu/libboost_python3-py36.a
/usr/lib/x86_64-linux-gnu/libboost_python3-py36.so.1.65.1
/usr/lib/x86_64-linux-gnu/libboost_python-py27.a
/usr/lib/x86_64-linux-gnu/libboost_python-py27.so
/usr/lib/x86_64-linux-gnu/libboost_python-py36.a
/usr/lib/x86_64-linux-gnu/libboost_python-py36.so
sudo rm -rf ./libpython3.6m.so
sudo ln -s libboost_python-py36.so libboost_python.so
sudo ln -s libpython3.6m.so.1.0 libpython3.6m.so
- cd /usr/lib/x86_64-linux-gnu
-
-
- rm libboost_mpi_python.so
-
- rm libboost_python.so
-
- rm libboost_numpy.so
-
-
- sudo ln -s libboost_mpi_python.so -> libboost_mpi_python3-py36.so.1.65.1
-
- sudo ln -s libboost_python.so -> libboost_python3-py36.so.1.65.1
-
- sudo ln -s libboost_numpy.so -> libboost_numpy3-py36.so
-
-
- /usr/local/bin/cmake ../ -DBUILD_python=on -DBUILD_python_layer=on -DPYTHON_EXECUTABLE=/usr/bin/python3.6 -DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so -DPYTHON_INCLUDE_DIRS=/usr/include/python3.6 -DNUMPY_INCLUDE_DIR=/usr/lib/python3/dist-packages/numpy/core/include/ -DCMAKE_CXX_COMPILER=/usr/bin/g++
cd /usr/lib/x86_64-linux-gnu
rm libboost_mpi_python.so
rm libboost_python.so
rm libboost_numpy.so
sudo ln -s libboost_mpi_python.so -> libboost_mpi_python3-py36.so.1.65.1
sudo ln -s libboost_python.so -> libboost_python3-py36.so.1.65.1
sudo ln -s libboost_numpy.so -> libboost_numpy3-py36.so
/usr/local/bin/cmake ../ -DBUILD_python=on -DBUILD_python_layer=on -DPYTHON_EXECUTABLE=/usr/bin/python3.6 -DPYTHON_LIBRARIES=/usr/lib/x86_64-linux-gnu/libboost_python-py36.so -DPYTHON_INCLUDE_DIRS=/usr/include/python3.6 -DNUMPY_INCLUDE_DIR=/usr/lib/python3/dist-packages/numpy/core/include/ -DCMAKE_CXX_COMPILER=/usr/bin/g++
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。