Re: includepath on NT

From: Fons Rademakers (rdm)
Date: Tue Sep 23 1997 - 18:18:55 MEST


Hi Poalo,

   this bug has just been fixed in CINT by Masaharu Goto (Mr Interpreter).
It will be in the version we plan to release in 10 days. 

In principle you don't have to include TROOT.h because most of its
symbols are already exported to the interpreter (however, if you really
need that one symbol we did not export add it in a separete .h file
and load that).

Cheers, Fons.

> 
> Hi,
>  I started playing with root on my pc running NT 4.0. I got a problem
> trying to include some of the root include files in a macro (that I took
> from TTree class doc). In essence, if I do
> 
> C:\user\calaf\myroot>root
>  the current keyboard layout is 850
>   *******************************************
>   *                                         *
>   *        W E L C O M E  to  R O O T       *
>   *                                         *
>   *   Version   1.02/00     3 August 1997   *
>   *                                         *
>   *  You are welcome to visit our Web site  *
>   *          http://root.cern.ch            *
>   *                                         *
>   *******************************************
> 
> CINT/ROOT C/C++ Interpreter version 5.13.17, Jul 5 1997
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0] #pragma includepath C:\Cern\root_v1.02.x86.Windows_NT\include
> root [1] #include "TROOT.h"
> 
> C:\user\calaf\myroot>
> 
> root "dumps core" and NT tells me that i tried to write into some
> forbidden memory address.
>   What am I doing wrong?
> 
>    Paolo Calafiura  Scuola Normale Superiore, Piazza Cavalieri 7, I-56127 Pisa
>    phone/fax Pisa SNS   39-50-509085  / 563513                              
>    phone/fax Pisa INFN  39-50-880218  / 880317                              
>    phone/fax CERN       41-22-7674418 / 7678950  office 31-2-006 
> 
> 
> 


-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET