Hi,
Running with (note the -p)
rootcint -f dico.cc -c -p -I/usr/local/include a.h b.h c.h
should work even with the GSL included.
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of ribordy
Sent: Wednesday, September 24, 2003 7:24 AM
To: roottalk@cern.ch
Subject: [ROOT] rootcint and GSL
Hello,
I have a class with a call to GSL. After compiling the classes, the
generation of the dictionary fail
Error: Unexpected EOF G__fgetstream():2
FILE:/usr/local/include/gsl/gsl_sf_result.h LINE:60
Advice: You may need to use +P or -p option
Limitation: can not handle macro _e(constgsl_sf_result_e10
extern"C"{__BEGIN_DECLSstructgsl_sf_result_struct{doubleval;doubleerr;};type
defstructgsl_sf_result_structgsl_sf_result;structgsl_sf_result_e10_struct{do
ubleval;doubleerr;inte10;};typedefstructgsl_sf_result_e10_structgsl_sf_resul
t_e10;intgsl_sf_result_smash_e(constgsl_sf_result_e10
Use +P or -p option FILE:/usr/local/include/gsl/gsl_sf_result.h LINE:60
...
I'm ignorant how to do it. I guess a problem when reading the GSL include
files.
How can we say rootcint to ignore what is in the GSL include files ?
rootcint -f dico.cc -c -D__cplusplus -I/usr/local/include a.h b.h c.h
works fine until I include gsl in one of these files.
Any suggestion to this simple question or an example ?
thanks
Mathieu
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET