mitmul / ssai-cnn

Semantic Segmentation for Aerial / Satellite Images with Convolutional Neural Networks including an unofficial implementation of Volodymyr Mnih's methods
http://www.ingentaconnect.com/content/ist/jist/2016/00000060/00000001/art00003
MIT License
260 stars 75 forks source link

fatal error: pyconfig.h: No such file or directory # include <pyconfig.h> #10

Open yizuifangxiuyh opened 8 years ago

yizuifangxiuyh commented 8 years ago

-- Found PythonLibs: /home/yanghuan/.pyenv/versions/anaconda3-2.4.0/lib/libpython3.5m.so
-- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:

PYTHON_INCLUDE_DIR2

-- Build files have been written to: /home/yanghuan/下载/ssai-cnn-master/utils Scanning dependencies of target patches [ 16%] Building CXX object CMakeFiles/patches.dir/src/devide_to_patches.cpp.o In file included from /usr/local/include/boost/python/detail/prefix.hpp:13:0, from /usr/local/include/boost/python/args.hpp:8, from /usr/local/include/boost/python.hpp:11, from /home/yanghuan/下载/ssai-cnn-master/utils/src/devide_to_patches.cpp:4: /usr/local/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory

include

                   ^

compilation terminated. CMakeFiles/patches.dir/build.make:62: recipe for target 'CMakeFiles/patches.dir/src/devide_to_patches.cpp.o' failed make[2]: * [CMakeFiles/patches.dir/src/devide_to_patches.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/patches.dir/all' failed make[1]: * [CMakeFiles/patches.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *\ [all] Error 2

yizuifangxiuyh commented 8 years ago

how can I solve this?

yizuifangxiuyh commented 8 years ago

thank you !

yizuifangxiuyh commented 8 years ago

I have solved problem by changing PYTHON_DIR in build.sh !!