MrNiebieski / pyopencv

Automatically exported from code.google.com/p/pyopencv
0 stars 0 forks source link

Problem with pyopencv installation #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to install pyopencv on an Ubuntu system (Linux 3.0.0-14-generic 
#23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux).

I already have OpenCV library installed and working. At least the sample code 
provided by OpenCV are working. I also have the latest Boost.Python installed 
from the Ubuntu repository.

I followed the installation instructions 
(http://code.google.com/p/pyopencv/wiki/Installation_PyOpenCV)

1. Downloaded pyopencv source (pyopencv-2.1.0.wr1.2.0.tar.gz)
2. Installed cmake and cmake-gui
3. Configured via setuptools (python setup.py config)
4. Built and installed via cmake

However, after running the make command, an error appears whose complete log 
(which is quite big) is attached.

I would appreciate very much if anyone can give me an insight.

Cheers,
Sebastian

Original issue reported on code.google.com by rege...@gmail.com on 16 Dec 2011 at 8:07

Attachments:

GoogleCodeExporter commented 9 years ago
I get the same error as posted by Sebastian.
My system is
Arch-Lunx (kernel: 3.2.6-2),
gcc: 4.6.2,
cmake 2.8.7
python 2.7.2
OpenCV: 2.3.1

Do you have any clues what may be going wrong? Some gcc-flag missing for that 
new version?

Thanks in advance

Original comment by mail4si...@gmail.com on 23 Feb 2012 at 11:52

GoogleCodeExporter commented 9 years ago
hi,
im facing this issue too

When try to compiling $make
It show the error like this,

/usr/local/include/opencv2/core/core.hpp:1888:16: error: ‘cv::Mat::MStep& 
cv::Mat::MStep::operator=(const cv::Mat::MStep&)’ is protected
/usr/include/c++/4.6/bits/move.h:128:7: error: within this context
/usr/local/include/opencv2/core/core.hpp:1888:16: error: ‘cv::Mat::MStep& 
cv::Mat::MStep::operator=(const cv::Mat::MStep&)’ is protected
/usr/include/c++/4.6/bits/move.h:129:7: error: within this context
make[2]: *** 
[CMakeFiles/pyopencv_extras.dir/package/extras/core/opencv_converters.o] Error 1
make[1]: *** [CMakeFiles/pyopencv_extras.dir/all] Error 2
make: *** [all] Error 2

Im using opencv 2.3.1 & ubuntu 11.10
Maybe anyone can solve this problem ?

Thanks in advance

Original comment by allienz...@gmail.com on 29 Feb 2012 at 5:21

GoogleCodeExporter commented 9 years ago
I got the same trouble and it was 20 errors emitted...I don't know why!!Anyone 
could help??Thx

Original comment by TroyZX1...@gmail.com on 18 Nov 2012 at 5:06