ROOT and Lapack++

Dear all,
I would like to know how can I load lapack++ library in ROOT.
Do I need to load lapackpp.dll and then use ACliC on all lapack hearder files?
Thank you very much for any kind of explanation.
Cheers.

Yes this should work. Let us know if you face problems.

Rene

Hi Rene,
Thank you for your answer, so I did:

gSystem->Load("libapackpp.so"); gSystem->AddIncludePath("lapackpp/include/files"); .L lapackpp.h+ //this is the main header
And I got:

root [8] .L lapackpp.h+                                               
Info in <TUnixSystem::ACLiC>: creating shared library /home/lapack/include/lapackpp/./lapackpp_h.so                                 
Error: class,struct,union or type matT not defined  latmpl.h:148:     
Error: class,struct,union or type matT not defined  latmpl.h:148:     
Internal error: global function template arg type latmpl.h:148:       
Error: class,struct,union or type matT not defined  latmpl.h:149:     
Error: class,struct,union or type matT not defined  latmpl.h:149:     
Internal error: global function template arg type latmpl.h:149:       
Error: class,struct,union or type matT not defined  latmpl.h:169:     
Error: class,struct,union or type matT not defined  latmpl.h:169:     
Internal error: global function template arg type latmpl.h:169:       
Error: class,struct,union or type matT not defined  latmpl.h:170:     
Error: class,struct,union or type matT not defined  latmpl.h:170:     
Internal error: global function template arg type latmpl.h:170:       
Error: class,struct,union or type matT not defined  latmpl.h:256:     
Error: class,struct,union or type matT not defined  latmpl.h:256:     
Internal error: global function template arg type latmpl.h:256:       
Error: class,struct,union or type matT not defined  latmpl.h:257:     
Error: class,struct,union or type matT not defined  latmpl.h:257:     
Internal error: global function template arg type latmpl.h:257:       
Error: class,struct,union or type matT not defined  latmpl.h:275:
Error: class,struct,union or type matT not defined  latmpl.h:275:
Internal error: global function template arg type latmpl.h:275:
Error: class,struct,union or type matT not defined  latmpl.h:276:
Error: class,struct,union or type matT not defined  latmpl.h:276:
Internal error: global function template arg type latmpl.h:276:
Error: class,struct,union or type matT not defined  latmpl.h:333:
Error: class,struct,union or type matT not defined  latmpl.h:333:
Internal error: global function template arg type latmpl.h:333:
Error: class,struct,union or type matT not defined  latmpl.h:334:
Error: class,struct,union or type matT not defined  latmpl.h:334:
Internal error: global function template arg type latmpl.h:334:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing /home/lapack/include/lapackpp/./lapackpp_h_ACLiC_dict.cxx /home/lapack/include/lapackpp/./lapackpp_h_ACLiC_dict.h !!!
Error: /usr/share/root/bin/rootcint: error loading headers...
Error in <ACLiC>: Dictionary generation failed!
Info in <ACLiC>: Invoking compiler to check macro's validity
In file included from lapackpp_h_ACLiC.check.cxx:38:
sybmd.h:292: warning: unused parameter ā€˜dā€™
Info in <ACLiC>: The compiler has not found any problem with your macro.
        Probably your macro uses something rootcint can't parse.
        Check http://root.cern.ch/root/Cint.phtml?limitations for Cint's limitations.

Is it really a CINT limitation?
Is there a convenient way to solve this problem?
Thank you very much for your help.
Cheers.

Hi,

Thanks for your patience. This limitation of CINT (not allowing the templated function to have function parameters of a type that is nested inside the template arguments) have been lifted in the trunk and in the v5.26 patch branch.

Cheers,
Philippe.

Hi Philippe,

Thank you very much!
Cheers.