RE: ACLIC in winxp

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 17 Feb 2005 08:39:11 -0600


Hi,

ACLiC can not (yet?) handle spaces in the names. You will need to either move your ROOT installation or set ROOTSYS to the msdos style name (limited to 8 charaters with ~).

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Balint Radics
Sent: Thursday, February 17, 2005 4:35 AM To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] ACLIC in winxp

Hi,

I wrote a code that uses only TFile and TH1F calsses:

#include <TFile.h>
#include <TH1F.h>

void pl(){
  TFile * f = new TFile("file.root", "recreate");   TH1F * h = new TH1F("h","h",100,0,100);   for(int i = 0; i < 100; i++){
    h->SetBinContent(i,i);
  }
  f->Write();
}

I tried to compile it, but I got this error message from ACLIC in CINT:

root [0] .L pl.C++
Info in <TWinNTSystem::ACLiC>: creating shared library C:\Program Files\BNL\ROOT
\macros\pl_C.dll
Error: rootcint: The input list file C:\Program.in does not exist 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's wrong in here? Maybe the " " space in the 'Program Files' directory?

Balint Received on Thu Feb 17 2005 - 15:42:55 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET