I am building driver for my USB device. While building using msvisual studio10 I am getting 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 out in getting rid of these two errors which are hindering tyhe building process of my project.
I realize the question is quite old, but some people seem to be interested in resolution.
I believe, the boost compilation problem might be described here. The problem is with boost version 1.48, exactly what you seem to have.
Then, to fix it try using newer boost version or just take the problematic header from newer boost version.
Now, the cmd.exe error is most likely caused by this compilation failure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With