Skip to content
Jean-Philippe Bruyère edited this page Dec 23, 2021 · 3 revisions

Dotnet development environment

First ensure you have a working dotnet sdk, it can be installed following those instructions. crow assembly target netcoreapp3.1, so ensure the sdk is installed, on debian:

sudo apt install dotnet-sdk-3.1

On linux systems, you may install also the vscode editor.

Native libraries

Because crow try to be multiplatform, several opensource native libraries are needeed:

Linux systems:

On linux, those libraries are easy to install from all major distributions, on debian based systems (debian, ubuntu, ...), they may be installed with a single command:

sudo apt install libglfw3-dev libcairo2-dev librsvg2-dev

Windows:

For windows, I've bundle a win64 zip with required dlls, or you may build them yourself using vcpkg package manager:

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat

vcpkg install glfw3:x64-window cairo:x64-window librsvg:x64-window

You may then put those dll in a directory given with the command (in c#):

System.AppContext.GetData("NATIVE_DLL_SEARCH_DIRECTORIES")

For other way to resolve native dll, check microsoft doc.

Clone this wiki locally