Trouble installing savvycan

Sorry if this has been asked. I am new to Linux also but I keep getting this error when I run make

~/SavvyCAN$ make
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG_OUTPUT -DQCUSTOMPLOT_USE_OPENGL -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SERIALBUS_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I. -I…/Qt/5.8/gcc_64/include -I…/Qt/5.8/gcc_64/include/QtPrintSupport -I…/Qt/5.8/gcc_64/include/QtHelp -I…/Qt/5.8/gcc_64/include/QtWidgets -I…/Qt/5.8/gcc_64/include/QtGui -I…/Qt/5.8/gcc_64/include/QtQml -I…/Qt/5.8/gcc_64/include/QtNetwork -I…/Qt/5.8/gcc_64/include/QtSerialBus -I…/Qt/5.8/gcc_64/include/QtSerialPort -I…/Qt/5.8/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I. -I…/Qt/5.8/gcc_64/mkspecs/linux-g++ -o main.o main.cpp
In file included from …/Qt/5.8/gcc_64/include/QtGui/qopenglcontext.h:60:0,
from …/Qt/5.8/gcc_64/include/QtGui/QOpenGLContext:1,
from ./qcustomplot.h:72,
from re/graphingwindow.h:4,
from mainwindow.h:14,
from main.cpp:1:
…/Qt/5.8/gcc_64/include/QtGui/qopengl.h:140:13: fatal error: GL/gl.h: No such file or directory

include <GL/gl.h>

         ^~~~~~~~~

compilation terminated.
Makefile:12879: recipe for target ‘main.o’ failed
make: *** [main.o] Error 1

Any one know what I should do?

Did you install QT?
If you don’t have the QT package installed it won’t compile.

Yes I installed 5.8.

To compile SavvyCAN you also need the OpenGL development libraries. You might wonder, why does a CAN reverse engineering tool use OpenGL? Well, why not?! :wink: It does actually use OpenGL to accelerate rendering of graphs. Below is a link that talks about the libraries you need:

https://wiki.qt.io/Install_Qt_5_on_Ubuntu