Ask Your Question
0

Is opencv 3.0 really compatible with microsoft visual studio 2015?

asked 2015-08-09 08:24:13 -0500

Levsub gravatar image

updated 2015-08-09 10:02:01 -0500

I have setup Opencv as described here (which needs to be updated by the way): http://docs.opencv.org/doc/tutorials/...

However, when I've tried to run the test code written at that page, I received a bunch of errors, like error code LNK2038, LNK2005, LNK2001, LNK2019 etc. What Microsoft says about this issue is: "This error can occur when an object file in your project is out-of-date".

So, are the library files compatible with Visual Studio 2015?

screenshot:

image description

edit retag flag offensive close merge delete

Comments

if you build opencv from source it is compatible.

LBerger gravatar imageLBerger ( 2015-08-09 09:26:27 -0500 )edit

i added screenshot picture. ( @Levsub has sent to me )

sturkmen gravatar imagesturkmen ( 2015-08-09 09:58:32 -0500 )edit

It seems you are mixing statically linked libraries with dynamic build settings. This is not related to OpenCV but to your MVS configuration...

StevenPuttemans gravatar imageStevenPuttemans ( 2015-08-10 02:29:10 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-11-21 07:35:06 -0500

globalex gravatar image

Yes. It is. Prebuild libs are only for VS11 VS12.. Visual studio 2012 and 13.. Just build your own libs. It took abour 40 minutes. This tutorial show you How to use CMAKE and by SLN project build and release own libs for VS 2015. And it workes. :) I am using 64 bit version under visual studio 2015.
Tutorial

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-08-09 08:24:13 -0500

Seen: 884 times

Last updated: Aug 09 '15