Dear MacRooters The following problem seems to be Mac-specific: I have created a GUI macro to draw 1D-, 2D-, and 3D-histograms (see attached macro histGuiMacro.C). When I run this macro from root, I can display all histograms. The same is true when I compile the macro with ACLiC. However, when I compile the macro code as a standalone program (see attached files HistGui.h, HistGui.cxx, Makefile4HistGui), then I can only create 1D and 2D histograms, but when I try to create a 3D histogram, the following error message is displayed: Error: class,struct,union or type $TPolyMarker3D not defined FILE:(tmpfile) LINE:1 Error: class,struct,union or type $TPolyMarker3D not defined FILE:(tmpfile) LINE:1 Error: Function PaintH3((TH1*)0x2895af0,"scat") is not defined in current scope FILE:(tmpfile) LINE:1 Possible candidates are... filename line:size busy function type and name *** Interpreter error recovered *** When I compile my program on my Mac (MacOS X 10.2.4, root 3.10/00), the following messages are displayed: [TiBookie:~/ROOT/rootcode/histgui] rabbitus% make -f MakeFile4HistGui c++ -O -pipe -Wall -I/Users/rabbitus/ROOT/root/include -c HistGui.cxx c++ -O -Xlinker -bind_at_load -flat_namespace HistGui.o HistGuiDict.o -L/Users/rabbitus/ROOT/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lGui -u _G__cpp_setup_initializerG__Tree -lm -L/sw/lib -ldl -o HistGui ld: warning dynamic shared library: /Users/rabbitus/ROOT/root/lib/libGraf.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 ld: warning dynamic shared library: /Users/rabbitus/ROOT/root/lib/libGpad.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 ld: warning dynamic shared library: /Users/rabbitus/ROOT/root/lib/libMatrix.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 ld: warning dynamic shared library: /sw/lib/libdl.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 HistGui done The output shows that libGraf3d is linked (-lGraf3d), but interestingly there is no warning regarding libGraf3d.dylib. It seems, that libGraf3d.dylib is not linked?? Is this the case? How can I link libGraf3d.dylib if this is the problem? If not, what could be the problem and how can I solve it? Thank you in advance. P.S.: I have already sent this mail yesterday to roottalk, but for some reason it did not get thru to the mailing-list. Is roottalk@pcroot.cern.ch still the correct address? Best regards Christian _._._._._._._._._._._._._._._._ C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a V.i.e.n.n.a A.u.s.t.r.i.a _._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET