use modules from opencv_extra in visual studio 2013

asked 2015-01-20 06:00:30 -0600

fedor gravatar image

updated 2015-01-20 07:21:51 -0600

This is my firs use of opencv_extra , cant found something about building in vs . Trying to build program with "text" module from opencv_extra. I was downloaded "opencv_contrib" repo and added headers from include in text module to my opencv include folder, but it's only headers and I have errors like " unresolved external symbol "struct cv::Ptr<class cv::text::erfilter="">" so where I can get text.lib ? Or I must do something else for build programs with extra modules ?

edit retag flag offensive close merge delete

Comments

2

you will have to build the libs first using cmake. then build the INSTALL project. this will copy the headers and libs to your main opencv folder.

berak gravatar imageberak ( 2015-01-20 07:28:56 -0600 )edit

And that was the exact reason I went to Linux based OS, the building process of OpenCV ... :D

StevenPuttemans gravatar imageStevenPuttemans ( 2015-01-20 07:51:38 -0600 )edit
1

Thanks ! I was writing programs for Linux based system , so it's second reason to went to Linux, but there is no VS ( yes, I'm pervert ) Which compiller did you use in Linux based OS ? Eсlipse ?

fedor gravatar imagefedor ( 2015-01-20 08:06:37 -0600 )edit

I use codeblocks, clean and easy to configure with opencv and pkgconfig options!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-01-20 08:07:52 -0600 )edit
1

Will try it, thanks again :)

fedor gravatar imagefedor ( 2015-01-20 08:12:45 -0600 )edit