I work with ROOT (with VC 10 express) in Windows 7 on my laptop. I need to work with lists of files in various directories. I didn’t find any way to do it with ROOT only, so I am trying to use headers from C POSIX library, like dir.h and dirent.h. These headers are not part of ROOT distributive, so I am unsuccessfully trying to use ones coming with cygwin installation. I tried to add c:/cygwin/usr/include to root’s include path using gSystem->AddIncludePath in rootlogon.C, but it doesn’t help. Is there any way to do that? I’d very appreciate any help!
You cannot mix Windows (e.g. VC10) and cygwin libraries. If you want to be able to use posix functions from cygwin, you have to use the cygwin binaries of ROOT inside a cygwin environment (not recommended).
To list files in directories, see my reply in your other post.
Thank you very much for a very clear answer!