Using Root on Windows NT starting from a makefile
GENTIT Francois-Xavier DAPNIA (GENTIT@DAPNIA.CEA.FR)
Fri, 13 Nov 1998 16:04:43 +0100
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