- Clone the repo:
git clone --recurse-submodules git@github.com:cartoonrepo/opengl_sokol.git
-
Build the required static link libraries:
1. navigate to sokol libs cd opengl_sokol/sokol-odin/sokol 2. build libraries # on Linux: ./build_clibs_linux.sh # on Windows with MSVC (from a 'Visual Studio Developer Command Prompt') build_clibs_windows.cmd # on macOS: ./build_clibs_macos.sh 3. back to project root cd ../../ -
Build and run the samples: odin run /path_to_source -debug -collection:sokol=sokol-odin/sokol
odin run src/1_4_hello_triangle -debug -collection:sokol=sokol-odin/sokol
