Unable to build opencv on windows

asked 2020-07-04 07:05:56 -0600

vchill gravatar image

Hi

i am trying the script to build opencv on windows from here : https://docs.opencv.org/master/d3/d52... with cuda, perf tests, tests and documentation enabled. But i get below error for multiple projects. LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_img_hash440d.lib'

i have both opencv and opencv_contrib scyned properly. I always used this cript and it used to work properly.

edit retag flag offensive close merge delete

Comments

when and where do you get that error ? we need more context

opencv version ? compiler ?

berak gravatar imageberak ( 2020-07-04 07:18:42 -0600 )edit
1

Its opencv master repo from github. I am using visual studio 2015 Full error log : https://docs.google.com/document/d/1_...

vchill gravatar imagevchill ( 2020-07-04 09:32:18 -0600 )edit

is this while building the opencv libs or with your own program ?

there must be more error msgs, leading to the one you show, please look it up and show us.

berak gravatar imageberak ( 2020-07-04 10:32:53 -0600 )edit

we have to access google docs to see your error ?

berak gravatar imageberak ( 2020-07-04 10:34:28 -0600 )edit
1

Its while building opencv library. Please open the google doc link for full error log.

vchill gravatar imagevchill ( 2020-07-04 13:01:54 -0600 )edit

opencv_img_hash440d.lib. Are you building for debug? Try release.

holger gravatar imageholger ( 2020-07-04 13:18:04 -0600 )edit
1

yea question above is about debug build, google doc link shows release ;(

berak gravatar imageberak ( 2020-07-04 13:20:21 -0600 )edit

maybe that's part of the problem - but easy to correct - its fine :-)

holger gravatar imageholger ( 2020-07-04 15:35:30 -0600 )edit

It happens with both release and debug builds.

vchill gravatar imagevchill ( 2020-07-05 01:15:55 -0600 )edit