Hi, rooterrrs, I have a problems with xxx.so + macro, To illustrate the problem,I have written an macro which randomly generate some TLines and TPolyMarkers, Here is how it fails: root [0] gSystem->Load("/opt/phenix/root/lib/libThread.so"); root [1] .x test.c number of tracks:3200 root [2] draw100(0) //ok here root [3] draw100(200) //but you can't draw as many tracks as your want You can't get back root prompt! I tried different librarys, some of them works, some will not ( for example, if you are in Phenix, try to load in DC library: /phenix/workarea/federica/install/lib/libdgo.so etc... ). you can also load in your own library you compiled with root. I don't know the reason, can any of you help me out? Platform tested: Redhat 6.1 root version : Version 2.23/12 1 February 2000 cint version : CINT/ROOT C/C++ Interpreter version 5.14.25 compiled with thread support. Thanks, Jiangyong ************************************************ jjia@rcf.rhic.bnl.gov Jiangyong Jia Department of Physics State University New York at Stony Brook Stony Brook, New York 11794-3800 Tel.631-344-5455 ********************************************* ---------- Forwarded message ---------- Date: Fri, 21 Apr 2000 09:57:44 -0400 (EDT) From: jiangyong jia <jjia@rcf.rhic.bnl.gov> To: Matthias Messer <mm@bnl.gov> Subject: Try this, Dear Matthias, Maybe you want to try out this absolutly syntex error free root macro, but you can never get your root prompt back! (The funny this is that it happens only when you try to load in a shared library!!) you can try to run like this: Load any library you want. root [0] gSystem->Load("/phenix/workarea/federica/install/lib/libdgo.so"); root [1] .x test.c 2.14748e+09 number of tracks:3200 root [2] draw100(0) root [3] draw100(200) die here A bug of root?? Jiangyong
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET