Linker errors when building openCV from source

asked 2013-12-11 10:23:43 -0500

moonkeh gravatar image

I'm trying to build OpenCV, including CUDA, from source in VS2010, following the instructions here:

I'm getting multiple Build Faileds, but the only error that seems to be appearing in the output is "LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_core300d.lib'", multiple times.

I've searched through this section of the site, and the only suggested answer for someone who had the same error was 'create a property sheet with the correct linker settings', which is obviously useless as I can't link to a library that hasn't been built yet!

I'm also a bit confused as to why it's looking for a filename ending '300d.lib', I thought the latest version was 2.4.7..? Did that installation guide instruct me to download the wrong version?

edit retag flag offensive close merge delete


you seem to have downloaded the master(3.0) src code

berak gravatar imageberak ( 2013-12-11 10:40:36 -0500 )edit

I've realised that and downloaded the 2.4 branch now. Just wandering why on earth the default is to download an unfinished/unstable version...

moonkeh gravatar imagemoonkeh ( 2013-12-11 10:50:54 -0500 )edit