Which directory is opencv “installed” in?












6















Operating System: #! (crunch bang)
Dependencies: opencv



I am attempting to install cvblob (a library for opencv) and I am at the compilation stage in the directions that of which can be seen below. When I compiled and installed the source code for opencv which directory would be the install directory, the directory in which I unzipped and compiled the source, or some other directory such as /usr/local/lib? I'm familiar with installing applications in Windows, but I don't seem to see the translation to linux. For opencv I compiled code and then ran sudo make install from within that directory. So for the the line in the directions below




To indicate where OpenCV is, use OpenCV_DIR variable:



`cmake . -DOpenCV_DIR=<path_to_OpenCV>`



What should I define as the path to opencv? If further information is needed please let me know.
DIRECTIONS:



Linux



If you have uncompressed the source in $CVBLOB, type in a console:



cd $CVBLOB
cmake .
make


To indicate where OpenCV is, use OpenCV_DIR variable:



cmake . -DOpenCV_DIR=<path_to_OpenCV>


Installation
Linux



If you have compiled the source in $CVBLOBBIN, type in a console:



cd $CVBLOBBIN
sudo make install


To change the destination path use CMAKE_INSTALL_PREFIX when execute CMAKE:



cmake . -DCMAKE_INSTALL_PREFIX=<installation_path>









share|improve this question





























    6















    Operating System: #! (crunch bang)
    Dependencies: opencv



    I am attempting to install cvblob (a library for opencv) and I am at the compilation stage in the directions that of which can be seen below. When I compiled and installed the source code for opencv which directory would be the install directory, the directory in which I unzipped and compiled the source, or some other directory such as /usr/local/lib? I'm familiar with installing applications in Windows, but I don't seem to see the translation to linux. For opencv I compiled code and then ran sudo make install from within that directory. So for the the line in the directions below




    To indicate where OpenCV is, use OpenCV_DIR variable:



    `cmake . -DOpenCV_DIR=<path_to_OpenCV>`



    What should I define as the path to opencv? If further information is needed please let me know.
    DIRECTIONS:



    Linux



    If you have uncompressed the source in $CVBLOB, type in a console:



    cd $CVBLOB
    cmake .
    make


    To indicate where OpenCV is, use OpenCV_DIR variable:



    cmake . -DOpenCV_DIR=<path_to_OpenCV>


    Installation
    Linux



    If you have compiled the source in $CVBLOBBIN, type in a console:



    cd $CVBLOBBIN
    sudo make install


    To change the destination path use CMAKE_INSTALL_PREFIX when execute CMAKE:



    cmake . -DCMAKE_INSTALL_PREFIX=<installation_path>









    share|improve this question



























      6












      6








      6








      Operating System: #! (crunch bang)
      Dependencies: opencv



      I am attempting to install cvblob (a library for opencv) and I am at the compilation stage in the directions that of which can be seen below. When I compiled and installed the source code for opencv which directory would be the install directory, the directory in which I unzipped and compiled the source, or some other directory such as /usr/local/lib? I'm familiar with installing applications in Windows, but I don't seem to see the translation to linux. For opencv I compiled code and then ran sudo make install from within that directory. So for the the line in the directions below




      To indicate where OpenCV is, use OpenCV_DIR variable:



      `cmake . -DOpenCV_DIR=<path_to_OpenCV>`



      What should I define as the path to opencv? If further information is needed please let me know.
      DIRECTIONS:



      Linux



      If you have uncompressed the source in $CVBLOB, type in a console:



      cd $CVBLOB
      cmake .
      make


      To indicate where OpenCV is, use OpenCV_DIR variable:



      cmake . -DOpenCV_DIR=<path_to_OpenCV>


      Installation
      Linux



      If you have compiled the source in $CVBLOBBIN, type in a console:



      cd $CVBLOBBIN
      sudo make install


      To change the destination path use CMAKE_INSTALL_PREFIX when execute CMAKE:



      cmake . -DCMAKE_INSTALL_PREFIX=<installation_path>









      share|improve this question
















      Operating System: #! (crunch bang)
      Dependencies: opencv



      I am attempting to install cvblob (a library for opencv) and I am at the compilation stage in the directions that of which can be seen below. When I compiled and installed the source code for opencv which directory would be the install directory, the directory in which I unzipped and compiled the source, or some other directory such as /usr/local/lib? I'm familiar with installing applications in Windows, but I don't seem to see the translation to linux. For opencv I compiled code and then ran sudo make install from within that directory. So for the the line in the directions below




      To indicate where OpenCV is, use OpenCV_DIR variable:



      `cmake . -DOpenCV_DIR=<path_to_OpenCV>`



      What should I define as the path to opencv? If further information is needed please let me know.
      DIRECTIONS:



      Linux



      If you have uncompressed the source in $CVBLOB, type in a console:



      cd $CVBLOB
      cmake .
      make


      To indicate where OpenCV is, use OpenCV_DIR variable:



      cmake . -DOpenCV_DIR=<path_to_OpenCV>


      Installation
      Linux



      If you have compiled the source in $CVBLOBBIN, type in a console:



      cd $CVBLOBBIN
      sudo make install


      To change the destination path use CMAKE_INSTALL_PREFIX when execute CMAKE:



      cmake . -DCMAKE_INSTALL_PREFIX=<installation_path>






      linux crunchbang opencv






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 1 '14 at 19:23









      An Dorfer

      1,2032713




      1,2032713










      asked May 31 '13 at 16:41









      aretearete

      141115




      141115






















          3 Answers
          3






          active

          oldest

          votes


















          3














          Looking at github you should have it installed in /usr/local/ Check what you have got there!






          share|improve this answer
























          • on ubuntu 14.04 /usr/local/lib

            – Dukeatcoding
            Oct 27 '14 at 19:07



















          0














          Per answer https://askubuntu.com/a/990597/455406 , if you installed manually you can try



          pkg-config --libs --cflags opencv





          share|improve this answer































            -2














            To install OpenCV using the terminal on Ubuntu from this article
            http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html



            $ su -
            # apt-get update
            # apt-get install build-essential
            # apt-get install libavformat-dev
            # apt-get install x264 v4l-utils ffmpeg
            # apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev





            share|improve this answer



















            • 2





              the OP is asking about the folder OpenCV installed in

              – phuclv
              Oct 24 '13 at 11:39












            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f602240%2fwhich-directory-is-opencv-installed-in%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            Looking at github you should have it installed in /usr/local/ Check what you have got there!






            share|improve this answer
























            • on ubuntu 14.04 /usr/local/lib

              – Dukeatcoding
              Oct 27 '14 at 19:07
















            3














            Looking at github you should have it installed in /usr/local/ Check what you have got there!






            share|improve this answer
























            • on ubuntu 14.04 /usr/local/lib

              – Dukeatcoding
              Oct 27 '14 at 19:07














            3












            3








            3







            Looking at github you should have it installed in /usr/local/ Check what you have got there!






            share|improve this answer













            Looking at github you should have it installed in /usr/local/ Check what you have got there!







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 31 '13 at 20:12









            ChrisChris

            1,641714




            1,641714













            • on ubuntu 14.04 /usr/local/lib

              – Dukeatcoding
              Oct 27 '14 at 19:07



















            • on ubuntu 14.04 /usr/local/lib

              – Dukeatcoding
              Oct 27 '14 at 19:07

















            on ubuntu 14.04 /usr/local/lib

            – Dukeatcoding
            Oct 27 '14 at 19:07





            on ubuntu 14.04 /usr/local/lib

            – Dukeatcoding
            Oct 27 '14 at 19:07













            0














            Per answer https://askubuntu.com/a/990597/455406 , if you installed manually you can try



            pkg-config --libs --cflags opencv





            share|improve this answer




























              0














              Per answer https://askubuntu.com/a/990597/455406 , if you installed manually you can try



              pkg-config --libs --cflags opencv





              share|improve this answer


























                0












                0








                0







                Per answer https://askubuntu.com/a/990597/455406 , if you installed manually you can try



                pkg-config --libs --cflags opencv





                share|improve this answer













                Per answer https://askubuntu.com/a/990597/455406 , if you installed manually you can try



                pkg-config --libs --cflags opencv






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 14 at 22:52









                WillCWillC

                1011




                1011























                    -2














                    To install OpenCV using the terminal on Ubuntu from this article
                    http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html



                    $ su -
                    # apt-get update
                    # apt-get install build-essential
                    # apt-get install libavformat-dev
                    # apt-get install x264 v4l-utils ffmpeg
                    # apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev





                    share|improve this answer



















                    • 2





                      the OP is asking about the folder OpenCV installed in

                      – phuclv
                      Oct 24 '13 at 11:39
















                    -2














                    To install OpenCV using the terminal on Ubuntu from this article
                    http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html



                    $ su -
                    # apt-get update
                    # apt-get install build-essential
                    # apt-get install libavformat-dev
                    # apt-get install x264 v4l-utils ffmpeg
                    # apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev





                    share|improve this answer



















                    • 2





                      the OP is asking about the folder OpenCV installed in

                      – phuclv
                      Oct 24 '13 at 11:39














                    -2












                    -2








                    -2







                    To install OpenCV using the terminal on Ubuntu from this article
                    http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html



                    $ su -
                    # apt-get update
                    # apt-get install build-essential
                    # apt-get install libavformat-dev
                    # apt-get install x264 v4l-utils ffmpeg
                    # apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev





                    share|improve this answer













                    To install OpenCV using the terminal on Ubuntu from this article
                    http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html



                    $ su -
                    # apt-get update
                    # apt-get install build-essential
                    # apt-get install libavformat-dev
                    # apt-get install x264 v4l-utils ffmpeg
                    # apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Oct 24 '13 at 11:20









                    Victor SandersVictor Sanders

                    351




                    351








                    • 2





                      the OP is asking about the folder OpenCV installed in

                      – phuclv
                      Oct 24 '13 at 11:39














                    • 2





                      the OP is asking about the folder OpenCV installed in

                      – phuclv
                      Oct 24 '13 at 11:39








                    2




                    2





                    the OP is asking about the folder OpenCV installed in

                    – phuclv
                    Oct 24 '13 at 11:39





                    the OP is asking about the folder OpenCV installed in

                    – phuclv
                    Oct 24 '13 at 11:39


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f602240%2fwhich-directory-is-opencv-installed-in%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Mouse cursor on multiple screens with different PPI

                    Agildo Ribeiro

                    Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”