Home | News | Documentation | Download

Which header file include the "gStyle" global pointer?

___when i use root library to make a c++ projection, the header file “TSystem.h” is added, but the IDE vs2019 still indicate the “gStyle” global pointer can not be found. which header file shauld i add?


Please read tips for efficient and successful posting and posting code

ROOT Version: 6.22-06
Platform: win10
Compiler: Vs2019


https://root.cern/doc/master/classTStyle.html

thanks!

Note that the reference guide tells you that if you search “gStyle” in the search box.