OpenCV path error in cmake

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Every time when I try to build and install any library which depends on OpenCV, The cmake of that library throws the following error,



-- OpenCV ARCH: 

-- OpenCV RUNTIME:

-- OpenCV STATIC: OFF

CMake Warning at /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake:161 (message):
Found OpenCV Windows Pack but it has not binaries compatible with your
configuration.

You should manually point CMake variable OpenCV_DIR to your build of OpenCV
library.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)


CMake Error at CMakeLists.txt:4 (find_package):
Found package configuration file:

/home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.

-- Configuring incomplete, errors occurred!
See also "/home/wizviz/dataset-tools-master/release/CMakeFiles/CMakeOutput.log".


Is it about adding OpenCV to Ubuntu 16.04 environment.?
How do I solve it?










share|improve this question



























    up vote
    1
    down vote

    favorite












    Every time when I try to build and install any library which depends on OpenCV, The cmake of that library throws the following error,



    -- OpenCV ARCH: 

    -- OpenCV RUNTIME:

    -- OpenCV STATIC: OFF

    CMake Warning at /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake:161 (message):
    Found OpenCV Windows Pack but it has not binaries compatible with your
    configuration.

    You should manually point CMake variable OpenCV_DIR to your build of OpenCV
    library.
    Call Stack (most recent call first):
    CMakeLists.txt:4 (find_package)


    CMake Error at CMakeLists.txt:4 (find_package):
    Found package configuration file:

    /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake

    but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
    NOT FOUND.

    -- Configuring incomplete, errors occurred!
    See also "/home/wizviz/dataset-tools-master/release/CMakeFiles/CMakeOutput.log".


    Is it about adding OpenCV to Ubuntu 16.04 environment.?
    How do I solve it?










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Every time when I try to build and install any library which depends on OpenCV, The cmake of that library throws the following error,



      -- OpenCV ARCH: 

      -- OpenCV RUNTIME:

      -- OpenCV STATIC: OFF

      CMake Warning at /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake:161 (message):
      Found OpenCV Windows Pack but it has not binaries compatible with your
      configuration.

      You should manually point CMake variable OpenCV_DIR to your build of OpenCV
      library.
      Call Stack (most recent call first):
      CMakeLists.txt:4 (find_package)


      CMake Error at CMakeLists.txt:4 (find_package):
      Found package configuration file:

      /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake

      but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
      NOT FOUND.

      -- Configuring incomplete, errors occurred!
      See also "/home/wizviz/dataset-tools-master/release/CMakeFiles/CMakeOutput.log".


      Is it about adding OpenCV to Ubuntu 16.04 environment.?
      How do I solve it?










      share|improve this question















      Every time when I try to build and install any library which depends on OpenCV, The cmake of that library throws the following error,



      -- OpenCV ARCH: 

      -- OpenCV RUNTIME:

      -- OpenCV STATIC: OFF

      CMake Warning at /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake:161 (message):
      Found OpenCV Windows Pack but it has not binaries compatible with your
      configuration.

      You should manually point CMake variable OpenCV_DIR to your build of OpenCV
      library.
      Call Stack (most recent call first):
      CMakeLists.txt:4 (find_package)


      CMake Error at CMakeLists.txt:4 (find_package):
      Found package configuration file:

      /home/wizviz/opencv-2.4.9/cmake/OpenCVConfig.cmake

      but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
      NOT FOUND.

      -- Configuring incomplete, errors occurred!
      See also "/home/wizviz/dataset-tools-master/release/CMakeFiles/CMakeOutput.log".


      Is it about adding OpenCV to Ubuntu 16.04 environment.?
      How do I solve it?







      16.04 environment-variables cmake opencv






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 20 at 9:29









      Vishnu N K

      533518




      533518










      asked Feb 20 at 6:52









      SUMIT SARKAR

      61




      61

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007934%2fopencv-path-error-in-cmake%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007934%2fopencv-path-error-in-cmake%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491