Hi
I have installed the opencv successfully and then i tried to compile the very first example that came along with the tutorial on the website. I am getting the following error:
/////////////////////////////////////////////// sajjad@sajjad-G74Sx:~/Documents/test/opencv/first$ cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Configuring done -- Generating done -- Build files have been written to: /home/sajjad/Documents/test/opencv/first sajjad@sajjad-G74Sx:~/Documents/test/opencv/first$ make Scanning dependencies of target DisplayImage [100%] Building CXX object CMakeFiles/DisplayImage.dir/main.cpp.o /home/sajjad/Documents/test/opencv/first/main.cpp: In function ‘int main(int, char)’: /home/sajjad/Documents/test/opencv/first/main.cpp:17:33: error: ‘CV_WINDOW_AUTOSIZE’ was not declared in this scope make[2]: [CMakeFiles/DisplayImage.dir/main.cpp.o] Error 1 make[1]: [CMakeFiles/DisplayImage.dir/all] Error 2 make: * [all] Error 2
///////////////////////////////////////////////
Do i have to set any LD_LIBRARY_PATH and environment variable path after installation ?
Thanks