Here’s everything you need to get to a running PicoGK project.
The following sections will guide you through the following steps
PicoGK is built for Windows 64 bit and macOS X on Apple Silicon. While people have compiled the PicoGK runtime for other operating systems, the above two are the only ones supported when using the official Nuget package.
Download and install the latest .NET SDK from Microsoft — we use version 9.0.
Download Visual Studio Code from Microsoft.
After downloading,
Launch Visual Studio Code
You can customize Visual Studio (we prefer bright looks!). When you are done, click on the extensions button on the left.
Type C# into the search field and install the C# Dev Kit. This will also install the C# base language support.
The download and installation will take a moment, depending on your internet speed.
After you are done with all this, it’s a good idea to restart Visual Studio Code.
Head over to the LEAP 71 Github and download the PicoGK_Examples project.
You can do this by clicking on the green Code button and choosing Download ZIP.
Unzip to your Documents folder it will be called PicoGK_Examples-main or similar.
Make sure you closed and reopened Visual Studio Code as described in the last step. Choose Open Folder from the File menu and choose the folder you just unzipped.
You will likely get a security warning, which you have to accept in order to open the project:
Click on the Run and Debug button on the left side of the screen.
This will switch the screen and show a Run and Debug button, which you need to press.
The first time you do this, a number of confirmation queries will pop up at the top center of the screen.
The first asks you to confirm the language — select C# and hit enter. If you don’t see C#, you either didn’t install the C# language extension (previous steps), or you forgot the restart Visual Studio Code.
After this, two more confirmations will pop up, you can always select the first option and continue:
Thankfully, this will the last time these questions are asked.
After this, the application, which is contained in the file Program.cs
will launch, and showcase a few PicoGK operations.
Congratulations, you have PicoGK up and running.
If you receive any error messages, check out the file PicoGK.log, which, by default, will be written in your Documents folder. It contains diagnostic messages that can help you pinpoint any problems.
There’s a number of example tasks in the subfolders of the project.
Return to PicoGK.org and join the PicoGK discussions for more resources.