Skip to content

mamewotoko/lablgtk_quickstart

Repository files navigation

lablgtk_quickstart Build Status build

screenshot

Build

MacOS

  1. install opam

  2. install gtk

    brew install gtk
  3. install opam packages

    sh setup-opam
  4. make

    make
    

Vagrant (ubuntu 16.04)

  1. install vagrant

  2. start vagrant box

    vagrant up
  3. ssh login to vagrant box

    vagrant ssh
  4. install opam packages

    sh setup-opam
  5. make

    make
    

Run

./gtk_app

Clean

make clean

Appendix: build with dune

dune build src/main.exe

then executable will be built as ./_build/default/src/main.exe

References


Takashi Masuyama < mamewotoko@gmail.com > https://mamewo.ddo.jp/