This is my C++ code I’m trying to run:
using namespace std;
TH1F *histogram = new TH1F( “histogram”, “Title”, 9, 1,9);
ifstream instream( “…/…/results/nuclear levels/my_data.dat”);
Int_t i = 0;
When I try to compile this code, I get the following error:
Info in <TWinNTSystem:: ACLiC>: creating shared library (...)\histogram_C.dll
'cl.exe' is not recognized as an internal or external command, operable program or batch file.
Error: external preprocessing failed. (0)
!!! Removing (...)\histogram_C_ACLiC_ditc.h !!!
Error: D:\root\bin\rootcint: error loading headers...
Error in <ACLiC>: Dictionary generation failed!
Info in <ACLiC>: invoking compiler to check macro's validity
'cl' is not recognized as an internal or external command, operable program or batch file.
What is wrong? I’m trying to run ROOT on windows 7, but I’m not sure if this error has anything to do with that…