(A note on) Building fltk for code blocks

2016-08-11

  1. Install code blocks 16.01
  2. Install msys2
  3. Upgrade mssy2 pacman -Syu
  4. Install mingw compiler 32 bits and make pacman -S ming32/gcc make
  5. Unzip the fltk source version 3.3.x
  6. It is Important that you run the MINGW shell, and not the MSYS shell. the msys shell. The Mingw shell will have the correct architecture name for FLTK user@hostname MINGW64 /c/temp/fltk $ uname -a MINGW64_NT-10.0 DESKTOP-FLL593H 2.5.2(0.297/5/3) 2016-07-15 08:31 x86_64 Msys
  7. cd fltk
  8. ./configure
  9. make

Point code blocks to the msys2 compiler via the project options or code blocks wide configuration.