Re: RE : VC++6.0 and 7.0 are not supported anymore from ROOT4-04-2 or newer

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Tue, 17 May 2005 23:42:05 +0200


Hi Christian,

   for me it works on MacOS X:

root [0] gSystem->ListLibraries()

Loaded shared libraries



/Users/rdm/root/lib/libMatrix.so
/Users/rdm/root/lib/libHist.so
/Users/rdm/root/lib/libGraf.so
/Users/rdm/root/lib/libMinuit.so
/Users/rdm/root/lib/libPostscript.so
/Users/rdm/root/lib/libHtml.so
/Users/rdm/root/lib/libCore.5.dylib
/Users/rdm/root/lib/libCint.5.dylib
/Users/rdm/root/lib/libHist.5.dylib
/Users/rdm/root/lib/libGraf.5.dylib
/Users/rdm/root/lib/libGraf3d.5.dylib
/Users/rdm/root/lib/libGpad.5.dylib
/Users/rdm/root/lib/libTree.5.dylib
/Users/rdm/root/lib/libMatrix.5.dylib
/Users/rdm/root/lib/libRint.5.dylib
/usr/lib/libstdc++.6.dylib
/usr/lib/libgcc_s.1.dylib
/usr/lib/libmx.A.dylib


18 libraries loaded

root [1] gSystem->Load("libMLP.so")
(int)0
root [2] gSystem->ListLibraries()

Loaded shared libraries



/Users/rdm/root/lib/libMatrix.so
/Users/rdm/root/lib/libHist.so
/Users/rdm/root/lib/libGraf.so
/Users/rdm/root/lib/libMinuit.so
/Users/rdm/root/lib/libPostscript.so
/Users/rdm/root/lib/libHtml.so
/Users/rdm/root/lib/libGraf3d.so
/Users/rdm/root/lib/libTree.so
/Users/rdm/root/lib/libTreePlayer.so
/Users/rdm/root/lib/libGpad.so
/Users/rdm/root/lib/libMLP.so
/Users/rdm/root/lib/libCore.5.dylib
/Users/rdm/root/lib/libCint.5.dylib
/Users/rdm/root/lib/libHist.5.dylib
/Users/rdm/root/lib/libGraf.5.dylib
/Users/rdm/root/lib/libGraf3d.5.dylib
/Users/rdm/root/lib/libGpad.5.dylib
/Users/rdm/root/lib/libTree.5.dylib
/Users/rdm/root/lib/libMatrix.5.dylib
/Users/rdm/root/lib/libRint.5.dylib
/usr/lib/libstdc++.6.dylib
/usr/lib/libgcc_s.1.dylib
/usr/lib/libmx.A.dylib


23 libraries loaded

where you can see that the libs on which libMLP depends are also correctly loaded. Make sure that you have the map file $ROOTSYS/etc/system.rootmap (if you don't do: make map).

Cheers, Fons.

cstrato wrote:

> Dear Fons
> 
> TMLP:
> Even the tutorials don't run on my Mac. Although both libMLP.dylib
> and libMLP.so are there, loading the lib gives:
> root [0] gSystem->Load("libMLP.so")
> dlopen error: dlcompat: dyld: /Users/cs/ROOT/root/bin/root.exe Undefined 
> symbols:
> /Users/cs/ROOT/root/lib/libMLP.so undefined reference to 
> __ZN12TTreeFormulaC1EPKcS1_P5TTree expected to be defined in a dynamic 
> image
> /Users/cs/ROOT/root/lib/libMLP
> Load Error: Failed to load Dynamic link library 
> /Users/cs/ROOT/root/lib/libMLP.so
> (int)(-1)
> *** Interpreter error recovered ***
> root [1]
> 
> GUI:
> It is not easy to demonstrate this since pretty complex GUIs do
> run with CINT. However, when I want to use predefined widgets from
> my own library, CINT is no longer able to use these widgets, although
> it was possible in root 3.xx.
> 
> Best regards
> Christian
> 
> 
> Fons Rademakers wrote:
> 
>> Hi Christian,
>>
>>
>> cstrato wrote:
>>
>>>
>>> Subset of C++:
>>> Maybe, I should restate this as follows: It would be great if
>>> the ROOT source code could be compiled on most modern platforms
>>> (which is still the case), and more importantly, if all ROOT
>>> classes could be used in CINT.
>>> In the past I have often mentioned that I consider ROOT/CINT an
>>> ingenious combination. The possibility to write macros, test my
>>> code interactively, and compile it on the fly, has changed the
>>> way I am developing programs. Sorrowly, since some time I am no
>>> longer able to test my GUI code using CINT, I have to compile it
>>> with ACLiC in order to run it as macro. Furthermore, I am not
>>> able to use some classes on the Mac, such as the TMLP classes.
>>>
>> What is the problem with the GUI in the interpreter? And what is the 
>> problem with TMLP on MacOS X?
>>
>> Cheers, Fons.
>>
>>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Tue May 17 2005 - 23:42:16 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET