Ask Your Question

savio's profile - activity

2015-05-07 08:09:35 -0600 asked a question problem in building gl_core_3_1.cpp on linux

I have to install OpenCV 2.4.11 on Ubuntu Linux by source. I cannot use any package utility.

After having typed make, the error messages are:

Scanning dependencies of target opencv_core [ 9%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o In file included from /shared/sav/opencv-2.4.11/modules/core/src/gl_core_3_1.cpp:46: /shared/sav/opencv-2.4.11/modules/core/include/opencv2/core/core.hpp:4854: warning: `class cv::TLSDataContainer' has virtual functions but non-virtual destructor

make[2]: * [modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o] Error 1 make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: ** [all] Error 2

2015-05-06 13:07:19 -0600 asked a question problems in building opencv 2.4 on ubuntu

Hi,

I have big problems in installing opencv 2.4.11 on an ubuntu machine (Linux 2.6.32-24-generic #43-Ubuntu SMP ... x86_64 GNU/Linux).

I have to do all by source files. Therefore, firstly I use cmake and when I use make there are the following problems:

/shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:75:18: zlib.h: No such file or directory /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp: In member function int Imf::Pxr24Compressor::compress(const char*, int, Imath::Box2i, const char*&)': ... ... ... /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:434: error: expected)' before ';' token /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:453: error: minX' was not declared in this scope /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:468: error:tmpSize' was not declared in this scope /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:494: error: tmpSize' was not declared in this scope /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:518: error:tmpSize' was not declared in this scope /shared/sav/opencv-2.4.11/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp:543: error: `tmpSize' was not declared in this scope make[2]: * [3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPxr24Compressor.cpp.o] Error 1 make[1]: [3rdparty/openexr/CMakeFiles/IlmImf.dir/all] Error 2 make: ** [all] Error 2

What is the problem? I am completly stuck!

Thanks in advance, Saverio