Re: Using ROOT on NT without makefile

Valery Fine (fine@bnl.gov)
Mon, 9 Nov 1998 12:32:58 -0500


On 9 Nov 98 at 13:21, GENTIT Francois-Xavier DAPNI wrote:

> From: GENTIT Francois-Xavier DAPNIA <GENTIT@DAPNIA.CEA.FR>
> To: "'fine@bnl.gov'" <fine@bnl.gov>
> Subject: Using ROOT on NT without makefile
> Date: Mon, 9 Nov 1998 13:21:40 +0100

> - I have added the root\bin directory in my system path in ControlPanel
> ...System ... Environment
> - I have added the variable ROOTSYS in the same panel
> - I have started Visual C++ selecting "Win32 Console application" as type of
> project
> - I have added all my classes and a main program to the project
> - I have instructed Visual C++ in Tools...Options...Directories where to
> find the root include files
> - I have added all the root libraries *.lib to the project

Very likely you didn't define the compilation options ROOT needs.

Namely, check whether you did specified:

-DWIN32 -DVISUAL_CPLUSPLUS

and try again (those the test/makefile missed )

I hope this helps,
Valery


=================================================================
Dr. Valeri Faine (Fine)
------------------- Phone: +1 516 344 7806
Brookhaven National Laboratory FAX : +1 516 344 4206
Bldg. 510A /STAR mailto:fine@bnl.gov
Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
USA

Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su