Ask Your Question

OpenCV build errors:error MSB6006: "cmd.exe" exited with code 1

asked 2016-03-30 20:53:44 -0500

ocxs gravatar image

I built my opencv source(opencv3.1.0) using VS2013 with CUDA7.5, TBB, Python2.7.11, Eigen3.2.8, and then I get a error message as follows.

Error 45333: error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170 5 opencv_python2

Whichever I built it in Debug mode or Release mode, the same error happened. I know that python do not provide python27_d.lib, so when I built in Debug mode before (e.g. opencv2.4.9), link error (can not find python27_d.lib) happened. But this time, although I built in Release mode, error 35333 happened as mentioned before.

Here is my cmake configuration about python modules.

image description

I google similar questions but do not get what I want, so anyone can solve it ? Thanks in advance !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-13 14:58:18 -0500

I have the same issue and the same cmake config for python2. I have been following this tutorial:

I am new to all of this, so I cant be of any help. Struggling to get this working. I want to include the extension modules for opencv 3.0.

Anyone have any suggestions?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-30 20:53:44 -0500

Seen: 1,707 times

Last updated: Mar 30 '16