Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8698

CMake build does not ignore previous ROOT installations

    XMLWordPrintable

    Details

      Description

      Hello,

      The cmake build fails to build.

      [ 80%] Building CXX object math/mathmore/CMakeFiles/MathMore.dir/G__MathMore.cxx.o
      In file included from /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:12:0:
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:93:123: error: pasting ")" and "_c" does not give a valid preprocessing token
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
                                                                                                                                 ^
      /opt/software/local/include/RConfig.h:432:33: note: in definition of macro '_NAME2_'
       #   define _NAME2_(name1,name2) name1##name2
                                       ^~~~~
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:93:90: note: in expansion of macro 'R__UseDummy'
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
                                                                                                ^~~~~~~~~~~
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:93:123: error: pasting ")" and "_c" does not give a valid preprocessing token
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
                                                                                                                                 ^
      /opt/software/local/include/RConfig.h:432:33: note: in definition of macro '_NAME2_'
       #   define _NAME2_(name1,name2) name1##name2
                                       ^~~~~
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:93:90: note: in expansion of macro 'R__UseDummy'
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
                                                                                                ^~~~~~~~~~~
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:120:123: error: pasting ")" and "_c" does not give a valid preprocessing token
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
                                                                                                                                 ^
      /opt/software/local/include/RConfig.h:432:33: note: in definition of macro '_NAME2_'
       #   define _NAME2_(name1,name2) name1##name2
                                       ^~~~~
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:120:90: note: in expansion of macro 'R__UseDummy'
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
                                                                                                ^~~~~~~~~~~
      /opt/software/builds/root_build/math/mathmore/G__MathMore.cxx:120:123: error: pasting ")" and "_c" does not give a valid preprocessing token
             static ::ROOT::TGenericClassInfo *_R__UNIQUE_DICT_(Init) = GenerateInitInstance(); R__UseDummy(_R__UNIQUE_DICT_(Init));
      ...

      Not sure what to make of this error...

      Cheers

        Attachments

          Activity

            People

            • Assignee:
              mato Pere Mato Vila
              Reporter:
              7667c4088456ff36c353 Whitney Armstrong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: