Skip to content

Build is failing (CMake issue for VS Dev console, VS version issue for Windows console) #894

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mbilenko opened this issue Sep 12, 2018 · 6 comments
Assignees
Labels
Build Build related issue

Comments

@mbilenko
Copy link

System information

  • OS version/distro: Microsoft Windows [Version 10.0.16299.492]
  • .NET Version (eg., dotnet --info): 2.1.401

Issue

  • What did you do? cloned the repo
  • What happened? build.cmd failed :(
  • What did you expect? build.cmd not to fail

Source code / logs

Tried both Developer CMD for VS 2017, then vanilla cmd.
Below is the log for Developer CMD (CMake issue).
For Vanilla CMD, the error is that it incorrectly identifies VS version and tries to look for 14.0 (pasted below after "=======").
c:\Users\mbilenko\Documents\GitHub\machinelearning>build.cmd
Installing dotnet cli...
Restoring BuildTools version 3.0.0-preview1-03129-01...
Initializing BuildTools...
Done initializing tools.
Running: c:\Users\mbilenko\Documents\GitHub\machinelearning\Tools\dotnetcli\dotnet msbuild /nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools\Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:Configuration=Debug /flp:v=normal /flp2:warningsonly;logfile=msbuild.wrn /flp3:errorsonly;logfile=msbuild.err build.proj
Restoring all projects...
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Api\Microsoft.ML.Api.csproj...
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Console\Microsoft.ML.Console.csproj...
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.CpuMath\Microsoft.ML.CpuMath.csproj...
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Core\Microsoft.ML.Core.csproj...
Installing StyleCop.Analyzers 1.1.0-beta008.
Installing NETStandard.Library 2.0.3.
Installing System.Threading.Tasks.Dataflow 4.8.0.
Installing System.CodeDom 4.4.0.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Core\Microsoft.ML.Core.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CpuMath\Microsoft.ML.CpuMath.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CpuMath\Microsoft.ML.CpuMath.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Core\Microsoft.ML.Core.csproj.nuget.g.targets.
Restore completed in 8,89 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.CpuMath\Microsoft.ML.CpuMath.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Data\Microsoft.ML.Data.csproj...
Restore completed in 8,89 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Core\Microsoft.ML.Core.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Ensemble\Microsoft.ML.Ensemble.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Api\Microsoft.ML.Api.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Data\Microsoft.ML.Data.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Data\Microsoft.ML.Data.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Api\Microsoft.ML.Api.csproj.nuget.g.targets.
Restore completed in 9,48 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Api\Microsoft.ML.Api.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.FastTree\Microsoft.ML.FastTree.csproj...
Restore completed in 498,26 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Data\Microsoft.ML.Data.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.HalLearners\Microsoft.ML.HalLearners.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.FastTree\Microsoft.ML.FastTree.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Ensemble\Microsoft.ML.Ensemble.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.FastTree\Microsoft.ML.FastTree.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Ensemble\Microsoft.ML.Ensemble.csproj.nuget.g.targets.
Restore completed in 75,34 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.FastTree\Microsoft.ML.FastTree.csproj.
Restore completed in 648,76 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Ensemble\Microsoft.ML.Ensemble.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.ImageAnalytics\Microsoft.ML.ImageAnalytics.csproj...
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.KMeansClustering\Microsoft.ML.KMeansClustering.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.KMeansClustering\Microsoft.ML.KMeansClustering.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.KMeansClustering\Microsoft.ML.KMeansClustering.csproj.nuget.g.targets.
Restore completed in 208,36 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.KMeansClustering\Microsoft.ML.KMeansClustering.csproj.
Installing System.Drawing.Common 4.5.0.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.LightGBM\Microsoft.ML.LightGBM.csproj...
Installing LightGBM 2.1.2.2.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.LightGBM\Microsoft.ML.LightGBM.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.LightGBM\Microsoft.ML.LightGBM.csproj.nuget.g.targets.
Restore completed in 1,8 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.LightGBM\Microsoft.ML.LightGBM.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Maml\Microsoft.ML.Maml.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Maml\Microsoft.ML.Maml.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Maml\Microsoft.ML.Maml.csproj.nuget.g.targets.
Restore completed in 7,31 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Maml\Microsoft.ML.Maml.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Onnx\Microsoft.ML.Onnx.csproj...
Installing Google.Protobuf 3.5.1.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.ImageAnalytics\Microsoft.ML.ImageAnalytics.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.ImageAnalytics\Microsoft.ML.ImageAnalytics.csproj.nuget.g.targets.
Restore completed in 2,9 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.ImageAnalytics\Microsoft.ML.ImageAnalytics.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Parquet\Microsoft.ML.Parquet.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Onnx\Microsoft.ML.Onnx.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Onnx\Microsoft.ML.Onnx.csproj.nuget.g.targets.
Restore completed in 318,75 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Onnx\Microsoft.ML.Onnx.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.PCA\Microsoft.ML.PCA.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.PCA\Microsoft.ML.PCA.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.PCA\Microsoft.ML.PCA.csproj.nuget.g.targets.
Restore completed in 52,38 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.PCA\Microsoft.ML.PCA.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.PipelineInference\Microsoft.ML.PipelineInference.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.PipelineInference\Microsoft.ML.PipelineInference.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.PipelineInference\Microsoft.ML.PipelineInference.csproj.nuget.g.targets.
Restore completed in 57,72 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.PipelineInference\Microsoft.ML.PipelineInference.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.ResultProcessor\Microsoft.ML.ResultProcessor.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.ResultProcessor\Microsoft.ML.ResultProcessor.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.ResultProcessor\Microsoft.ML.ResultProcessor.csproj.nuget.g.targets.
Restore completed in 43,02 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.ResultProcessor\Microsoft.ML.ResultProcessor.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.StandardLearners\Microsoft.ML.StandardLearners.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.StandardLearners\Microsoft.ML.StandardLearners.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.StandardLearners\Microsoft.ML.StandardLearners.csproj.nuget.g.targets.
Restore completed in 46,57 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.StandardLearners\Microsoft.ML.StandardLearners.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Sweeper\Microsoft.ML.Sweeper.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Sweeper\Microsoft.ML.Sweeper.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Sweeper\Microsoft.ML.Sweeper.csproj.nuget.g.targets.
Restore completed in 52,58 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Sweeper\Microsoft.ML.Sweeper.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj.nuget.g.targets.
Restore completed in 49,52 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj...
Installing Parquet.Net 2.1.3.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj.nuget.g.targets.
Restore completed in 77,24 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML\Microsoft.ML.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML\Microsoft.ML.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML\Microsoft.ML.csproj.nuget.g.targets.
Restore completed in 58,42 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML\Microsoft.ML.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Parquet\Microsoft.ML.Parquet.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Parquet\Microsoft.ML.Parquet.csproj.nuget.g.targets.
Restore completed in 1,15 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Parquet\Microsoft.ML.Parquet.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.CodeAnalyzer.Tests\Microsoft.ML.CodeAnalyzer.Tests.csproj...
Installing System.Security.Cryptography.Cng 4.2.0.
Installing System.Security.Cryptography.Csp 4.0.0.
Installing System.Security.Cryptography.OpenSsl 4.0.0.
Installing System.Diagnostics.DiagnosticSource 4.0.0.
Installing runtime.native.System.Net.Http 4.0.1.
Installing runtime.native.System.Security.Cryptography 4.0.0.
Installing runtime.native.System.IO.Compression 4.1.0.
Installing System.Buffers 4.0.0.
Installing System.Xml.XmlSerializer 4.0.11.
Installing System.Globalization.Extensions 4.0.1.
Installing System.Security.Cryptography.X509Certificates 4.1.0.
Installing System.Net.Http 4.1.0.
Installing System.Security.Cryptography.Algorithms 4.2.0.
Installing System.Security.Cryptography.Encoding 4.0.0.
Installing System.IO.Compression 4.1.0.
Installing System.Collections.Concurrent 4.0.12.
Installing xunit.runner.visualstudio 2.3.1.
Installing xunit 2.3.1.
Installing System.IO.Compression.ZipFile 4.0.1.
Installing System.Threading.Timer 4.0.1.
Installing Microsoft.NETCore.App 2.1.0.
Installing Microsoft.NET.Test.Sdk 15.8.0.
Installing xunit.analyzers 0.7.0.
Installing xunit.assert 2.3.1.
Installing xunit.core 2.3.1.
Installing Microsoft.NETCore.Platforms 2.1.0.
Installing BenchmarkDotNet 0.11.0.
Installing Microsoft.NETCore.Targets 2.1.0.
Installing Microsoft.NETCore.DotNetHostPolicy 2.1.0.
Installing Microsoft.CSharp 4.5.0.
Installing System.Composition 1.2.0.
Installing Microsoft.CodeAnalysis.CSharp.Workspaces 2.8.2.
Installing Microsoft.CodeCoverage 15.8.0.
Installing Microsoft.TestPlatform.TestHost 15.8.0.
Installing xunit.extensibility.execution 2.3.1.
Installing System.Reflection.Metadata 1.5.0.
Installing xunit.extensibility.core 2.3.1.
Installing Microsoft.NETCore.DotNetHostResolver 2.1.0.
Installing System.Xml.XPath.XmlDocument 4.3.0.
Installing System.Xml.XmlSerializer 4.3.0.
Installing System.Composition.Hosting 1.2.0.
Installing System.Composition.Convention 1.2.0.
Installing System.Collections.Immutable 1.4.0.
Installing System.Management 4.5.0.
Installing System.Composition.AttributedModel 1.2.0.
Installing System.Composition.Runtime 1.2.0.
Installing Microsoft.DotNet.InternalAbstractions 1.0.0.
Installing System.Composition.TypedParts 1.2.0.
Installing Microsoft.CodeAnalysis.Workspaces.Common 2.8.2.
Installing Microsoft.CodeAnalysis.CSharp 2.8.2.
Installing Microsoft.DotNet.PlatformAbstractions 1.1.1.
Installing Microsoft.Extensions.DependencyModel 1.0.3.
Installing Newtonsoft.Json 9.0.1.
Installing Microsoft.TestPlatform.ObjectModel 15.8.0.
Installing Microsoft.Win32.Registry 4.5.0.
Installing CommandLineParser 2.2.1.
Installing xunit.abstractions 2.0.1.
Installing Microsoft.NETCore.DotNetAppHost 2.1.0.
Installing Microsoft.CodeAnalysis.Common 2.8.2.
Installing System.Diagnostics.Contracts 4.3.0.
Installing System.Net.Primitives 4.0.11.
Installing System.Linq.Parallel 4.3.0.
Installing System.CodeDom 4.5.0.
Installing Microsoft.DotNet.PlatformAbstractions 1.0.3.
Installing System.Linq 4.1.0.
Installing System.AppContext 4.1.0.
Installing System.Dynamic.Runtime 4.0.11.
Installing System.Reflection.TypeExtensions 4.1.0.
Installing System.Reflection.Extensions 4.0.1.
Installing System.Runtime.InteropServices.RuntimeInformation 4.0.0.
Installing Microsoft.CSharp 4.0.1.
Installing System.Security.Principal.Windows 4.5.0.
Installing System.Security.AccessControl 4.5.0.
Installing System.ObjectModel 4.0.12.
Installing System.Reflection.TypeExtensions 4.1.0-rc2-24027.
Installing System.Collections 4.0.11-rc2-24027.
Installing System.Text.Encoding.Extensions 4.0.11.
Installing System.Linq 4.1.0-rc2-24027.
Installing System.Reflection.Extensions 4.0.1-rc2-24027.
Installing System.Linq.Expressions 4.1.0.
Installing System.Text.RegularExpressions 4.1.0.
Installing System.Diagnostics.Debug 4.0.11-rc2-24027.
Installing System.Resources.ResourceManager 4.0.1-rc2-24027.
Installing System.Runtime.Serialization.Primitives 4.1.1.
Installing System.Xml.XDocument 4.0.11.
Installing System.Globalization 4.0.11-rc2-24027.
Installing System.Console 4.0.0-rc2-24027.
Installing System.Xml.ReaderWriter 4.0.11.
Installing System.Reflection 4.1.0-rc2-24027.
Installing System.Runtime.Extensions 4.1.0-rc2-24027.
Installing System.IO 4.1.0-rc2-24027.
Installing System.Linq.Expressions 4.0.11-rc2-24027.
Installing System.Runtime 4.1.0-rc2-24027.
Installing System.ComponentModel.EventBasedAsync 4.0.11.
Installing System.Threading.Thread 4.0.0.
Installing System.Reflection.Metadata 1.3.0.
Installing System.Diagnostics.TextWriterTraceListener 4.0.0.
Installing System.Runtime.Loader 4.0.0.
Installing System.Diagnostics.TraceSource 4.0.0.
Installing System.Diagnostics.Process 4.1.0.
Installing System.Xml.XPath.XmlDocument 4.0.1.
Installing System.ComponentModel.TypeConverter 4.1.0.
Installing System.Runtime.Serialization.Json 4.0.2.
Installing NETStandard.Library 1.6.0.
Installing System.Reflection.Emit 4.0.1.
Installing System.Reflection.Emit.ILGeneration 4.0.1.
Installing System.Reflection.Emit.Lightweight 4.0.1.
Installing System.Diagnostics.Tools 4.0.1.
Installing System.Threading.Tasks.Extensions 4.0.0.
Installing System.Collections.Immutable 1.2.0.
Installing Microsoft.Win32.Primitives 4.0.1.
Installing runtime.native.System 4.0.0.
Installing System.Threading.ThreadPool 4.0.10.
Installing Microsoft.Win32.Registry 4.0.0.
Installing System.Text.Encoding 4.0.11-rc2-24027.
Installing System.Reflection.Primitives 4.0.1-rc2-24027.
Installing System.Security.Cryptography.Primitives 4.0.0.
Installing System.Xml.XPath 4.0.1.
Installing System.Xml.XmlDocument 4.0.1.
Installing System.ComponentModel 4.0.1.
Installing System.Threading.Tasks 4.0.11-rc2-24027.
Installing System.ComponentModel.Primitives 4.1.0.
Installing System.Collections.Specialized 4.0.1.
Installing System.Reflection.Emit 4.0.1-rc2-24027.
Installing System.Private.DataContractSerialization 4.1.1.
Installing System.Threading 4.0.11-rc2-24027.
Installing System.ObjectModel 4.0.12-rc2-24027.
Installing System.Console 4.0.0.
Installing System.Reflection.Emit.ILGeneration 4.0.1-rc2-24027.
Installing System.Diagnostics.Tracing 4.1.0.
Installing System.Net.Sockets 4.1.0.
Installing System.Globalization.Calendars 4.0.1.
Installing System.Runtime.Numerics 4.0.1.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CodeAnalyzer.Tests\Microsoft.ML.CodeAnalyzer.Tests.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CodeAnalyzer.Tests\Microsoft.ML.CodeAnalyzer.Tests.csproj.nuget.g.targets.
Restore completed in 1,11 min for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.CodeAnalyzer.Tests\Microsoft.ML.CodeAnalyzer.Tests.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Core.Tests\Microsoft.ML.Core.Tests.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj.nuget.g.targets.
Restore completed in 1,14 min for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.CpuMath.UnitTests.netstandard\Microsoft.ML.CpuMath.UnitTests.netstandard.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CpuMath.UnitTests.netstandard\Microsoft.ML.CpuMath.UnitTests.netstandard.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CpuMath.UnitTests.netstandard\Microsoft.ML.CpuMath.UnitTests.netstandard.csproj.nuget.g.targets.
Restore completed in 712,12 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.CpuMath.UnitTests.netstandard\Microsoft.ML.CpuMath.UnitTests.netstandard.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.FSharp.Tests\Microsoft.ML.FSharp.Tests.fsproj...
Installing FSharp.Core 4.5.2.
Installing System.ValueTuple 4.4.0.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.FSharp.Tests\Microsoft.ML.FSharp.Tests.fsproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.FSharp.Tests\Microsoft.ML.FSharp.Tests.fsproj.nuget.g.targets.
Restore completed in 1,94 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.FSharp.Tests\Microsoft.ML.FSharp.Tests.fsproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.InferenceTesting\Microsoft.ML.InferenceTesting.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.InferenceTesting\Microsoft.ML.InferenceTesting.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.InferenceTesting\Microsoft.ML.InferenceTesting.csproj.nuget.g.targets.
Restore completed in 331,06 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.InferenceTesting\Microsoft.ML.InferenceTesting.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Predictor.Tests\Microsoft.ML.Predictor.Tests.csproj...
Installing Microsoft.Win32.SystemEvents 4.5.0.
Installing MlNetMklDeps 0.0.0.5.
Installing Microsft.ML.TensorFlow.TestModels 0.0.2-test.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Console\Microsoft.ML.Console.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.HalLearners\Microsoft.ML.HalLearners.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.HalLearners\Microsoft.ML.HalLearners.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Console\Microsoft.ML.Console.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Predictor.Tests\Microsoft.ML.Predictor.Tests.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Predictor.Tests\Microsoft.ML.Predictor.Tests.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Core.Tests\Microsoft.ML.Core.Tests.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Core.Tests\Microsoft.ML.Core.Tests.csproj.nuget.g.targets.
Restore completed in 1,99 min for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.HalLearners\Microsoft.ML.HalLearners.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Sweeper.Tests\Microsoft.ML.Sweeper.Tests.csproj...
Restore completed in 2,15 min for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Console\Microsoft.ML.Console.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj...
Restore completed in 48,56 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Core.Tests\Microsoft.ML.Core.Tests.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Tests\Microsoft.ML.Tests.csproj...
Restore completed in 43,41 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Predictor.Tests\Microsoft.ML.Predictor.Tests.csproj.
Restoring packages for c:\Users\mbilenko\Documents\GitHub\machinelearning\tools-local\Microsoft.ML.CodeAnalyzer\Microsoft.ML.CodeAnalyzer.csproj...
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Sweeper.Tests\Microsoft.ML.Sweeper.Tests.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Sweeper.Tests\Microsoft.ML.Sweeper.Tests.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj.nuget.g.targets.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Tests\Microsoft.ML.Tests.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.Tests\Microsoft.ML.Tests.csproj.nuget.g.targets.
Restore completed in 193,08 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj.
Restore completed in 204,37 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Sweeper.Tests\Microsoft.ML.Sweeper.Tests.csproj.
Restore completed in 294,5 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Tests\Microsoft.ML.Tests.csproj.
Installing System.Reflection.TypeExtensions 4.4.0.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CodeAnalyzer\Microsoft.ML.CodeAnalyzer.csproj.nuget.g.props.
Generating MSBuild file c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.CodeAnalyzer\Microsoft.ML.CodeAnalyzer.csproj.nuget.g.targets.
Restore completed in 3,6 sec for c:\Users\mbilenko\Documents\GitHub\machinelearning\tools-local\Microsoft.ML.CodeAnalyzer\Microsoft.ML.CodeAnalyzer.csproj.
Building redist components...
Downloading 'https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.10.0.zip' to 'c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0.zip'.
Downloading 'https://github.com/tensorflow/tensorflow/blob/master/LICENSE' to 'c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\LICENSE'.
Generating checksum for 'c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0.zip' into 'c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0.zip.sha'...
Decompressing 'c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0.zip' into 'c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0'...
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0\lib\tensorflow.dll -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj//packages/Microsoft.ML.TensorFlow.Redist\runtimes\win-x64\native\tensorflow.dll
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0\include\tensorflow\c\LICENSE -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj//packages/Microsoft.ML.TensorFlow.Redist\THIRD_PARTY_NOTICES.txt
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\LICENSE -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj//packages/Microsoft.ML.TensorFlow.Redist\LICENSE.txt
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0\lib\tensorflow.dll -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/x64.Debug\Native\tensorflow.dll
Building native components...
c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.cmd Debug x64 --mkllibpath c:\Users\mbilenko\Documents\GitHub\machinelearning\packages/mlnetmkldeps\0.0.0.5\runtimes\win-x64\native


** Visual Studio 2017 Developer Command Prompt v15.0.26430.15
** Copyright (c) 2017 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x86_x64'
Commencing native build of dotnet/machinelearning

Calling "c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\gen-buildsys-win.bat" "c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native" "15 2017" x64
-- Selecting Windows SDK version 10.0.15063.0 to target Windows 10.0.16299.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
No CMAKE_C_COMPILER could be found.

CMake Error in CMakeLists.txt:
No CMAKE_CXX_COMPILER could be found.

-- Configuring incomplete, errors occurred!
See also "C:/Users/mbilenko/Documents/GitHub/machinelearning/bin/obj/x64.Debug/Native/CMakeFiles/CMakeOutput.log".
See also "C:/Users/mbilenko/Documents/GitHub/machinelearning/bin/obj/x64.Debug/Native/CMakeFiles/CMakeError.log".
Failed to generate native component build project!
c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.proj(61,5): error MSB3073: The command ""c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.cmd" Debug x64 --mkllibpath c:\Users\mbilenko\Documents\GitHub\machinelearning\packages/mlnetmkldeps\0.0.0.5\runtimes\win-x64\native" exited with code 1.

Build FAILED.

c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.proj(61,5): error MSB3073: The command ""c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.cmd" Debug x64 --mkllibpath c:\Users\mbilenko\Documents\GitHub\machinelearning\packages/mlnetmkldeps\0.0.0.5\runtimes\win-x64\native" exited with code 1.
0 Warning(s)
1 Error(s)

Time Elapsed 00:02:45.35
Command execution failed with exit code 1.

========= Vanilla CMD log:
c:\Users\mbilenko\Documents\GitHub\machinelearning>build.cmd
Tools are already initialized.
Running: c:\Users\mbilenko\Documents\GitHub\machinelearning\Tools\dotnetcli\dotnet msbuild /nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools\Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:Configuration=Debug /flp:v=normal /flp2:warningsonly;logfile=msbuild.wrn /flp3:errorsonly;logfile=msbuild.err build.proj
Restoring all projects...
Restore completed in 51,9 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Core\Microsoft.ML.Core.csproj.
Restore completed in 51,9 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.CpuMath\Microsoft.ML.CpuMath.csproj.
Restore completed in 59,8 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Console\Microsoft.ML.Console.csproj.
Restore completed in 59,8 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Api\Microsoft.ML.Api.csproj.
Restore completed in 3 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.FastTree\Microsoft.ML.FastTree.csproj.
Restore completed in 3,02 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.HalLearners\Microsoft.ML.HalLearners.csproj.
Restore completed in 3,27 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Ensemble\Microsoft.ML.Ensemble.csproj.
Restore completed in 2,76 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Data\Microsoft.ML.Data.csproj.
Restore completed in 1,65 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Maml\Microsoft.ML.Maml.csproj.
Restore completed in 2,08 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.ImageAnalytics\Microsoft.ML.ImageAnalytics.csproj.
Restore completed in 25,71 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.KMeansClustering\Microsoft.ML.KMeansClustering.csproj.
Restore completed in 3,67 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.LightGBM\Microsoft.ML.LightGBM.csproj.
Restore completed in 7,48 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Onnx\Microsoft.ML.Onnx.csproj.
Restore completed in 2,37 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.PCA\Microsoft.ML.PCA.csproj.
Restore completed in 3,08 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Parquet\Microsoft.ML.Parquet.csproj.
Restore completed in 3,51 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.PipelineInference\Microsoft.ML.PipelineInference.csproj.
Restore completed in 10,09 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.StandardLearners\Microsoft.ML.StandardLearners.csproj.
Restore completed in 2,44 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.ResultProcessor\Microsoft.ML.ResultProcessor.csproj.
Restore completed in 3,77 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Sweeper\Microsoft.ML.Sweeper.csproj.
Restore completed in 2,64 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.TensorFlow\Microsoft.ML.TensorFlow.csproj.
Restore completed in 7,89 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML.Transforms\Microsoft.ML.Transforms.csproj.
Restore completed in 9,61 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Microsoft.ML\Microsoft.ML.csproj.
Restore completed in 16,14 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.CpuMath.UnitTests.netstandard\Microsoft.ML.CpuMath.UnitTests.netstandard.csproj.
Restore completed in 11,33 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Core.Tests\Microsoft.ML.Core.Tests.csproj.
Restore completed in 27,55 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj.
Restore completed in 27,41 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.CodeAnalyzer.Tests\Microsoft.ML.CodeAnalyzer.Tests.csproj.
Restore completed in 3,56 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.InferenceTesting\Microsoft.ML.InferenceTesting.csproj.
Restore completed in 3,9 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Sweeper.Tests\Microsoft.ML.Sweeper.Tests.csproj.
Restore completed in 6,47 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Predictor.Tests\Microsoft.ML.Predictor.Tests.csproj.
Restore completed in 21,44 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.FSharp.Tests\Microsoft.ML.FSharp.Tests.fsproj.
Restore completed in 4,05 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.TestFramework\Microsoft.ML.TestFramework.csproj.
Restore completed in 4,36 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\tools-local\Microsoft.ML.CodeAnalyzer\Microsoft.ML.CodeAnalyzer.csproj.
Restore completed in 4,97 ms for c:\Users\mbilenko\Documents\GitHub\machinelearning\test\Microsoft.ML.Tests\Microsoft.ML.Tests.csproj.
Building redist components...
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0\lib\tensorflow.dll -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj//packages/Microsoft.ML.TensorFlow.Redist\runtimes\win-x64\native\tensorflow.dll
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0\include\tensorflow\c\LICENSE -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj//packages/Microsoft.ML.TensorFlow.Redist\THIRD_PARTY_NOTICES.txt
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\LICENSE -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj//packages/Microsoft.ML.TensorFlow.Redist\LICENSE.txt
c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/obj/AnyCPU.Debug\Microsoft.ML.TensorFlow.Redist\libtensorflow-cpu-windows-x86_64-1.10.0\lib\tensorflow.dll -> c:\Users\mbilenko\Documents\GitHub\machinelearning\bin/x64.Debug\Native\tensorflow.dll
Building native components...
c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.cmd Debug x64 --mkllibpath c:\Users\mbilenko\Documents\GitHub\machinelearning\packages/mlnetmkldeps\0.0.0.5\runtimes\win-x64\native
""C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
EXEC : error : Visual Studio 2015 or 2017 required [c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.proj]
Please see https://github.com/dotnet/machinelearning/tree/master/Documentation for build instructions.
c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.proj(61,5): error MSB3073: The command ""c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.cmd" Debug x64 --mkllibpath c:\Users\mbilenko\Documents\GitHub\machinelearning\packages/mlnetmkldeps\0.0.0.5\runtimes\win-x64\native" exited with code 1.

Build FAILED.

EXEC : error : Visual Studio 2015 or 2017 required [c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.proj]
c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.proj(61,5): error MSB3073: The command ""c:\Users\mbilenko\Documents\GitHub\machinelearning\src\Native\build.cmd" Debug x64 --mkllibpath c:\Users\mbilenko\Documents\GitHub\machinelearning\packages/mlnetmkldeps\0.0.0.5\runtimes\win-x64\native" exited with code 1.
0 Warning(s)
2 Error(s)

Time Elapsed 00:00:03.63
Command execution failed with exit code 1.

@mbilenko
Copy link
Author

CMakeError.log

@justinormont
Copy link
Contributor

Hello friend.

Likely related: Native dependencies of ML.NET #895

The recently added Tensorflow dependency may be the cause.

@Ivanidzo4ka
Copy link
Contributor

You have weird Cmake log.

C:\Users\mbilenko\Documents\GitHub\machinelearning\Directory.Build.targets(15,21): error MSB4186: ­¥¤®¯ãáâ¨¬ë© á¨­â ªá¨á ¢ë§®¢  áâ â¨ç¥áª®£® ¬¥â®¤ : "[MSBuild]::IsOSPlatform('osx')". �¥ ­ ©¤¥­ ¬¥â®¤ "[MSBuild]::IsOSPlatform". ‚ë§®¢ áâ â¨ç¥áª®£® ¬¥â®¤  ¤®«¦¥­ ¨¬¥âì á«¥¤ãîéãî ä®à¬ã: $([FullTypeName]::Method()), ­ ¯à¨¬¥à: $([System.IO.Path]::Combine(`a`, `b`))  [C:\Users\mbilenko\Documents\GitHub\machinelearning\bin\obj\x64.Debug\Native\CMakeFiles\3.11.1\CompilerIdC\CompilerIdC.vcxproj]

so it's a bit hard to tell real reason.

These people suggest to install windows 10 sdk on your machine, so maybe that would help.

@eerhardt
Copy link
Member

Digging into the logs I see:

C:\Users\mbilenko\Documents\GitHub\machinelearning\Directory.Build.targets(15,21): error MSB4186: ­¥¤®¯ãáâ¨¬ë© á¨­â ªá¨á ¢ë§®¢  áâ â¨ç¥áª®£® ¬¥â®¤ : "[MSBuild]::IsOSPlatform('osx')"

Searching for MSB4186 I found https://github.com/Microsoft/msbuild/blob/65845d8aaf94543978c2d57209add61d7b7d7944/src/Build/Resources/xlf/Strings.en.xlf#L609-L614, which says:

Invalid static method invocation syntax for [MSBuild]::IsOSPlatform('osx'). MSBuild.IsOSPlatform is a relatively newly supported method, so you may have too old version of MSBuild.

Looking through your logs it appears you have Microsoft (R) Build Engine ¢¥àᨨ 15.1.1012.6693. Can you try updating VS to a newer version? Probably at least VS 2017 Update 3 or newer.

We need to update our build instructions to specify the minimum supported VS version.

@shauheen shauheen added the Build Build related issue label Sep 13, 2018
@shauheen shauheen added this to the 0918 milestone Sep 13, 2018
@mbilenko
Copy link
Author

mbilenko commented Sep 18, 2018

Thank you friends! Upgraded VS to 15.8.4, all good now. For your lunchtime entertainment, here's a happy build speaking communist:
Сборка успешно завершена.
Предупреждений: 0
Ошибок: 0

(UCI archive is currently down, so the tests bonk on downloading the datasets - may make sense to just make them a part of the download)

@markusweimer
Copy link
Member

Thank you friends! Upgraded VS to 15.8.4, all good now.

Excellent to hear!

@artidoro , did you update the install instructions for this?

@shauheen shauheen removed this from the 0918 milestone Oct 1, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Build Build related issue
Projects
None yet
Development

No branches or pull requests

7 participants