Giter VIP home page Giter VIP logo

Comments (6)

gkhanna79 avatar gkhanna79 commented on June 15, 2024

You will need to install mono-complete and referenceassemblies-pcl packages from http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives.

I will update the wiki to reflect this.

Thanks,
Gaurav

From: Rich Lander <[email protected]mailto:[email protected]>
Reply-To: dotnet/corert <[email protected]mailto:[email protected]>
Date: Friday, November 13, 2015 at 10:12 AM
To: dotnet/corert <[email protected]mailto:[email protected]>
Subject: [corert] Remove or mitigate Windows dependencies (#256)

Just built CoreRT on OS X. Got error messages about installing an SDK of reference assemblies into the GAC.

/Users/rlander/git/corert/packages/Microsoft.Build.Mono.Debug.14.1.0.0-prerelease/lib/Microsoft.Common.CurrentVersion.targets(1090,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5,Profile=Profile7" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/rlander/git/corert/src/ILToNative.DependencyAnalysisFramework/tests/ILToNative.DependencyAnalysisFramework.Tests.csproj]
/Users/rlander/git/corert/packages/Microsoft.Build.Mono.Debug.14.1.0.0-prerelease/lib/Microsoft.Common.CurrentVersion.targets(1090,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/rlander/git/corert/src/ILToNative.DependencyAnalysisFramework/tests/ILToNative.DependencyAnalysisFramework.Tests.csproj]
/Users/rlander/git/corert/packages/Microsoft.Build.Mono.Debug.14.1.0.0-prerelease/lib/Microsoft.Common.CurrentVersion.targets(1090,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5,Profile=Profile7" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/rlander/git/corert/src/ILToNative.TypeSystem/tests/CoreTestAssembly/CoreTestAssembly.csproj]
/Users/rlander/git/corert/packages/Microsoft.Build.Mono.Debug.14.1.0.0-prerelease/lib/Microsoft.Common.CurrentVersion.targets(1090,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/rlander/git/corert/src/ILToNative.TypeSystem/tests/CoreTestAssembly/CoreTestAssembly.csproj]
CoreTestAssembly -> /Users/rlander/git/corert/bin/Product/OSX.x64.Debug/CoreTestAssembly.dll
/Users/rlander/git/corert/packages/Microsoft.Build.Mono.Debug.14.1.0.0-prerelease/lib/Microsoft.Common.CurrentVersion.targets(1090,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5,Profile=Profile7" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/rlander/git/corert/src/ILToNative.TypeSystem/tests/TypeSystem.Tests.csproj]
/Users/rlander/git/corert/packages/Microsoft.Build.Mono.Debug.14.1.0.0-prerelease/lib/Microsoft.Common.CurrentVersion.targets(1090,5): warning MSB3644: The reference assemblies for framework ".NETPortable,Version=v4.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/Users/rlander/git/corert/src/ILToNative.TypeSystem/tests/TypeSystem.Tests.csproj]


Reply to this email directly or view it on GitHubhttps://github.com//issues/256.

from corert.

richlander avatar richlander commented on June 15, 2024

OK. That's what I was expecting. You can close this issue after you update the wiki.

We have discussed this general issue on mail before, but I see it never made it to GH. I created an issue to track doing this better. https://github.com/dotnet/cli/issues/191

from corert.

gkhanna79 avatar gkhanna79 commented on June 15, 2024

The wiki has been updated with the instructions at https://github.com/dotnet/corert/wiki/Pre-requisites-for-Building.

from corert.

richlander avatar richlander commented on June 15, 2024

Thanks @gkhanna79.

from corert.

kangaroo avatar kangaroo commented on June 15, 2024

@richlander You'll want this patch too if you want to do.. well anything:

diff --git a/src/ILToNative/src/Program.cs b/src/ILToNative/src/Program.cs
index 72650a3..e1621a4 100644
--- a/src/ILToNative/src/Program.cs
+++ b/src/ILToNative/src/Program.cs
@@ -155,6 +155,8 @@ namespace ILToNative
                 targetOS = TargetOS.Windows;
             else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
                 targetOS = TargetOS.Linux;
+            else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
+                targetOS = TargetOS.OSX;
             else
                 throw new NotImplementedException();
 #else

Currently there is no AppDep, ProtoJit or ObjWriter packages for OS X (that I can find). So you'll need to build them all manually.

from corert.

gkhanna79 avatar gkhanna79 commented on June 15, 2024

@schellap We are fixing the AppDep, Protojit and ObjWriter packages for the different platforms that we support for now.

from corert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.