RE: [ROOT] rootcint, STL and MSVC6

From: Valeri Fine (fine@bnl.gov)
Date: Fri Jul 25 2003 - 23:26:51 MEST


Hello dear H.-Gerd Rosarius,

Just my 2 cents

You wrote:
> Another trial had been to give rootcint an explicit include
> path like "-IC:\Programs\MSVC\VC98\include" where rootcint
> should definately find fitting headers. 

This is wrong. To create a dictionary for STL classes you must not 
point to the compiler system directory. The dictionary for STL classes 
can not be done by CINT parsing the headers from the compiler system
directory.

> The result was a huge
> bunch of errors and warnings which my console couldn't display
> anymore.

What about your console, one can make it as large as one wants.
Did you try to change your console properties?
Try to click the upper left corner of the console with the "right mouse
button click", select "Properties" 
Select: "Edit Options: QuickEdit Mode"
Select: Layout:  Set "Height" to be as many line as you find comfortable
with (let say 99999) 
Select: Ok.

                      Hope this helps, Valeri


> 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