Error in <TCling::RegisterModule>


When I start root on my terminal, the following message appears:

~$ root

| Welcome to ROOT 6.06/04 |
| © 1995-2016, The ROOT Team |
| Built for macosx64 |
| From tag v6-06-04, 3 May 2016 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

Error in TCling::RegisterModule: cannot find dictionary module libMathCore_rdict.pcm
input_line_7:3:10: fatal error: ‘DllImport.h’ file not found
#include <DllImport.h>
libCore dictionary payload:15:10: fatal error: ‘TAtt3D.h’ file not found
#include “TAtt3D.h”
Error in TInterpreter::AutoParse: Error parsing payload code for class TSignalHandler with content:

#line 1 “libCore dictionary payload”

#ifndef SYSTEM_TYPE_macosx
#define SYSTEM_TYPE_macosx 1
#ifndef SYSTEM_TYPE_unix
#define SYSTEM_TYPE_unix 1

#include “TApplication.h”
#include “TApplicationImp.h”

(followed by several #include items)

ROOT was working properly the last time I’ve used it, but the last time this error appeared. I don’t know where to find the file “DIIImport.h” or the “TAtt3D.h”. Where do I get them/find them? I believe I might have moved something to a wrong directory, since it was running without any problem at all.

Thank you :slight_smile:

This means root.exe can not find the ROOT header files … maybe you did not run ‘thisroot.[c]sh’?

I tried to run it now that you’ve said it, it says “Permission denied”. If I try to su it, after I type my password it says “Sorry.”, but the password is correct.

humm …you really have an installation problem. You may have to reinstall root from scratch. See

PS. You should never have to use ‘su’ to start root.exe …

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.