none
Error MSB6006: "cmd.exe" exited with code 1._ RRS feed

  • Question

  • Hi,

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

    I am getting this error while compiling a .pc file when I set up the command line properties for this pc file as 

    command line : C:\Oracle\Ora11g_32\Client11g\bin\proc $(IntDir)\$(InputName).pc DBMS=V8 SQLCHECK=FULL MODE=ANSI type_code=ANSI USERID=userid/pwd CODE=ANSI_C  $(IntDir)\$(InputName).c

    outputs : $(IntDir)$(InputName).c

    but when I hard code the filename ( along with the path name) its working fine i.e

    command line : C:\Oracle\Ora11g_32\Client11g\bin\proc.exe c:\rcm\f8cm4140\f8cm4140.pc DBMS=V8 SQLCHECK=FULL MODE=ANSI type_code=ANSI USERID=userid/pwd  CODE=ANSI_C  c:\rcm\f8cm4140\f8cm4140.c

    outputs : $(IntDir)$(InputName).c

    Please tell me where exactly I am going wrong.

    I would really appreciate it.

    Thanks in advance.

    • Moved by Amanda Zhu Thursday, May 16, 2013 7:30 AM move to a more appropriate forum
    Wednesday, May 15, 2013 7:52 PM

Answers

  • In order to check the command line, add this first line: “@echo C:\Oracle...”, then see the Output window.

    Note that the variable $(IntDir) already includes trailing slash.

    Thursday, May 16, 2013 4:59 AM