Ask Your Question

Revision history [back]

I have the similar issue with 3.1.0 and ubuntu 14.04. I don't know which one (ubuntu version or other libraries version) causes this one. I have worked using ubuntu 12.04 + 3.0.0 for a long time. Today I upgraded ubuntu version on another PC. Finally I resolved my issue by typeing the following options manually when running cmake.

cmake -D PYTHON_INCLUDE_DIR=/usr/include/python2.7 -D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 -D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.so

I know that this is not the perfect solution. If some other factor changes, it will not work well. I suspect that there is some conflicts between cmake and opencv build-script.

I have the similar issue with 3.1.0 and ubuntu 14.04. I don't know which one (ubuntu version or other libraries version) causes this one. I have worked using ubuntu 12.04 + 3.0.0 for a long time. Today I upgraded ubuntu version on another PC. Finally I resolved my issue by typeing the following options manually when running cmake. cmake, not cmake-gui

cmake -D PYTHON_INCLUDE_DIR=/usr/include/python2.7 -D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 -D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.so

I know that this is not the perfect solution. If some other factor changes, it will not work well. I suspect that there is some conflicts between cmake and opencv build-script.

I have the a similar issue with 3.1.0 and ubuntu 14.04. I don't know which one (ubuntu version or other libraries version) causes this one. I have worked using ubuntu 12.04 + 3.0.0 for a long time. Today I upgraded ubuntu version on another PC. Finally I resolved my issue by typeing the following options manually when running cmake, not cmake-gui

cmake -D PYTHON_INCLUDE_DIR=/usr/include/python2.7 -D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 -D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.so

I know that this is not the perfect solution. If some other factor changes, it will not work well. I suspect that there is some conflicts between cmake and opencv build-script.

I have a similar issue with opencv 3.1.0 and ubuntu 14.04. I don't know which one (ubuntu version or other libraries version) causes this one. I have worked using ubuntu 12.04 + 3.0.0 for a long time. Today I upgraded ubuntu version on another PC. Finally I resolved my issue by typeing the following options manually when running cmake, not cmake-gui

cmake -D PYTHON_INCLUDE_DIR=/usr/include/python2.7 -D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 -D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.so

I know that this is not the perfect solution. If some other factor changes, it will may not work well. I suspect that there is some conflicts between specific versions of cmake and opencv build-script.

I have a similar issue with opencv 3.1.0 and ubuntu 14.04. I don't know which one (ubuntu version or other libraries version) causes this one. I have worked using ubuntu 12.04 + 3.0.0 for a long time. Today I upgraded ubuntu version on another PC. Finally I resolved my issue by typeing the following options manually when running cmake, not cmake-gui

cmake -D PYTHON_INCLUDE_DIR=/usr/include/python2.7 -D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 -D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.so
PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so

I know that this is not the perfect solution. If some other factor changes, it may not work well. I suspect that there is some conflicts between specific versions of cmake and opencv build-script.