goome docs

Visual Studio

2019 and 2022 both work.

C, your own project

CMake is easiest. Take the CMakeLists.txt from One file and building, File > Open > Folder, pick myapp.exe as the startup item and F5.

With a normal .sln: empty C++ console project, add goome.h, a goome.c with the two implementation lines and your main.c. .c files compile as C and theres nothing to add in the linker settings.

C, inside the c-goome repo

File > Open > Folder on the repo. Pick Debug or Release at the top (from CMakePresets.json), hello.exe as startup item, F5. ui.exe is the ui demo, unit.exe the tests (or Test > Run CTests).

C#

  1. Build goome.dll once: ./build.sh in csharp-goome from Git Bash with mingw gcc, or ./build.sh win from Linux or WSL. It goes in runtimes/win-x64/native/.
  2. Open csharp-goome.sln (GoomeSharp, the tests, and the Hello, Grab and UiDemo examples).
  3. Right click Hello, Set as Startup Project, F5.

For your own app right click the project, Manage NuGet Packages, and install GoomeSharp from nuget.org. Or add src/GoomeSharp/GoomeSharp.csproj to the solution and reference it.

When it goes wrong