Hi Zang,

your error messages state that there were errors on the command line while 
executing some custom commands necessary for the MITK-build. Unfortunately we 
cannot say anything about the specific errors just from the snippets you 
posted. At the end of your build, there should be a link in the output window 
pointing to a log file. Please follow that link and search for your errors in 
that file. There you should find more specific error messages.

Cheers,
    Stefan

Von: Alfred Franz [mailto:[email protected]]
Gesendet: Montag, 7. Mai 2012 10:01
An: Zhang
Cc: [email protected]
Betreff: Re: [mitk-users] Please help me!

Hi Zhang,

I'm sorry that the answer comes so late. As far as I know the file 
"Microsoft.CppCommon.targets" is not part of MITK. Unfortunately I didn't see 
the errors before so I need some more Information to help you. Did the errors 
occure during the superbuild? What compiler did you use to compile MITK? Was 
the cmake build successful?

Greets,

Alfred

Am 27.04.2012 20:14, schrieb Zhang:
Dear Friends,
      I’m installing MITK, I want to develop some software based on it, but I 
have 2 problems now, please help me.
      I got 2 problems when I BUILD MITK  following 
“http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html” instruction, the 
first problem is:
8>C:\Program 
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error 
MSB6006: "cmd.exe" exited with code 1.
8>Done executing task "CustomBuild" -- FAILED. (TaskId:74)
8>Done building target "CustomBuild" in project "MITK-Configure.vcxproj" -- 
FAILED.: (TargetId:151)
----------------------------------------------------------------------------------------------------------------------------
The second is:
9>C:\Program 
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error 
MSB6006: "cmd.exe" exited with code 1.
9>Done executing task "CustomBuild" -- FAILED. (TaskId:98)
9>Done building target "CustomBuild" in project "MITK-build.vcxproj" -- 
FAILED.: (TargetId:196)
----------------------------------------------------------------------------------------------------------------------------
The 2 faileds look like coming from one reason.

And, I have find the record:
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): 
error MSB6006: "cmd.exe" exited with code 1.
In the file “Microsoft.CppCommon.targets”, from 151 line, the information are:
<CustomBuild
      Sources                     ="@(CustomBuild)"
      BuildSuffix                 ="$(BuildSuffix)"

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

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

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

Please give me some help.
Thank you a lot.
Best!
Yunpeng Zhang
CMR Unit, Royal Brompton campus, Imaperial college London,
London,
SW3 6NP,
UK,



________________________________
网易Lofter,专注兴趣,分享创作!<http://www.lofter.com>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to