open-mmlab / denseflow

Extracting optical flow and frames

Home Page:https://open-mmlab.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

./zzboost.sh ERROR

rui99999 opened this issue · comments

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-5.4.0/release/link-static/python-3.7/threading-multi/visibility-hidden/numpy/ndarray.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-5.4.0/release/link-static/python-3.7/threading-multi/visibility-hidden/numpy/numpy.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/args.hpp:8,
from ./boost/python.hpp:11,
from ./boost/python/numpy/internal.hpp:17,
from libs/python/src/numpy/numpy.cpp:8:
./boost/python/detail/wrap_python.hpp:57:23: fatal error: pyconfig.h: 没有那个文件或目录
compilation terminated.

commented

from libs/python/src/numpy/numpy.cpp:8:

I'm not sure why python is related (it should not). Maybe you can try to debug from this observation.

export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/home/chenj0g/anaconda3/envs/open-mmlab/include/python3.7m"