Ask Your Question
0

Names of new libraries

asked 2013-08-12 10:40:57 -0600

Nenad Bulatovic gravatar image

updated 2013-08-13 08:26:21 -0600

I have to compile an old project, and libraries that I have to LINK (among others) are:

cv210.lib
cxcore210.lib

What are names for those libraries in new OpenCV 2.4.6 ?

edit retag flag offensive close merge delete

Comments

1

I guess

 #include 'opencv2/core/core.hpp' 
 #include 'opencv2/highgui/highgui.hpp'
 #include 'opencv2/imgproc/imgproc.hpp'

Will do the trick. Are you using any specific functionality except from basic image processing?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-12 11:07:44 -0600 )edit

No, it won't do the trick.

In VS2010, Project properties, Configuration Properties, Linker, Input, Additional decencies I have to name all of the libraries that are used.

Nenad Bulatovic gravatar imageNenad Bulatovic ( 2013-08-12 12:42:58 -0600 )edit
4

to append to what steven said, for each module header, there's a resp. library:

opencv_core246.lib opencv_highgui246.lib opencv_imgproc246.lib

berak gravatar imageberak ( 2013-08-12 13:15:28 -0600 )edit

@Nenad I asked if you had more dependencies ... like @berak said, you will need to include all libraries of which you are using functionality.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-12 14:24:11 -0600 )edit

@StevenPuttemans I know that, what I asked is what exactly NEW libraries are direct replacement for OLD libraries, specifically cv210.lib and cxcore210.lib

Nenad Bulatovic gravatar imageNenad Bulatovic ( 2013-08-13 08:08:15 -0600 )edit

For the core I gave you, but for the cv, which was one big library in early versions, you have one for each module, it doesn't exist anymore in that specific setup.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-13 08:09:43 -0600 )edit
1

@berak those 4 libraries done the trick: opencv_imgproc246d.lib opencv_core246d.lib opencv_highgui246d.lib opencv_objdetect246d.lib

Nenad Bulatovic gravatar imageNenad Bulatovic ( 2013-08-13 08:17:42 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2013-08-13 08:28:53 -0600

Nenad Bulatovic gravatar image

@StevenPuttemans Sorry, I wrote INCLUDE instead of LINK. The problem occured with LINKER. Those 4 libraries done the trick: opencv_imgproc246d.lib opencv_core246d.lib opencv_highgui246d.lib opencv_objdetect246d.lib

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-08-12 10:40:57 -0600

Seen: 822 times

Last updated: Aug 13 '13