DREAMPlace icon indicating copy to clipboard operation
DREAMPlace copied to clipboard

meet error when run cmake .. -DCMAKE_INSTALL_PREFLIX = ...

Open additionLilian opened this issue 2 years ago • 2 comments

Hi,

When I run cmake .. -DCMAKE_INSTALL_PREFIX=your_install_path -DPYTHON_EXECUTABLE=$(which python), I meet the following error:

CMake Error at thirdparty/pybind11/tools/FindPythonLibsNew.cmake:133 (message): Python config failure:

Call Stack (most recent call first): thirdparty/pybind11/tools/pybind11Tools.cmake:45 (find_package) thirdparty/pybind11/tools/pybind11Common.cmake:205 (include) thirdparty/pybind11/CMakeLists.txt:190 (include)

-- Configuring incomplete, errors occurred!

additionLilian avatar Sep 01 '21 07:09 additionLilian

Hi, I haven't seen this error before. Does it work if you remove -DPYTHON_EXECUTABLE=$(which python)?

limbo018 avatar Sep 01 '21 11:09 limbo018

Which directory should be the "your_install_path"

akshaya-code avatar Nov 18 '21 13:11 akshaya-code