Event problem under Win95

valeri@na.infn.it
Thu, 23 Oct 1997 15:17:29 +0100


Dear experts,

I installed root 1.03/05 on Windows95/ Visual C++4.0 and tryed the demos and tests.

Demos passed almost fine, the only problem was with "shapes" :
Load Error: Dynamic link library c:\root\bin/Root_RGL.DLL can not load.

I tryed to compile tests using the provided Makefile.
All tests exept of Event were compiled and passed, but for Event I got the following
diagnostics:

Microsoft (R) Program Maintenance Utility Version 1.60.5270
Copiright (c) Microsoft Corp 1988-1995. All right reserved

cl -DWIN32 -D_WIN32 -D_MT -D_DLL /Zd /O2 /G5 /MD -D_WINDOWS -Ir:\include -c Event.cxx
Event.cxx
cl -DWIN32 -D_WIN32 -D_MT -D_DLL /Zd /O2 /G5 /MD -D_WINDOWS -Ir:\include -c EventCint.cxx
EventCint.cxx
r:\include\TMemberInspector.h(30) : error C2618: local classes cannot have base classes
r:\include\TMemberInspector.h(33) : error C2601: functions cannot be defined in local classes
r:\include\TMemberInspector.h(34) : error C2601: functions cannot be defined in local classes
r:\include\TMemberInspector.h(38) : error C2246: 'fgIsA' : illegal static data member in locally defined class
r:\include\TMemberInspector.h(38) : error C2601: functions cannot be defined in local classes
r:\include\TMemberInspector.h(38) : error C2601: functions cannot be defined in local classes
r:\include\TMemberInspector.h(38) : error C2601: functions cannot be defined in local classes
r:\include\TMemberInspector.h(38) : error C2601: functions cannot be defined in local classes
r:\include\TError.h(46) : error C2598: linkage specification must be at global scope
EventCint.cxx(22) : fatal error C1004: unexpected end of file found

NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

How to solve thees problems?
Is it possible to compile tests not only using Makefile but
from Development Studio?

Thanks in advance,
Valeri Tyukov.