Re: [ROOT] ROOT and OpenGL

From: Glen R. Salo (gsalo@mrcstl.com)
Date: Thu Sep 12 2002 - 00:23:01 MEST


Thanks for all the OpenGL info.  gl.dll looks like it will provide me with
what I need---that is, if I can get it to compile.  Has anyone been
successful at compiling gl.dll on RedHat 7.2 or 7.3?  I have tried both
gcc-2.96 and gcc-3.2.  Both give errors such as:

Warning: Unknown type 'GLubyte' in function argument handled as int
FILE:/usr/include/GL/glx.h LINE:118

and

Limitation: can not handle macro GLUT_STROKE_ROMAN (&glutStrokeRoman) Use
+P or -p option
 FILE:TOP.h LINE:1084

Based on the README.txt, it looks like gl.dll does not work with versions
of cint >= 5.15.14.  If this is true, are there any estimates as to when
the problems may be fixed?

Thanks,

Glen

 
On 08-Sep-2002 Fons Rademakers wrote:
> You are right. This dll should do the trick.
> 
> -- Fons
> 
> 
> On Fri, 2002-09-06 at 17:42, Christian Holm Christensen wrote:
>> Hi 
>> 
>> On Fri, 6 Sep 2002 16:38:41 +0200
>> Fons Rademakers <Fons.Rademakers@cern.ch> wrote
>> concerning "Re: [ROOT] ROOT and OpenGL":
>> > Five or six years ago Maarten Ballintijn produced a LinkDef.h that
>> > exported the complete OpenGL API. With this he could run the 
>> > standard OpenGL demos (like gears) from the interpreter. Maybe
>> > Maarten has this code still somewhere. 
>> 
>> Doesn't the precompiled header `gl.dll' (root/cint/lib/gl/README.txt)
>> in CINT all this, or have I misunderstood something?  There's a
>> comment on GCC 3.0, but that's it, so I guess it should work for other
>> compilers. 
>> 
>> Yours, 
>> 
>>  ____ |  Christian Holm Christensen 
>>   |_| |      
-------------------------------------------------------------
>>     | |       Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35
96 91
>>      _|                DK-2200 Copenhagen N       Cell:   (+45) 24 61
85 91
>>     _|                 Denmark                    Office: (+45) 353  25
305
>>  ____|        Email:   cholm@nbi.dk               Web:   
www.nbi.dk/~cholm
>>  | |
> -- 
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:09 MET