Using Root on Windows NT starting from a makefile

From: GENTIT Francois-Xavier DAPNIA (GENTIT@DAPNIA.CEA.FR)
Date: Fri Nov 13 1998 - 16:04:43 MET


   Dear Rooters,
   I have found to-day the solution to a problem which was annoying me since
months when writing root classes under windows NT with Visual C++. Since
there is a chance that I was not alone with this problem, and since this
problem results from a unsufficient documentation, I will explain here what
it is.
   Compilation and linking was ok for my program, but I was never able to
debug it. The debugger always complained for a missing file "Makefile.exe".
In my Makefile, I had given the name "litrani.exe" to the executable file.
But Visual C++ is sufficiently stupid to ignore this when entering in debug
mode. You have to tell Visual C++ at 2 places that the name of your program
is "litrani.exe" :

In : Projects...Settings...General:
          --> Output file name                    : litrani.exe
In : Projects...Settings...Debug:
          --> Executable for debug session : litrani.exe

   After that, everything works ok ! It would be good to explain that in the
README file of ROOT for windows. It is not sufficient to have a correct
Makefile !

F.X. Gentit
DAPNIA/SPP CEN Saclay
tel : 01 69 08 30 38



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