Hi,
I’m using ROOT from years but I’m not an expert in compile it. I’m really looking foward of the first official release of cling.
So I would like try the test version but I can not compile root with that.
I tryed with to extract ecsft.cern.ch/dist/cling/curren … 88.tar.bz2
in my home folder and then I tryed to compile ROOT with the command
./configure --build=debug --with-llvm-config=/home/myhome/cling-Ubuntu-12.04-64bit-r45688/bin --enable-cling
make
The result is an error.
Any advance?
The result is:
…
core/utils/src/rootcling_tmp.cxx:4835:43: error: no matching function for call to ‘IsSTLContainer(clang::DeclContext::specific_decl_iteratorclang::FieldDecl ::value_type)’
core/utils/src/rootcling_tmp.cxx:4835:43: note: candidates are:
core/utils/src/rootcling_tmp.cxx:2456:5: note: int IsSTLContainer(Cint::G__DataMemberInfo&)
core/utils/src/rootcling_tmp.cxx:2456:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl ::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__DataMemberInfo&’
core/utils/src/rootcling_tmp.cxx:2472:5: note: int IsSTLContainer(const clang::FieldDecl&)
core/utils/src/rootcling_tmp.cxx:2472:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl ::value_type {aka clang::FieldDecl*}’ to ‘const clang::FieldDecl&’
core/utils/src/rootcling_tmp.cxx:2488:5: note: int IsSTLContainer(Cint::G__BaseClassInfo&)
core/utils/src/rootcling_tmp.cxx:2488:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl ::value_type {aka clang::FieldDecl*}’ to ‘Cint::G__BaseClassInfo&’
core/utils/src/rootcling_tmp.cxx:2502:5: note: int IsSTLContainer(const clang::CXXBaseSpecifier&)
core/utils/src/rootcling_tmp.cxx:2502:5: note: no known conversion for argument 1 from ‘clang::DeclContext::specific_decl_iteratorclang::FieldDecl ::value_type {aka clang::FieldDecl*}’ to ‘const clang::CXXBaseSpecifier&’
core/utils/src/rootcling_tmp.cxx: In function ‘int GenerateModule(const char*, const std::vector<std::basic_string >&)’:
core/utils/src/rootcling_tmp.cxx:5687:47: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
make: *** [core/utils/src/rootcling_tmp.o] Error 1
Axel
August 29, 2012, 2:33pm
2
Hi,
The build problem should be fixed now; you’re welcome to try tomorrow’s nightly snapshot! We do have a major issue at runtime, though (the dictionary replacements don’t load correctly). This is really work in progress, lots of changes every day… Your chances that ROOT + cling work might be better next week
Thanks for trying and for your report! We’re also looking forward to ROOT 6!
Cheers, Axel.