Compiling GTK4 in windows with Vulkan

Submitted by Dickens A S on Sat, 12/07/2019 - 10:06

Step 1 download and install

Step 3 Install toolchains

pacman -S --needed mingw-w64-{x86_64}-{toolchain,meson,pkg-config,glib2,pango,cairo}

Step 4 Install GTK4 dependencies 

pacman -S  --needed mingw-w64-x86_64-atk  mingw-w64-x86_64-gdk-pixbuf2 mingw-w64-x86_64-gobject-introspection mingw-w64-x86_64-libepoxy mingw-w64-x86_64-graphene mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-cmake mingw-w64-x86_64-pkg-config mingw-w64-x86_64-hicolor-icon-theme 

GTK3 and Glade3 using Kotlin

Submitted by Dickens A S on Sat, 11/30/2019 - 14:13

GTK windows design using glade builder


This code explains how to use Kotlin to program GTK3 and Glade3 using Cygwin Glade designer

Install cygwin with below dependencies (basic cygwin installation explained here install R using cygwin)

Call OpenCL from Kotlin or embed OpenCL inside Kotlin

Submitted by Dickens A S on Fri, 11/29/2019 - 17:29

Embedded OpenCL inside Kotlin


OpenCL code which runs from kotlin

#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
__constant char hw[] = "Hello World";
__kernel void hello(__global char * A) {
    size_t tid = get_global_id(0);
    A[tid] = hw[tid];


Kotlin code which runs OpenCL