Ask Your Question

Error when building OpenCV with VS2012

asked 2014-04-15 11:09:49 -0500

updated 2014-04-16 03:03:06 -0500

Please i get a errors when i try to generate the build form OpenCV, this is my steps:

  1. i download OpenCV (version 2.4.8)
  2. i download Cmake
  3. i generate "C:\OpenCV-2.4.8\mybuild" using Cmake from "C:\OpenCV-2.4.8\opencv\sources"
  4. on the folder "C:\OpenCV-2.4.8\mybuild" i have the sln file : "OpenCV.sln"
  5. i open "OpenCV.sln" file with my VS2012
  6. i click on generate the solution
  7. I get an error :image description(/upfiles/13975781154595343.png)

i select WITH_QT see the photo : OpenCV with QT.png

Please, can you tell me what is the problem !

Best regards

edit retag flag offensive close merge delete


when running cmake, you seem to have opted for WITH_QT, but now vs cannot find the qt libs ?

berak gravatar imageberak ( 2014-04-15 12:41:55 -0500 )edit

Yes i opted for WITH_QT, do you know how can i fix the qt libs ? See the description, i just edit it, i put the printscreen of the WITH_QT. Thanks

ouakrimyoussef gravatar imageouakrimyoussef ( 2014-04-16 02:57:46 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-19 23:43:11 -0500

I solved the problem, i just have to add dll file missing, i add it to debug reposotory and it's compile fine now. Thanks for all

edit flag offensive delete link more

Question Tools


Asked: 2014-04-15 11:09:49 -0500

Seen: 208 times

Last updated: Apr 19 '14