Hi, You probably forgot to run gmake cintdlls At the end of the ROOT build. Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch] On Behalf Of eric lyx Sent: Monday, September 27, 2004 4:02 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] Problem with map Hi, I got a Problem with map. I use ROOT 4.00/08 in Cygwin, my OS is WinXP, and have installed the new version ROOT from CVS. But I got Error, when I try to use std::map. Anyone konw about that? Thanks. root [0] #include<map> root [1] #include<function> root [2] #include<string> root [3] std::map<std::string, int, std::less<std::string> > age; root [4] age["Fred"] = 42; Error: Can't call map<string,int,less<string>,allocator<pair<const string,int> > >::operator[]((char*)0x1002ec34) in current scope FILE:(tmpfile) LINE:1 Possible candidates are... filename line:size busy function type and name (in map<string,int,less<string>,allocator<pair<const string,int> > >) Error: improper lvalue FILE:(tmpfile) LINE:1 *** Interpreter error recovered *** Yuxiang ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET