(A note on) Building fltk for code blocks
2016-08-11
- Install code blocks 16.01
- Install msys2
- Upgrade mssy2 pacman -Syu
- Install mingw compiler 32 bits and make pacman -S ming32/gcc make
- Unzip the fltk source version 3.3.x
- 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
- cd fltk
- ./configure
- make
Point code blocks to the msys2 compiler via the project options or code blocks wide configuration.