简体   繁体   中英

OpenCV with VS2012 (Qt Support)

I am trying to build OpenCV on windows 32bits following this manual .

  • VS2012 as IDE.
  • Qt support (built from sources according to the tutorial).
  • phynx documentation.
  • Tried to include CUDA support, but as of right now it is not compatatible with VS2012.

Everything goes fine until I get to the building part using the solution files created from cmake. For most modules i get the following error:

LINK : fatal error LNK1104: cannot open file '....\\lib\\Debug\\opencv_core249d.lib'

with different files, but always error LNK1104.

When the compilation is complete the end result is something like:

Build completed. 9 succesful, 245 failed, 7 up-to-date, 0 skkiped.

Bottom line, I can't build opencv on vs2012, anyone got a tutorial or tips on this?

Are you sure you are using Opencv2.4.9? opencv_core249d.lib indicates you are using that. I'm going to post a tutorial on how to build opencv2.4.3 on VS2012, you can come to my blog a few days later. I'm going to publish it this weekend. My blog post is at How to compile opencv 2.4.3 x86 and x64 using Visual Studio 2012

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM