# Undeclared identifier 'TEveManager'

**URL:** <https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159>\
**Category:** Newbie\
**Created:** [March 14, 2019, 10:38am UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159 "2019-03-14T10:38:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![testa](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/958977/32.png) [@testa](https://root-forum.cern.ch/u/testa)\
**Post date:** [March 14, 2019, 10:38am UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/1 "2019-03-14T10:38:50Z")

</div>

Dear Experts,  
I’m trying to run tutorials/eve/geom\_atlas.C. I’ve root-6.16.00.

I get this error:  
/home/testa/root\_v6/root-6.16.00/tutorials/eve/geom\_atlas.C:12:4: error: use of undeclared identifier ‘TEveManager’  
TEveManager::Create();

Best regards, Marianna.

---

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [March 14, 2019, 11:24am UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/2 "2019-03-14T11:24:01Z")

</div>

Hi Marianna,

the tutorial doesn’t include any headers, so it’s not possible to compile it. I assume you ran it like

```auto
root [...]/geom_atlas.C+

```

Try removing the “+” to run it in interpreted mode.

---

<div class="post-metadata">

**Author:** ![testa](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/958977/32.png) [@testa](https://root-forum.cern.ch/u/testa)\
**Post date:** [March 14, 2019, 12:11pm UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/3 "2019-03-14T12:11:03Z")

</div>

Hi Stephan,  
I run it in interpreted mode.

root [0] .x geom\_atlas.C  
In file included from input\_line\_10:1:  
/home/testa/root\_v6/root-6.16.00/tutorials/eve/geom\_atlas.C:12:4: error: use of undeclared identifier ‘TEveManager’  
TEveManager::Create();  
/home/testa/root\_v6/root-6.16.00/tutorials/eve/geom\_atlas.C:15:4: error: use of undeclared identifier ‘gGeoManager’  
gGeoManager = gEve-\>GetGeometry(“[http://root.cern.ch/files/atlas.root](http://root.cern.ch/files/atlas.root)”);  
/home/testa/root\_v6/root-6.16.00/tutorials/eve/geom\_atlas.C:15:18: error: use of undeclared identifier ‘gEve’  
…

---

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [March 14, 2019, 2:38pm UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/4 "2019-03-14T14:38:04Z")

</div>

Ok. Apparently, 3D graphics are missing. I will invite @couet and @bellenot to help with this.

What might help is if you answer these two questions:

- Did you compile root yourself?
- What configuration did you use when you configured it?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 14, 2019, 2:41pm UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/5 "2019-03-14T14:41:09Z")

</div>

@matevz can also help as it is TEve related.

---

<div class="post-metadata">

**Author:** ![testa](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/958977/32.png) [@testa](https://root-forum.cern.ch/u/testa)\
**Post date:** [March 14, 2019, 3:16pm UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/6 "2019-03-14T15:16:58Z")

</div>

```
Did you compile root yourself?

```

yes  
What configuration did you use when you configured it?  
I did not set any configuration, I just compiled:  
mkdir obj; cd obj; cmake …; make -j 4"  
and  
source /root/bin/thisroot.csh

---

<div class="post-metadata">

**Author:** ![matevz](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/matevz/32/12824_2.png) [@matevz](https://root-forum.cern.ch/u/matevz)\
**Post date:** [March 14, 2019, 5:30pm UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/7 "2019-03-14T17:30:31Z")

</div>

I’d guess you’re missing opengl development libraries (on rh mesa-libGLU-devel. not sure what it’s called on Debian/Ubuntu, maybe just devel -\> dev?). Without those eve is not built, either.

Do you see opengl listed in your features?

```auto
matevz@black ~> root-config --features
asimage astiff builtin_afterimage builtin_clang builtin_davix builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_vdt builtin_xxhash clad cling davix exceptions explicitlink gdml http imt mathmore opengl pch python roofit root7 shared ssl thread tmva vdt x11 xft xml xrootd

```

You will also see this list after you run cmake.

Cheers,  
Matevz

---

<div class="post-metadata">

**Author:** ![testa](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/958977/32.png) [@testa](https://root-forum.cern.ch/u/testa)\
**Post date:** [March 18, 2019, 1:29pm UTC](https://root-forum.cern.ch/t/undeclared-identifier-tevemanager/33159/8 "2019-03-18T13:29:35Z")

</div>

HI,  
I don’t have opengl libraries:  
root-config --features  
asimage astiff builtin\_afterimage builtin\_clang builtin\_freetype builtin\_ftgl builtin\_glew builtin\_llvm builtin\_lz4 builtin\_lzma builtin\_openssl builtin\_pcre builtin\_tbb builtin\_xxhash clad cling cxx11 exceptions explicitlink gdml http imt pch python roofit shared ssl thread tmva vdt x11 xft xrootd

How could I install them
