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

Feb 3, 2012 at 2:02 PM

I try to build GameOfLife3D.sln in Visual Studio 10, Windows 7 and get the error: "Error 1 error MSB6006: "cmd.exe" exited with code 9009". What can I do to successfully build the solution?

Coordinator
Apr 9, 2012 at 10:30 AM

Would you like to check that you specify the correct paths of Windows SDK and DirectX SDK in the following files:

- GameOfLife3D\GameOfLife3D\props\WindowsSDK_x86.props

- GameOfLife3D\GameOfLife3D\props\WindowsSDK_x64.props

- GameOfLife3D\GameOfLife3D\props\DirectX_x86.props

- GameOfLife3D\GameOfLife3D\props\DirectX_x64.props

 

 

 

 

Apr 30, 2012 at 3:13 AM

Hello, 

I am trying to build this program but it seems there are some environment problems about it. 

The errors are as follows,

Error 2 error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 GameOfLife3D

Error 1 error C1083: Cannot open include file: 'boost/ref.hpp': No such file or directory c:\users\administrator\desktop\gameoflife3d_41bdec84d488\gameoflife3dlib\logging\logging.h 16 1 GameOfLife3DLib

Error 3 error C1083: Cannot open include file: 'boost/ref.hpp': No such file or directory c:\users\administrator\desktop\gameoflife3d_41bdec84d488\gameoflife3dlib\logging\logging.h 16 1 GameOfLife3D_test

I am sure the ref.hpp file is in the directory c:/boost/

Can you give me some suggestions?

Thanks.

Hailei

Coordinator
May 1, 2012 at 10:25 AM

It seems that you don't have the Boost library(http://www.boost.org/) on your PC.

You can download Windows binaries which I compiled from my github. 

https://github.com/yohei-yoshihara/boost_1_48_0

You may need to modify the property files which specify where the boost library exists.

  • GameOfLife3D\GameOfLife3D\props\boost\boost_x86.props
  • GameOfLife3D\GameOfLife3D\props\boost\boost_x64.props

Best regards,

Yohei

May 2, 2012 at 2:23 AM

Hi,

Thanks for your advice. But it still has some problems.

The error is,

7 IntelliSense: cannot open source file "C:/Users/Administrator/Desktop/gameoflife3d_41bdec84d488/GameOfLife3D/Debug/MSXML6.tlh" c:\users\administrator\desktop\gameoflife3d_41bdec84d488\gameoflife3d\stdafx.h 125 1 GameOfLife3D

The error is in the stdafx.h file,

#import "MSXML6.dll" rename_namespace(_T("MSXML"))

I checked my computer, it has MSXML6.dll file in C:\windows\system32

I searched the internet and some one says I should use namespace MSXML2, I tried but it does not work.

What do you think about it?

Thanks a lot.

Hailei

 

 

Coordinator
May 2, 2012 at 2:44 AM

You can ignore this error message. You can build the project even this error message exists (because this is the error from IntelliSense).

After building the project, MSXML6.tlh is automatically generated by VC10.


May 2, 2012 at 5:17 AM
Edited May 2, 2012 at 5:38 AM

*********************************************

This reply is deleted by me just now

*********************************************

May 2, 2012 at 5:44 AM
Edited May 2, 2012 at 5:45 AM
homering wrote:

I try to build GameOfLife3D.sln in Visual Studio 10, Windows 7 and get the error: "Error 1 error MSB6006: "cmd.exe" exited with code 9009". What can I do to successfully build the solution?

I faced with the same problem. The paths of props files are right.

I searched the internet. But there is no useful information online for me.

Are you using VS2010 or VS2008?

Thanks.

Hailei

Coordinator
May 2, 2012 at 6:08 AM
Edited May 2, 2012 at 6:13 AM

I'm using Visual Studio 2010.

 

I put three custom build event in the project:

1) compile HLSL files with fxc.exe (Direct X sdk).

2) compile Ribbon Framework definition XML with UICC.exe (Windows SDK).

3) compile MUI resources with mui.bat (Windows SDK).

 

Would you like to try to rebuild the following projects in the solution one by one?

(Select the project in "Solution Explorer", right click to popup a context menu and then select "Rebuild")

1) "GameOfLife3D_en_us"

This project uses UICC.exe and mui.bat. I got the following trace log when I rebuild this project (I omit some of the lines):

1>  Performing Custom Build Tools
1>  Header file generation successful: 'ribbonres.h'.
1>  Ribbon markup file validation successful: 'ribbonmarkup.xml'.
1>  Ribbon resource file generation successful: 'ribbonres.rc'.
1>  stdafx.cpp
1>  dllmain.cpp
1>  GameOfLife3D_en_us.vcxproj -> C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\Debug\GameOfLife3D_MUI_en_us.dll
1>  
1>EXEC : warning : New language neutral file (C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\Debug\GameOfLife3D_MUI.dll) already exists; it will be overwritten
1>EXEC : warning : New MUI file (C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\Debug\en-US\GameOfLife3D_MUI.dll.mui) already exists and will be overwritten
1>  There is no version resource in the file 
1>  Language neutral file (C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\Debug\GameOfLife3D_MUI.dll) successfully created
1>  MUI file (C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\Debug\en-US\GameOfLife3D_MUI.dll.mui) successfully created 
1>  
1>  resource items inside LN file
1>  Type: MUI
1>         Name: 1:
1>                   LangId: 0x409
1>  Type: 24
1>         Name: 2:
1>                   LangId: 0x409
1>  
1>  
1>  resource items inside MUI file
1>  Type: MUI
1>         Name: 1:
1>                   LangId: 0x409
1>  Type: UIFILE
1>         Name: APPLICATION_RIBBON:
1>                   LangId: 0x409
1>  Type: 2
1>         Name: IDB_GAMEOFLIFE3D:
1>                   LangId: 0x409
1>         Name: 60031:
1>                   LangId: 0x409
1>  Type: 5
1>         Name: 201:
1>                   LangId: 0x409
1>  Type: 6
1>         Name: 63:
1>                   LangId: 0x409
1>  
1>  
1>  Checksum has been copied
1>  
1>  resource items inside LN file
1>  Type: MUI
1>         Name: 1:
1>                   LangId: 0x409
1>  Type: UIFILE
1>         Name: APPLICATION_RIBBON:
1>                   LangId: 0x409
1>  Type: 2
1>         Name: IDB_GAMEOFLIFE3D:
1>                   LangId: 0x409
1>  Type: 5
1>         Name: 201:
1>                   LangId: 0x409
1>  Type: 6
1>         Name: 63:
1>                   LangId: 0x409
1>  
1>  resource items inside MUI file

 

2) "GameOfLife3D" project

This project uses fxc.exe. I got the following trace log when I rebuild this project (I omit some of the lines):

5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\default.fxo
5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\gauss.fxo
5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\blend.fxo
5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\default_d3d.fxo
5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\gameoflife.fxo
5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\simple_d3d.fxo
5>  Performing Custom Build Tools
5>  Microsoft (R) Direct3D Shader Compiler 9.29.952.3111
5>  Copyright (C) Microsoft Corporation 2002-2009. All rights reserved.
5>  
5>  compilation succeeded; see C:\Users\yohei_yoshihara\Documents\Visual Studio 2010\Projects\GameOfLife3D\GameOfLife3D\shaders\simple_d3d_gs.fxo
5>  stdafx.cpp
5>  GameOfLife3D.cpp

 

Best regards,

Yohei

May 5, 2012 at 1:14 AM
Edited May 5, 2012 at 1:18 AM

Hi,

The trace log of GameOfLife3D shows the system cannot find fxc.exe. So my problems are like that,

The original file,

   <IncludePath>C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include;$(IncludePath)</IncludePath>

Mine computer should be,

   <IncludePath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Include;$(IncludePath)</IncludePath>

Thank you for your help.

I am entry level, so I think I am going to have a lot of questions. :)

Thanks again.

Hailei

Coordinator
May 5, 2012 at 2:03 AM

Thank you for your information. I've never tried to build the project on Windows 32bit version. Therefore I did not get this issue.

As a result, Windows 32bit users have to modify DirectX_x86.props and DirectX_x64.props like that:

DirectX_x86.props

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets" />
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <ExecutablePath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Utilities\bin\x86;$(ExecutablePath)</ExecutablePath>
  </PropertyGroup>
  <PropertyGroup>
    <IncludePath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Include;$(IncludePath)</IncludePath>
  </PropertyGroup>
  <PropertyGroup>
    <LibraryPath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86;$(LibraryPath)</LibraryPath>
  </PropertyGroup>
  <ItemDefinitionGroup />
  <ItemGroup />
</Project>

DirectX_x64.props

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="PropertySheets" />
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <ExecutablePath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Utilities\bin\x64;$(ExecutablePath)</ExecutablePath>
  </PropertyGroup>
  <PropertyGroup>
    <IncludePath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Include;$(IncludePath)</IncludePath>
  </PropertyGroup>
  <PropertyGroup>
    <LibraryPath>C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x64;$(LibraryPath)</LibraryPath>
  </PropertyGroup>
  <ItemDefinitionGroup />
  <ItemGroup />
</Project>

Best regards,

Yohei