Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot find python libraries for CMake in Opencv3.0.0

Trying to build Opencv3.0.0 (dev), cmake finds the binary and python 2 locations but isn't able to include python libraries.

I use cmake-gui for makefile generation. While configuring cmake, it gives this piece of info along with other various :

--

-- Python 2:

-- Interpreter: /usr/bin/python2.7 (ver 2.7.6)

-- Libraries: NO

-- numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2)

-- packages path: lib/python2.7/dist-packages

--

-- Python 3:

-- Interpreter: /usr/bin/python3.4 (ver 3.4)

I have cross checked and the input for python2 I provide are all correct (included as attachment): enter image description here (Please take a look at the image before reading further)

So, now I am wondering whether this is architecture problem or version problem (compatibility with different versions of opencv, python, cmake)

Versions I am currently using are : opencv : 3.0.0-dev

python2 : 2.7.6

python3 : 3.4.0

cmake : 2.8.12.2

System : ubuntu 14.04 (amd architecture, 64 bit)

Linux Kernel version : Linux version 3.13.0-27-generic (buildd@akateko) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014

I am, at this point stuck as to what to do . Can someone nudge me in right direction please.

P.S. Guys working on opencv. I absolutely hate what you've done with 3.0.0 !!