Hi thanks,
Actually, I would to include the PrivateMat.h in the headers and call the m_P(int, double) function from inside other methods...
I will always have to load the libMathMore before compile it?
Thanks
A.A.
Em 28-03-2012 12:12, Benjamin Bannier escreveu:
> Hi Antonio,
>
> On Wed, Mar 28, 2012 at 12:04:49PM +0200, Antonio Augusto Alves Jr wrote:
>> I am trying compile this small peace of code,
>> ...
>>
>> but i got these errors:
>> root [0] .L PrivateMath.h+
>> Info in<TUnixSystem::ACLiC>: creating shared library
>> /home/augalves/Documentos/Dropbox/scripts/INFN/B2KPiPsi/./PrivateMath_h.so
>> /home/augalves/Documentos/Dropbox/scripts/INFN/B2KPiPsi/PrivateMath_h_ACLiC_dict.o:
>> In function `m_P(unsigned int, double)':
>> PrivateMath_h_ACLiC_dict.cxx:(.text+0x4cd): undefined reference to
>> `ROOT::Math::sph_legendre(unsigned int, unsigned int, double)'
>> collect2: ld returned 1 exit status
>> Error in<ACLiC>: Compilation failed!
>> root [1]
>>
> ROOT::Math::sph_legendre is in libMathMore which you need to load.
>
> root [0] gSystem->Load("libMathMore")
> root [1] .L PrivateMath.h+
>
>
> HTH,
>
> b.
>
-- E aqueles que foram vistos dançando foram julgados insanos por aqueles que não podiam escutar a música. Friedrich NietzscheReceived on Wed Mar 28 2012 - 12:25:29 CEST
This archive was generated by hypermail 2.2.0 : Fri Mar 30 2012 - 17:50:02 CEST