Hi,
Your libTExperiment.so depends on libGpad, see the documentation of TCanvas. You must load it before loading your library. CINT does it automatically when seeing TCanvas.
Cheers, Axel
"Sanetullaev, Alisher" <sanetull_at_nscl.msu.edu> wrote:
>Hi,
>
>This must be a really simple problem, but one that I cannot resolve. In
>root CINT, I can easily create a TCanvas. But I cannot do it in a
>complied code below:
>...
> fHiRACanvas = new TCanvas("c_HiRA","HiRA telescope canvas");
> TCanvas *c_HiRA = fHiRACanvas;
>...
>I get the following error message:
>
>root [2]
>ex->hira->GenPrime("HiRAt","root-files/HiRAPri/","E06035H","plot")
>
>/soft/intel/lucid/root/5.26.00/bin/root.exe: symbol lookup error:
>/projects/06035/ROOT/lib/libTExperiment.so: undefined symbol:
>_ZN7TCanvasC1EPKcS1_i
>
>What do you think is the problem? Is it because of how the code is
>compiled?
>
>Thanks,
>
>Alisher
Received on Fri Dec 03 2010 - 07:55:46 CET
This archive was generated by hypermail 2.2.0 : Fri Dec 03 2010 - 11:50:01 CET