loicland / cut-pursuit

C++ implementation for the cut pursuit algorithm, with Matlab interfaces
MIT License
77 stars 24 forks source link

No header defined for numpy3; skipping header check #30

Closed Fanyan-0411 closed 3 years ago

Fanyan-0411 commented 3 years ago

hi, professor I got a problem when cmake file.

Actually, when cmake . -DPYTHON_LIBRARY=$CONDAENV/lib/libpython3.6m.so -DPYTHON_INCLUDE_DIR=$CONDAENV/include/python3.6m -DBOOST_INCLUDEDIR=$CONDAENV/include -DBOOST_LIBRARYDIR=$CONDAENV/lib -DEIGEN3_INCLUDE_DIR=$CONDAENV/include/eigen3

`cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake) -- Found PythonLibs: /root/anaconda3/envs/pytorch3.6/lib/libpython3.6m.so (found version "3.6.13") -- Boost version: 1.65.1 -- Found the following Boost libraries: -- graph CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message): No header defined for numpy3; skipping header check Call Stack (most recent call first): CMakeLists.txt:22 (find_package)

-- Boost version: 1.65.1 -- Found the following Boost libraries: -- numpy3 Boost includes ARE /root/anaconda3/envs/pytorch3.6/include Boost LIBRARIES ARE /root/anaconda3/envs/pytorch3.6/lib PYTHON LIBRARIES ARE /root/anaconda3/envs/pytorch3.6/lib/libpython3.6m.so -- Configuring done -- Generating done -- Build files have been written to: /root/project/superpoint_graph-ssp-spg/partition/ply_c`

it looks like something goes wrong with the header defined for numpy3, could you please tell me how to fix it?