locked
Error when executing the build all samples script RRS feed

  • Question

  • I have installed MRDS on two different window machines and I continue to get warning and errors when attempting to run the build all samples.  Below are the errors I get from one of the machines.  I am not sure what is wrong.  I have followed the MRDS installation directions i.e. installed VS 2010 Express, Kinect SDK, Silverlight 4.0 followed by MRDS.  Most of the errors appear to be about the Kinect.  Do I need to have the kinect connected when running the build script?Any explanation to the problem would be greatly appreciated.

    SimulatedKinect.cs(27,39): error CS0234: The type or namespace name 'Sensors' d
    oes not exist in the namespace 'Microsoft.Robotics.Services' (are you missing a
    n assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\sample
    s\Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj]
    SimulatedKinect.cs(32,48): error CS0234: The type or namespace name 'Sensors' d
    oes not exist in the namespace 'Microsoft.Robotics.Services' (are you missing a
    n assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\sample
    s\Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj]
    SimulatedKinect.cs(484,85): error CS0246: The type or namespace name 'RawKinect
    Frames' could not be found (are you missing a using directive or an assembly re
    ference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulation\
    Sensors\SimulatedKinect\SimulatedKinect.csproj]
    SimulatedKinect.cs(527,85): error CS0246: The type or namespace name 'RawKinect
    Frames' could not be found (are you missing a using directive or an assembly re
    ference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulation\
    Sensors\SimulatedKinect\SimulatedKinect.csproj]
    SingleAxisMultipleJointsAlternate.cs(18,48): error CS0234: The type or namespac
    e name 'Sensors' does not exist in the namespace 'Microsoft.Robotics.Services'
    (are you missing an assembly reference?) [C:\Users\evcross\Microsoft Robotics D
    ev Studio 4\samples\Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj]
    Done Building Project "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples
    \Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj" (default targets) -
    - FAILED.

    Project "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj
    " (1) is building "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sen
    sors\Kinect\MicArray\SpeechRecognizer\MicArraySpeechRecognizer.csproj" (81) on
    node 1 (default targets).
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
    les are up-to-date with respect to the input files.
    CoreCompile:
    Skipping target "CoreCompile" because all output files are up-to-date with resp
    ect to the input files.
    CopyFilesToOutputDirectory:
      MicArraySpeechRecognizer -> C:\Users\evcross\Microsoft Robotics Dev Studio 4\
      bin\User.MicArraySpeechRecognizer.Y2011.M06.dll
    Done Building Project "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples
    \Sensors\Kinect\MicArray\SpeechRecognizer\MicArraySpeechRecognizer.csproj" (def
    ault targets).

    Project "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj
    " (1) is building "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sen
    sors\Kinect\MicArray\SpeechRecognizerGui\MicArraySpeechRecognizerGui.csproj" (8
    2) on node 1 (default targets).
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
    les are up-to-date with respect to the input files.
    CoreCompile:
    Skipping target "CoreCompile" because all output files are up-to-date with resp
    ect to the input files.
    CopyFilesToOutputDirectory:
      MicArraySpeechRecognizerGui -> C:\Users\evcross\Microsoft Robotics Dev Studio
       4\bin\User.MicArraySpeechRecognizerGui.Y2011.M06.dll
    Done Building Project "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples
    \Sensors\Kinect\MicArray\SpeechRecognizerGui\MicArraySpeechRecognizerGui.csproj
    " (default targets).

    Done Building Project "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples
    \buildall.proj" (default targets) -- FAILED.


    Build FAILED.

    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\Kinect
    UI\KinectUI.csproj" (default target) (75) ->
    (ResolveAssemblyReferences target) ->
      c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9
    ): warning MSB3245: Could not resolve this reference. Could not locate the asse
    mbly "User.Kinect.Y2011.M01". Check to make sure the assembly exists on disk. I
    f this reference is required by your code, you may get compilation errors. [C:\
    Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\KinectUI\K
    inectUI.csproj]
      c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9
    ): warning MSB3245: Could not resolve this reference. Could not locate the asse
    mbly "User.Kinect.Y2011.M01.Proxy". Check to make sure the assembly exists on d
    isk. If this reference is required by your code, you may get compilation errors
    . [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\Kine
    ctUI\KinectUI.csproj]


    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Misc\ObstacleAvoidanc
    e\ObstacleAvoidanceDrive.csproj" (default target) (76) ->
      c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9
    ): warning MSB3245: Could not resolve this reference. Could not locate the asse
    mbly "User.Kinect.Y2011.M01". Check to make sure the assembly exists on disk. I
    f this reference is required by your code, you may get compilation errors. [C:\
    Users\evcross\Microsoft Robotics Dev Studio 4\samples\Misc\ObstacleAvoidance\Ob
    stacleAvoidanceDrive.csproj]


    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulation\Sensors\Si
    mulatedKinect\SimulatedKinect.csproj" (default target) (80) ->
      c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9
    ): warning MSB3245: Could not resolve this reference. Could not locate the asse
    mbly "User.Kinect.Y2011.M01". Check to make sure the assembly exists on disk. I
    f this reference is required by your code, you may get compilation errors. [C:\
    Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulation\Sensors\Simula
    tedKinect\SimulatedKinect.csproj]
      c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9
    ): warning MSB3245: Could not resolve this reference. Could not locate the asse
    mbly "User.Kinect.Y2011.M01.Proxy". Check to make sure the assembly exists on d
    isk. If this reference is required by your code, you may get compilation errors
    . [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulation\Sensors\
    SimulatedKinect\SimulatedKinect.csproj]


    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\Kinect
    \Kinect.csproj" (default target) (74) ->
    (CoreCompile target) ->
      Kinect.cs(698,26): error CS0618: Warning as Error: 'Microsoft.Kinect.KinectSe
    nsor.MapDepthToColorImagePoint(Microsoft.Kinect.DepthImageFormat, int, int, sho
    rt, Microsoft.Kinect.ColorImageFormat)' is obsolete: 'This method is replaced b
    y Microsoft.Kinect.CoordinateMapper.MapDepthPointToColorPoint' [C:\Users\evcros
    s\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\Kinect\Kinect.csproj]
      Kinect.cs(720,35): error CS0618: Warning as Error: 'Microsoft.Kinect.KinectSe
    nsor.MapSkeletonPointToDepth(Microsoft.Kinect.SkeletonPoint, Microsoft.Kinect.D
    epthImageFormat)' is obsolete: 'This method is replaced by Microsoft.Kinect.Coo
    rdinateMapper.MapSkeletonPointToDepthPoint' [C:\Users\evcross\Microsoft Robotic
    s Dev Studio 4\samples\Sensors\Kinect\Kinect\Kinect.csproj]
      Kinect.cs(736,42): error CS0618: Warning as Error: 'Microsoft.Kinect.KinectSe
    nsor.MapSkeletonPointToColor(Microsoft.Kinect.SkeletonPoint, Microsoft.Kinect.C
    olorImageFormat)' is obsolete: 'This method is replaced by Microsoft.Kinect.Coo
    rdinateMapper.MapSkeletonPointToColorPoint' [C:\Users\evcross\Microsoft Robotic
    s Dev Studio 4\samples\Sensors\Kinect\Kinect\Kinect.csproj]
      Kinect.cs(755,39): error CS0618: Warning as Error: 'Microsoft.Kinect.KinectSe
    nsor.MapDepthToSkeletonPoint(Microsoft.Kinect.DepthImageFormat, int, int, short
    )' is obsolete: 'This method is replaced by Microsoft.Kinect.CoordinateMapper.M
    apDepthPointToSkeletonPoint' [C:\Users\evcross\Microsoft Robotics Dev Studio 4\
    samples\Sensors\Kinect\Kinect\Kinect.csproj]
      CSC : error CS1606: Assembly signing failed; output may not be signed -- Erro
    r signing assembly -- The system cannot find the file specified. [C:\Users\evcr
    oss\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\Kinect\Kinect.csproj
    ]


    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sensors\Kinect\Kinect
    UI\KinectUI.csproj" (default target) (75) ->
      KinectUI.xaml.cs(18,48): error CS0234: The type or namespace name 'Sensors' d
    oes not exist in the namespace 'Microsoft.Robotics.Services' (are you missing a
    n assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\sample
    s\Sensors\Kinect\KinectUI\KinectUI.csproj]
      KinectUI.cs(22,48): error CS0234: The type or namespace name 'Sensors' does n
    ot exist in the namespace 'Microsoft.Robotics.Services' (are you missing an ass
    embly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sen
    sors\Kinect\KinectUI\KinectUI.csproj]
      KinectUI.cs(23,53): error CS0234: The type or namespace name 'Sensors' does n
    ot exist in the namespace 'Microsoft.Robotics.Services' (are you missing an ass
    embly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Sen
    sors\Kinect\KinectUI\KinectUI.csproj]
      FramePreProcessor.cs(21,48): error CS0234: The type or namespace name 'Sensor
    s' does not exist in the namespace 'Microsoft.Robotics.Services' (are you missi
    ng an assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\sa
    mples\Sensors\Kinect\KinectUI\KinectUI.csproj]
      FramePreProcessor.cs(22,53): error CS0234: The type or namespace name 'Sensor
    s' does not exist in the namespace 'Microsoft.Robotics.Services' (are you missi
    ng an assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\sa
    mples\Sensors\Kinect\KinectUI\KinectUI.csproj]


    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Misc\ObstacleAvoidanc
    e\ObstacleAvoidanceDrive.csproj" (default target) (76) ->
      ObstacleAvoidanceDrive.cs(23,39): error CS0234: The type or namespace name 'S
    ensors' does not exist in the namespace 'Microsoft.Robotics.Services' (are you
    missing an assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio
     4\samples\Misc\ObstacleAvoidance\ObstacleAvoidanceDrive.csproj]
      ObstacleAvoidanceDrive.cs(113,19): error CS0103: The name 'KinectCameraConsta
    nts' does not exist in the current context [C:\Users\evcross\Microsoft Robotics
     Dev Studio 4\samples\Misc\ObstacleAvoidance\ObstacleAvoidanceDrive.csproj]


    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\buildall.proj" (defau
    lt target) (1) ->
    "C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulation\Sensors\Si
    mulatedKinect\SimulatedKinect.csproj" (default target) (80) ->
      SimulatedKinect.cs(27,39): error CS0234: The type or namespace name 'Sensors'
     does not exist in the namespace 'Microsoft.Robotics.Services' (are you missing
     an assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samp
    les\Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj]
      SimulatedKinect.cs(32,48): error CS0234: The type or namespace name 'Sensors'
     does not exist in the namespace 'Microsoft.Robotics.Services' (are you missing
     an assembly reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samp
    les\Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj]
      SimulatedKinect.cs(484,85): error CS0246: The type or namespace name 'RawKine
    ctFrames' could not be found (are you missing a using directive or an assembly
    reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulatio
    n\Sensors\SimulatedKinect\SimulatedKinect.csproj]
      SimulatedKinect.cs(527,85): error CS0246: The type or namespace name 'RawKine
    ctFrames' could not be found (are you missing a using directive or an assembly
    reference?) [C:\Users\evcross\Microsoft Robotics Dev Studio 4\samples\Simulatio
    n\Sensors\SimulatedKinect\SimulatedKinect.csproj]
      SingleAxisMultipleJointsAlternate.cs(18,48): error CS0234: The type or namesp
    ace name 'Sensors' does not exist in the namespace 'Microsoft.Robotics.Services
    ' (are you missing an assembly reference?) [C:\Users\evcross\Microsoft Robotics
     Dev Studio 4\samples\Simulation\Sensors\SimulatedKinect\SimulatedKinect.csproj
    ]

        5 Warning(s)
        17 Error(s)


    E. Vincent Cross II, Ph.D. Senior Research Scientist Intelligent Robotics Lab Lockheed Martin Advanced Technology Laboratories

    Friday, April 26, 2013 10:06 PM

Answers

All replies

  • So on further review this appears to have to do with the kinect.  I thought that maybe I needed to install the Microsoft Speech SDK, which i have gone ahead and done however I am still getting these errors.

    Thanks,


    E. Vincent Cross II, Ph.D. Senior Research Scientist Intelligent Robotics Lab Lockheed Martin Advanced Technology Laboratories

    Monday, April 29, 2013 2:34 PM
  • Here is your answer:  http://social.msdn.microsoft.com/Forums/en-US/roboticscommunity/thread/2a09e735-3a86-4c3d-aa4d-ed7e51a2dbce

    It's caused by depreciated methods and "treat warnings as errors" option in the "Samples\Sensors\Kinect\Kinect" project.

    Either download the finished replacement source file from the CodePlex patch (link in the answer above), or follow instructions in my blog article (link below) to learn how to do it yourself in the future:

    http://codechief.wordpress.com/2013/04/27/fixing-robotics-developer-studio-4-to-run-with-kinect-sdk-v1-7/

    There are some other issues to fix which I will add to my blog later when I have time to write them up.


    Key Artefacts

    Monday, April 29, 2013 7:57 PM
  • Hopefully that takes care of your problem.  Please open a new thread if it does not as threads marked answered do not get as much attention.
    Wednesday, May 1, 2013 5:22 PM
  • Thanks for the help Code Chief,  I will try your blog so that I can have a better understanding of the problem in case I run into other issues.


    E. Vincent Cross II, Ph.D. Senior Research Scientist Intelligent Robotics Lab Lockheed Martin Advanced Technology Laboratories

    Wednesday, May 1, 2013 5:23 PM