Ask Your Question
0

Always run CMake after updating OpenCV from github?

asked 2013-02-05 03:45:10 -0500

gitgat gravatar image

updated 2013-02-05 04:34:53 -0500

sammy gravatar image

When should I re-run cmake? for example do I need to run cmake each time I update my opencv code (pull) through Github? If not, so in what cases I should absolutely run cmake after updating opencv through Github?

I ask this, since running cmake and rebuilding all the debug and release libraries is very time consuming and I need to know when I should do this after updates!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-02-05 04:39:47 -0500

sammy gravatar image

CMake re-generates project files for your compiler. You should re-run it if there are some new/deleted files in the update.

Now, the really time-consuming part of the process is compilation. And this is something you have to do each time you update - unless how can the linker have the updated libraries?

But, unless you are fixing bugs in OpenCV, looking for a specific patch, or want to know the latest, bleeding-edge from OpenCV, you do not need to update and compile each day. It's a waste of time.

For most developers, the latest release version is just enough. So should it be for you.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-02-05 03:45:10 -0500

Seen: 410 times

Last updated: Feb 05 '13