2 Replies Latest reply on Nov 3, 2015 4:18 PM by annu_shah

    compiling cpp file using Opencv

    annu_shah

      I installed opencv using just this one command opkg install opencv and it says

       

      opencv (2.4.9-r1) installed in root is up to date.

       

       

      Now i am trying to run a basic cpp code using opencv library and i amm using this command :-

       

       

      g++ -Wall -g -o DisplayCamera main.cpp -I /usr/include/opencv2 -L /usr/bin -lopencv_core -lopencv_highgui -lopencv_imgproc

       

      it gives me error :-

      opencv2/opencv.hpp: No such file or directory9.png



      so when i manually go to this path  usr/include i dont find any opencv2 file

      if i go to usr/bin there is no file like opencv_core.


      i could only find something in this file :-

      usr/lib