I am trying to compile hello.cxx using MS VC6.
I succeeded to make a project file and the workspace,
and even I can compile and link the project. There is,
however, one error message I cannot rid off:
I guess that the main() is missing (in the console version) or
(WinMain in the windows version). What is the trick to build the app?
Is there a makefile around?
BTW: I also tried the following, with no success.
Do I wrong something?
Hi Janos,
you didn’t say anything about your ROOT version.
Everything works OK with ROOT supported version
WindowsXP/NT/w2000 with VC++ 7.1 (runs with VC++6), version 4.01/04 (good old tar file) WIN32GDK
[quote=“Valeriy Onuchin”]Hi Janos,
you didn’t say anything about your ROOT version.
Everything works OK with ROOT supported version
WindowsXP/NT/w2000 with VC++ 7.1 (runs with VC++6), version 4.01/04 (good old tar file) WIN32GDK
Just run “make” in test directory.
Regards. Valeriy[/quote]
Hi Valeri,
this is the ROOT login:
Version 4.00/08 9 July 2004 *
Compiled for win32.
CINT/ROOT C/C++ Interpreter version 5.15.138, May 23 2004
Concerning make:
I have a Borland compiler installed, that fires first:
The funny business is that right now nothing is found,
although the file is there:
root [0] .x hsimple
Error in TRint::ProcessFile: macro hsimple not found in path .;f:/root/macros
root [1] .x hsimple.h
srror in TRint::ProcessFile: macro hsimple.h not found in path .;f:/root/macro
root [2] .x mydemo.h
Error in TRint::ProcessFile: macro mydemo.h not found in path .;f:/root/macros
root [3] .q
This is the end of ROOT – Goodbye
F:\root\tutorials>dir hsim*.c
Volume in drive F is DATA
Volume Serial Number is 2861-9393
Hi Janos,
I just searched my computer … seems I lost
my VC6 projects files for $ROOTSYS/test. I’ll check it
in another place. Meanwhile you can use
$ROOTSYS/test/Makefile.win32 which works with VC6
although compilation of some programs is missing.
Hi Janos,
win32.mak is in C:\Program Files\Microsoft Visual Studio\VC98\Include
To compile $ROOTSYS/test programs you should first to
"tune" VC inviroment by execution of
C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat