Missing the definition of TGLVertex3::TGLVertex3(double, double, double)

Hi,
I’m trying to create a TGLVertex3 object on the stack in ROOT prompt:

[XXX@YYY ~]$ root
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/08                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Sep 29 2022, 13:04:57                 |
  | From tags/v6-24-08@v6-24-08                                      |
  | With c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)                 |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

root [0] TGLVertex3(1, 2, 3)
IncrementalExecutor::executeFunction: symbol '_ZN10TGLVertex3C1Eddd' unresolved while linking [cling interface function]!
You are probably missing the definition of TGLVertex3::TGLVertex3(double, double, double)
Maybe you need to load the corresponding shared library?
root [1]

Is there anything I can do short of upgrading to a newer ROOT version?
Thanks!


ROOT Version: 6.24/08
Platform: CentOS Linux 7
Compiler: g++ (GCC) 4.8.5 20150623


Hi,

As the message says "Maybe you need to load the corresponding shared library?" . Can you load other TGLxxx classes or is it only that one ?

I also tried TGLVector3 and TGLRect with the same result:

root [0] TGLVector3(1, 2, 3)
IncrementalExecutor::executeFunction: symbol '_ZN10TGLVector3C1Eddd' unresolved while linking [cling interface function]!
You are probably missing the definition of TGLVector3::TGLVector3(double, double, double)
Maybe you need to load the corresponding shared library?
root [1] TGLRect(1, 2, 3, 4)
IncrementalExecutor::executeFunction: symbol '_ZN7TGLRectC1Eiiii' unresolved while linking [cling interface function]!
You are probably missing the definition of TGLRect::TGLRect(int, int, int, int)
Maybe you need to load the corresponding shared library?

It looks like the ROOT version you are using was installed without these classes.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.