make error - RtypesImp.h should only be included by ROOT dictionaries
*Imported from [Bitbucket issue #19](https://bitbucket.org/tmidas/rootana/issues/19). Reported by **an unknown user** on 2020-07-07.*
Hello there,
I am trying to installed rootana and encountered this error on the way. I used ROOT 5.34.36 for the installation. After sourcing bin/thisroot.sh, I ran 'make' inside the rootana directory, and the installation stops at this error:
g++ -o obj/TNetDirectoryDict.o -g -O2 -Wall -Wuninitialized -I./include -DHAVE_LIBZ -DHAVE_ROOT -pthread -m64 -I/home1/cdms_test/packages/root-git/include -DHAVE_ROOT_XML -DHAVE_LIBNETDIRECTORY -DHAVE_XMLSERVER -c -I. obj/TNetDirectoryDict.cxx
In file included from obj/TNetDirectoryDict.cxx:29:
/home1/cdms_test/packages/root-git/include/RtypesImp.h:16:2: error: #error RtypesImp.h should only be included by ROOT dictionaries.
make: *** [obj/TNetDirectoryDict.o] Error 1
could you please help?
Thanks in advance!
Yan
issue