@eguiraud @bellenot terribly sorry to bother you again, but when I try to create a TGraph or a TCanvas I get something like this:
/usr/bin/ld: CMakeFiles/HeatSimulation.dir/HeatSim.cxx.o: in function `main':
HeatSim.cxx:(.text+0x76): undefined reference to `TCanvas::TCanvas(char const*, char const*, int, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/HeatSimulation.dir/build.make:112: HeatSimulation] Error 1
make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/HeatSimulation.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
How can I fix this?
I have imported TPad.h and TCanvas.h in the header file
EDIT: I fixed it. Forgot to import Gpad