Archived

This forum has been archived. Please start a new discussion on GitHub.

demo code compile error

Hi All
I loaded cpp demo solution demo-vs2010 into MSVS 2010. Two group projects cannot compile, all others are OK.
All projects under Freeze compile error: MSB6006 cmd.exe exited with code 3
Map_filesystem: server compile error MSB6006 cmd.exe exited with code 3

one of the detail error is:

Error 89 error MSB6006: "cmd.exe" exited with code 3. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 server (Book\map_filesystem\server)

line 151 copied below:

<CustomBuild
Sources ="@(CustomBuild)&quot;
BuildSuffix ="$(BuildSuffix)"

TrackerLogDirectory ="%(CustomBuild.TrackerLogDirectory)"
MinimalRebuildFromTracking ="%(CustomBuild.MinimalRebuildFromTracking)"

TLogReadFiles ="@(CustomBuildTLogReadFiles)&quot;
TLogWriteFiles ="@(CustomBuildTLogWriteFiles)&quot;
TrackFileAccess ="$(TrackFileAccess)"
ToolArchitecture ="$(CustomBuildToolArchitecture)"
TrackerFrameworkPath ="$(CustomBuildTrackerFrameworkPath)"
TrackerSdkPath ="$(CustomBuildTrackerSdkPath)"

AcceptableNonZeroExitCodes ="%(CustomBuild.AcceptableNonZeroExitCodes)"
>
</CustomBuild>



Thanks
Chang

Comments

  • xdm
    xdm La Coruña, Spain
    Hi,

    The Freeze projects use custom build steps to run slice2freeze, this seems like an error when try to run the custom build step.

    Can you change "MSBuild project build output verbosity" to "Detailed" this options is located in "Tool > Options > Project & Solutions > Build & Run" , rebuild the project, the ouput will give us more information about what is going on.
  • after setup "detail" for build and run, there is still only one error message,
    Error 14 error MSB6006: "cmd.exe" exited with code 3. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 client (Freeze\backup\client)
  • xdm
    xdm La Coruña, Spain
    There should more detailed info in the Output window. look for the lines that contains slice2freeze.exe
    1>Target "CustomBuild" in file "C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets" from project "C:\Users\jose\Documents\ZeroC\Ice-3.4.2-demos\demo\book\map_filesystem\book.map_filesystem.server.vcxproj" (target "BuildGenerateSources" depends on it):
    1>Using "CustomBuild" task from assembly "Microsoft.Build.CppTasks.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    1>Task "CustomBuild"
    1>  Forcing rebuild of all source files due to missing command tlog "C:\Users\jose\Documents\ZeroC\Ice-3.4.2-demos\demo\book\map_filesystem\Debug\server\custombuild.command.1.tlog".
    1>  "C:\Program Files\ZeroC\Ice-3.4.2\bin\slice2freeze.exe" -I"C:\Program Files\ZeroC\Ice-3.4.2\slice" -I. --ice --dict FilesystemDB::IdentityFileEntryMap,Ice::Identity,FilesystemDB::FileEntry IdentityFileEntryMap FilesystemDB.ice "C:\Program Files\ZeroC\Ice-3.4.2\slice\Ice\Identity.ice"
    1>  "C:\Program Files\ZeroC\Ice-3.4.2\bin\slice2freeze.exe" -I"C:\Program Files\ZeroC\Ice-3.4.2\slice" -I. --ice --dict FilesystemDB::IdentityDirectoryEntryMap,Ice::Identity,FilesystemDB::DirectoryEntry IdentityDirectoryEntryMap FilesystemDB.ice "C:\Program Files\ZeroC\Ice-3.4.2\slice\Ice\Identity.ice"
    1>  Performing Custom Build Tools
    1>Done executing task "CustomBuild".