Shaun Roe <shaun.roe@cern.ch> writes:
> --Apple-Mail-10--600797642
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> charset=US-ASCII;
> format=flowed
>
> Using root 3.05/05 on MacOSX 10.2.6
> I believe this problem may be solved on other platforms,
> (see http://root.cern.ch/root/roottalk/roottalk02/0356.html) but how to
> do it on macOSX?
>
> The following macro
> {
> gROOT->Reset();
> #include "Riostream.h"
> #include <string>
> string someInput;
> cout << "Here is a test" << endl;
> cin >> someInput;
> cout << someInput;
> }
>
> produces the error:
>
> Error: Symbol i is not defined in current scope FILE:bstring.h
> LINE:2523
> Error: Failed to evaluate i.operatorvoidError: Binary operator oprand
> missing FILE:bstring.h LINE:2523
>
Hi,
have you installed cintdlls as it is mentioned in the thread? Do
make cintdlls; make install
cintdlls are not built by default but they are more powerful than
the interpreted headers.
--
Jiri
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET