Kickstart Kotlin OpenGL using GLEW, libpangocairo using below github code
Output window with GLFW
libpangocairo offers combined ready made methods to render, save, texture, pattern generate in an image file or in a rendering window
cairo is one of the base libraries used in many open source tool kits
there is no much difference between a C code implementation and Kotlin code, any existing C code can be ported to kotlin with very few tweaks
Download MSYS2
This is required for windows to download pre-compiled libraries and its headers
pacman -S mingw-w64-x86_64-glew mingw-w64-x86_64-glfw mingw-w64-x86_64-pango mingw-w64-x86_64-cairo
change x86_64 to i686 for 32 bit widows
End Of Article