# TCanvas fails in 6.36 with web-browser

**URL:** <https://root-forum.cern.ch/t/tcanvas-fails-in-6-36-with-web-browser/63754>\
**Category:** ROOT\
**Created:** [June 19, 2025, 12:27am UTC](https://root-forum.cern.ch/t/tcanvas-fails-in-6-36-with-web-browser/63754 "2025-06-19T00:27:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [June 23, 2025, 1:37pm UTC](https://root-forum.cern.ch/t/tcanvas-fails-in-6-36-with-web-browser/63754/6 "2025-06-23T13:37:43Z")

</div>

Hi,

> [@preimer](#):
>
> IsBatch is false.

Then ROOT behaves as it supposed. By default it shows new web-based TBrowser,  
but still classical TCanvas. And If I understand correctly - you have crash when running `TCanvas`.  
Using `root --web` just switches you to newer web-based canvas.

From your [myRoot.txt](https://root-forum.cern.ch/uploads/short-url/vHCRTn7liL5ts6piDAwBGTLHGw6.txt) one can see that problem is in `libpng`.  
There are several posts on the forum having similar problem on mac:

> [@macOS15.4 + XCode. 16.3 + homebrew: Still having trouble on v6.34.08](https://root-forum.cern.ch/t/macos15-4-xcode-16-3-homebrew-still-having-trouble-on-v6-34-08/63329):
>
> Maybe I’m doing something wrong but things are still broken when I try to get the fixed ROOT version for Sequoia 15.4 + Xcode 16.3 through homebrew. Made sure brew points to 6.34.08 after the latest commit (920df531afd46056e409fbd21f6d3f5959da075b) to the default branch. Tried “brew upgrade root” first, didn’t work. Then uninstalled root, reinstalled it. Still doesn’t work. Launching the ROOT interpreter fails. Getting the ROOT version also fails. Need some help figuring out what I’m doing wrong…

> [@Problem in root installation due to AfterImage](https://root-forum.cern.ch/t/problem-in-root-installation-due-to-afterimage/63270):
>
> Hello, I am trying to install root v6.32.10 on my Mac from the source. Here are the cmake flags: cmake -DCMAKE\_INSTALL\_PREFIX=/Users/arkasantra/Root6\_Install -DPython3\_EXECUTABLE=python3 -DCMAKE\_CXX\_STANDARD=20 -Dbuiltin\_nlohmannjson=ON -Dhttp=ON -Droot7=ON -Dbuiltin\_xrootd=ON -Dxrootd=ON -Dbuiltin\_glew=ON /Users/arkasantra/root-6.32.10 The configuration output is the following: When I am building the directory, I am getting this error: CMake Error at /Users/arkasantra/Root6\_Build/AFTERIMA…

Maybe installation of libpng and re-build of ROOT will help you.

Regards,  
Sergey

---

_[View the full topic](https://root-forum.cern.ch/t/tcanvas-fails-in-6-36-with-web-browser/63754)._
