Error MSB6006: "cmd.exe" completed with code

I am creating a driver for my USB device. When creating using msvisual studio10, I get the following two errors:

C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 

and

 C:/boost32/include/boost-1_48\boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp(34): error C2766: explicit specialization; 'boost::numeric::numeric_cast_traits<char,char>' has already been defined 2> C:/boost32/include/boost-1_48\boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp(18) : see previous definition of 'numeric_cast_traits<char,char,void>' 

Help me get rid of these two errors that impede the building process of my project.

+6
source share
1 answer

I understand that the question is quite old, but some people seem to be interested in resolving it.

I believe that the boost compilation problem can be described here here . The problem is upgrading version 1.48, which you seem to have.

Then, to fix this, try using the new boost version or just grab the problematic header from the newer boost version.

Now the cmd.exe error is most likely caused by this compilation failure.

+1
source

Source: https://habr.com/ru/post/908026/


All Articles