# TCanvas is not working, the prompt won't open

**URL:** <https://root-forum.cern.ch/t/tcanvas-is-not-working-the-prompt-wont-open/60372>\
**Category:** Newbie\
**Tags:** hist\
**Created:** [July 30, 2024, 6:26pm UTC](https://root-forum.cern.ch/t/tcanvas-is-not-working-the-prompt-wont-open/60372 "2024-07-30T18:26:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janhvikene](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@Janhvikene](https://root-forum.cern.ch/u/Janhvikene)\
**Post date:** [July 30, 2024, 6:26pm UTC](https://root-forum.cern.ch/t/tcanvas-is-not-working-the-prompt-wont-open/60372/1 "2024-07-30T18:26:34Z")

</div>

ROOT Version:\_ 6.32.02  
Platform:\_ windows  
Compiler:\_ gcc  
Hello I am a newbie. the TCanvas prompt not opening despite using the command TCanvas c1;  
How to fix this issue.

---

<div class="post-metadata">

**Author:** ![Janhvikene](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@Janhvikene](https://root-forum.cern.ch/u/Janhvikene)\
**Post date:** [July 30, 2024, 6:35pm UTC](https://root-forum.cern.ch/t/tcanvas-is-not-working-the-prompt-wont-open/60372/2 "2024-07-30T18:35:27Z")

</div>

there is this error  
[runStaticInitializersOnce]: Failed to materialize symbols: { (main, { \__cxx\_global\_var\_initcling\_module\_13_, \_ZN11\_\_cling\_N5315\_\_cling\_Un1Qu33EPv, \_GLOBAL\_\_sub\_I\_cling\_module\_13, \_ZN11\_\_cling\_N532c1E, $.cling-module-13.\_\_inits.0, \_\_orc\_init\_func.cling-module-13 }) }  
IncrementalExecutor::executeFunction: symbol ‘\_ZN7TCanvasC1Eb’ unresolved while linking [cling interface function]!  
You are probably missing the definition of TCanvas::TCanvas(bool)  
Maybe you need to load the corresponding shared library?  
IncrementalExecutor::executeFunction: symbol ‘\_ZN7TCanvasD1Ev’ unresolved while linking [cling interface function]!  
You are probably missing the definition of TCanvas::~TCanvas()  
Maybe you need to load the corresponding shared library?

---

<div class="post-metadata">

**Author:** ![ferhue](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ferhue/32/29462_2.png) [@ferhue](https://root-forum.cern.ch/u/ferhue)\
**Post date:** [July 31, 2024, 6:05am UTC](https://root-forum.cern.ch/t/tcanvas-is-not-working-the-prompt-wont-open/60372/3 "2024-07-31T06:05:14Z")

</div>

Try maybe downloading instead the Native Windows version rather than using WSL

---

<div class="post-metadata">

**Author:** ![Janhvikene](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@Janhvikene](https://root-forum.cern.ch/u/Janhvikene)\
**Post date:** [August 4, 2024, 9:58am UTC](https://root-forum.cern.ch/t/tcanvas-is-not-working-the-prompt-wont-open/60372/5 "2024-08-04T09:58:42Z")

</div>

I was missing a library libgif7 so  
sudo apt-get install libgif7  
sudo apt-get install libgif-dev
