You are submitting this question to the wrong place. This section is reserved
for announcements of user applications, not to problem support or bug reports.
I will delete this thread tomorrow.
Briefly, your problem had to do with an incorrect argument argc. Change your test to: #include “TH1.h” #include "TApplication.h"
int main(int argc,char** argv)
{
TApplication myApp(“myApp”,&argc, argv);
TH1F h1(“h1”, “histo from a gausian”, 100, -3, 3);
h1.FillRandom(“gaus”, 10000);
h1.Draw();
myApp.Run(); // or gPad->WaitPrimitive(); to exit after mouse click on canvas