Compile FLTK2 on Ubuntu
Oct 21
Development c++, fltk2, ubuntu 1 Comment
I’m using fltk2 for the development of DriverStudy. I had some difficulties compiling fltk2 on my Ubuntu, because of missing required libraries. So here are the packages you’ ll have to install to successfully compile fltk2.
sudo apt-get install xorg-dev libjpeg62-dev libpng12-dev
Instead of libjpeg62-dev you can install version 8 of the JPEG Library (libjpeg8-dev) if available on your system.
Also if you need OpenGL support on your fltk2 you’ll have to install GLUT libraries too.
sudo apt-get install libglut3-dev
The rest of the story goes like that:
./configure make
After build completes take a look at test/demo for some demos.













Thanks this tip helped me! Trying to install dillo2.2