Hello, I am trying to use the include file dirent.h in interactive ROOT mode. I am using ROOT version 3.05/05 with gcc 2.96 on lxplus. When I type #include <dirent.h> I get the following errors: root [0] #include <dirent.h> Error: Symbol __BEGIN_DECLS#include is not defined in current scope FILE:/usr/include/dirent.h LINE:35 Error: Symbol bits is not defined in current scope FILE:/usr/include/dirent.h LINE:35 Error: Symbol types is not defined in current scope FILE:/usr/include/dirent.h LINE:35 Error: Failed to evaluate types.hError: operator '/' divided by zero FILE:/usr/include/dirent.h LINE:35 Error: Symbol #ifdef__USE_XOPEN#ifndef__ino_t_defined#ifndef__USE_FILE_OFFSET64typedef__ino_tino_t is not defined in current scope FILE:/usr/include/dirent.h LINE:35 *** Interpreter error recovered *** Is there a modified version of dirent.h that works with ROOT? Or is there a ROOT library that does the same functions, such as opening directories, listing contents, etc. Thank you for your help, Chris Hayward
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET