Error 1 error MSB6006: "cmd.exe" exited with code 3.

dodgerrecordsdodgerrecords Posts: 123

NVM figured it out!

Post edited by dodgerrecords on

Comments

  • InkuboInkubo Posts: 742

    I am experiencing this error. When I double-click on it to see the error location, I'm presented with a source code file composed entirely of macros.

    I'm 99% sure the problem is due to a bad path preventing the compiler from running moc.exe, but I've searched through all the project's configuration dialogs and haven't found where to set the path to moc.

    Can anyone help me?

  • surrealsurreal Posts: 155

    When using Visual Studio the path to moc is in the custom build command line of each header file (Properties > Configuration Properties > Custom Build Tool > General > Command Line)

    e.g.  $(DazDevDir)\DAZStudio4_5SDK\bin\$(Platform)\moc "%(FullPath)" -o .\moc\%(Filename)_moc.cpp

    Note: You won't have $(DazDevDir) so replace that with the path for whereever you have the SDK located.

     

  • InkuboInkubo Posts: 742

    Thanks, @surreal! Wow, they hid that really well.

Sign In or Register to comment.