-
-
Notifications
You must be signed in to change notification settings - Fork 10
Install
Jean-Philippe Bruyère edited this page Dec 23, 2021
·
3 revisions
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.
Because crow try to be multiplatform, several opensource native libraries are needeed:
- GLFW3 for platform dependant integration.
- Cairo Graphic Library for 2d graphic rendering.
- rsvg library for svg rendering with cairo.
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
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.