I am using Opencv 2.4.9 ,Window 7 and Visual Studio 12 2013 I used cmake to create a opencv.sln by following the tutorials. When I open the project to build the solution 'OpenCV', it shows there are 55 errors. A lot of errors are like : Error LNK1181: cannot open file '....\lib\Release\opencv_core2411.lib Error LNK1181: cannot open file '....\lib\Release\opencv_gpu2411.lib and so on. And some other error messages are : error MSB6006: "cmd.exe" exited with code 1 I have tried to use win32 and x64 to compile but the error messages are both happened. Please tell how to solve the problem?