RE: [ROOT] rootcint, STL and MSVC6

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Jul 25 2003 - 19:05:57 MEST


Hi,

Did you check whether ROOTSYS was pointing (in windows style) to the top
directory of your ROOT installation (and that installation contained a cint
sub-directory)?  rootcint should find the vector include in
%ROOTSYS%/cin/include (and you do NOT need to specify that anywhere).

Cheers,
Philippe

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of H.-Gerd Rosarius
Sent: Friday, July 25, 2003 3:15 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] rootcint, STL and MSVC6


Hello Rooters,

I am faced with a rootcint problem on a Windows 2000 OS.

When I try to make a dictionary based on a self-written class
which contains includes like "vector" or "list", the dictionary
generation is canelled with a bunch of error messages.

Core message is: ERROR: Cannot open file list [vector, map,
whatever,...]

I tried different include statement in my class like
#include <vector> or
#include <vector.h> or
#include "vector"
.

All with the same result. If I remove the STL-includes all works
fine.

Another trial had been to give rootcint an explicit include
path like "-IC:\Programs\MSVC\VC98\include" where rootcint
should definately find fitting headers. The result was a huge
bunch of errors and warnings which my console couldn't display
anymore.

Tech: I am using Root 3.05/05 (QT-Edition) from Brookhaven National
Labratory on Windows 2000 Professional with MSVC6 installed.

Any help is welcome!

    H.-Gerd Rosarius



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET