How to build includes structure for opencv.hpp to work properly

asked 2013-04-25 12:54:54 -0500

Vaclav gravatar image

Opencv.hpp includes all headers from directory ( in OpenCv2.4.5) opencv2**.h. Can I “make” this structure without installing the entire OpenCV? There are tons of cmake files in cmake directory but there is no documentation on how to use them. A tutorial reference would be appreciated.

I am actually using OpenCv1.1 and the headers in this release are using opencv2 structure which does not exist at all in this release, builds or not. Or is there a way to do that in OpenCv 1.1? I have a .dsw project which is nice but... . Again, lack of documentation even here on how to use make /cmake. Any help as always is appreciated.

edit retag flag offensive close merge delete

Comments

1

wouldn't it be easier to upgrade to 2.4.5, instead of simulating it's header structure with your existing 1.1 installation ?

it sounds like any effort put into that is a total waste

berak gravatar imageberak ( 2013-04-25 14:59:30 -0500 )edit

I always wonder why people use an old crappy version of the library full of unsolved bugs and unprovided functionality. Like @berak said, change to the latest stable release and building the libraries won't be a problem. Or just download precompiled libraries if you do not want to go through the effort of building openCV yourself.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-26 03:21:28 -0500 )edit

And I always wonder why I always get stupid advises instead answers to my questions.In case you want to really know - I have WORKING code build in VC++ with partial OPenCV1.1 and just like to add all of OpenCV and at this point don't care if it does something - I just need to compile the whole mess. Somehow folks like you think that if it is the newest it must be bug free. BTW now I know how to use CMake to build the opencv2 structure. Thanks for your "help".

Vaclav gravatar imageVaclav ( 2013-04-26 09:11:51 -0500 )edit

If an advice of using a computer vision library at the edition that has over 5000 bugs solved, sound stupid, then keep doing what you do. Be gratefull people even take the time to answer your post. Also, if you wouldn't have noticed it, we gave suggestions in comments, not answers...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-26 10:06:55 -0500 )edit