Re: Event problem under Win95

Valery Fine (fine@mail.cern.ch)
Thu, 23 Oct 1997 15:46:00 +0100


On 23 Oct 97 at 15:17, valeri@na.infn.it wrote:er Win95

> 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.

It is more-less clear. Root_RGL.DLL needs OpenGL DLLs to be
installed. It is supplied with Windows NT but 95. So you are required
to download and install OpenGL for your Windows 95 (It is available
for the ROOT Web/ftp site)

>
> 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:
>
>

Hmm. At least with 1.03/03 there was no problem. But I'd like to
call your attention that ROOT is compiled with Visual C/C++ v.4.2
(not 4.0).

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

Yes and no. As you very likely realized ROOT makefile does contain
2 "non-standard" steps (from the MS Project point of view), namely

1. Creating and compiling ROOT "Dictionary" (via RootCint utility)
2. Creating the module definition file (via BINDEXPLIB utility)

So to use MS Studio to build "Event" example one is required to
define himself these two "NON"-standard steps. For the "trivial" DLL
the studio can be used, since the "trivial" case doesn't required
"Creating the module defimition file". Just one needs to select
"WIN32 DLL project" and introduce one extra "Pre_link" step to make
the dictionary file as the ROOT test/makefile prescribes. As example
one can use the MS project of CINT from the stand-alone CINT
distribution kit (available from the ROOT ftp/Web site too).

Makefile is distributed by the simple reason. ROOT is supplied
with a single makefile for all UNIXs and Windows as well. Making
the separate MS project file(s) for Windows will need some extra
manpower.

With my best regards,
Valery
Dr. Valeri Faine (Valery Fine)
------------ ------------- Phone: +41 22 767 4921
CERN FAX : +41 22 767 7155
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine