we cannot help you if you don’t give us the error messages. I still suspect (given the messages from your many other posts) that you did not install CINT correctly.
If you see message like:In file included from cppheader1.h:2,
from G__cpp_test.h:33,
from G__cpp_test.cxx:8:
cppheaderbase.h:5: error: redefinition of ‘struct A’
cppheaderbase.h:6: error: previous definition of ‘struct A’which I did using your exact example, this simply mean that you header do not have any code guard and it is your responsibility to insure they are included only exactly once per compilation unit. By passing all 3 header to the same makecint command you end up including it 3 times. Note a code guard is:// Start of file myheader.h
#ifndef MYHEADER_H
#defined MYHEADER_H
....
#endif