Git Product home page Git Product logo

dotnet5pi's Introduction

Pete Gallagher - Pete_Codes

Pete Gallagher

Hi there ๐Ÿ‘‹ I'm Pete Gallagher!

I'm a Senior Solutions Architect at Octopus Deploy, an IoT Specialist, Company Owner, Microsoft Certified Trainer, Azure MVP, Pluralsight Author, Public Speaker, Community Organiser, STEM Ambassador, Podcaster, Twitch Streamer and Blogger.

My Pronouns are He/Him

More about me

I spend most of my time in and around the IoT space, dabbling with tech like the Raspberry Pi, Azure IoT Stack, Arduinos, MicroBits and ESP32s.

I'm the owner of PJG Creations Ltd where I'm a freelance Software Engineer.

You can find me in the following places;

GitHub Project Highlights

Here are some Project Highlights you can find right here on my GitHub;

dotnet5pi's People

Contributors

markxa avatar pjgpetecodes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dotnet5pi's Issues

F# Issue: Problem reading assembly FSharp.Core.dll

I have a problem running F# repl dotnet fsi:

pi@raspberrypi:~ $ dotnet fsi

Microsoft (R) F# Interactive version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

> 

/home/pi/unknown(1,1): error FS0229: Error opening binary file '/opt/dotnet/sdk/5.0.100/FSharp/FSharp.Core.dll': Error reading/writing metadata for the F# compiled DLL '/opt/dotnet/sdk/5.0.100/FSharp/FSharp.Core.dll'. Was the DLL compiled with an earlier version of the F# compiler? (error: 'lookup_uniq in table istrings out of range, n = 16548, sizeof(tab) = 4565').



/home/pi/unknown(1,1): error FS3160: Problem reading assembly '/opt/dotnet/sdk/5.0.100/FSharp/FSharp.Core.dll': Processing of a script fragment has stopped because an exception has been raised

Exception by fsi.exe:
System.Exception: Error creating evaluation session: StopProcessingExn None
   at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1433.Invoke(String message) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs:line 1433
   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr callersRetAddrSlot, IntPtr callTarget, IntPtr retVal)
   at [email protected](A arg1) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs:line 506
   at FSharp.Compiler.Interactive.Shell.FsiEvaluationSession..ctor(FsiEvaluationSessionHostConfig fsi, String[] argv, TextReader inReader, TextWriter outWriter, TextWriter errorWriter, Boolean fsiCollectible, FSharpOption`1 legacyReferenceResolver) in F:\workspace\_work\1\s\src\fsharp\fsi\fsi.fs:line 2829
   at FSharp.Compiler.Interactive.Shell.FsiEvaluationSession.Create(FsiEvaluationSessionHostConfig fsiConfig, String[] argv, TextReader inReader, TextWriter outWriter, TextWriter errorWriter, FSharpOption`1 collectible, FSharpOption`1 legacyReferenceResolver) in F:\workspace\_work\1\s\src\fsharp\fsi\fsi.fs:line 3155
   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr callersRetAddrSlot, IntPtr callTarget, IntPtr retVal)
   at [email protected]() in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\prim-types.fs:line 6615
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Sample.FSharp.Compiler.Interactive.Main.evaluateSession(String[] argv) in F:\workspace\_work\1\s\src\fsharp\fsi\fsimain.fs:line 269

Thanks for the great blog post and the installation script btw.

Wrong link in blog post and install.sh

With that little motifications it worked fine for me. Thank you.

When running on aarch64, the wrong dotnet downloads are installed

Thanks for providing this install script. It definitely makes things easier.

When running the install.sh script on Raspberry Pi OS 64bit version, the 32 bit versions are installed, which seems to work but running dotnet gives an error:
dotnet: error while loading shared libraries: libstdc++.so.6

I changed the arm32 to arm64 in the download path and the script seems to work fine.

install.sh assumes username is 'pi'

Thank you for the very useful script. It saved me a lot of time getting dotnet 5 installed on my Raspberry Pi 4.

I did run into an issue because I do not use the default username pi. I created my own user account called don. (This makes it easier for me to ssh between all my Linux machines.) There are 4 places inside install.sh that hard code the path /home/pi. It would be better to change them all to ${HOME} to pick up whatever the home directory is for the current user.

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.