# \#build

**URL:** https://root-forum.cern.ch/tag/build/20.md

[Latest](https://root-forum.cern.ch/latest.md) · [Categories](https://root-forum.cern.ch/categories.md) · [Tags](https://root-forum.cern.ch/tags.md)

---

## [Asimage, libAfterImage, X11 implicit function declaration and conversion errors in compiling from source](https://root-forum.cern.ch/t/asimage-libafterimage-x11-implicit-function-declaration-and-conversion-errors-in-compiling-from-source/65006)

<div class="topic-metadata">

**Author:** [@sbauer](https://root-forum.cern.ch/u/sbauer)\
**Replies:** 9\
**Last updated:** [October 2, 2026, 9:51pm UTC](https://root-forum.cern.ch/t/asimage-libafterimage-x11-implicit-function-declaration-and-conversion-errors-in-compiling-from-source/65006 "2026-10-02T21:51:58Z")

</div>

ROOT Version: 6.40.04 for linuxx8664gcc Platform: Fedora 44 on WSL 2 on Windows 11 25H2 Compiler: Cling (i think?) Hello, I am trying to compile Root from source on Fedora 44 through WSL on Windows 11. I cloned the …

---

## [Broken cfortran.h in ROOT](https://root-forum.cern.ch/t/broken-cfortran-h-in-root/65002)

<div class="topic-metadata">

**Author:** [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Replies:** 2\
**Last updated:** [September 25, 2026, 1:57pm UTC](https://root-forum.cern.ch/t/broken-cfortran-h-in-root/65002 "2026-09-25T13:57:03Z")

</div>

@ferhue You are distributing (in ROOT 6.40 and older, as of 2026.09.25) a very old, outdated “cfortran.h” file (valid for gfortran versions up to and including 7.x), which is additionally broken (in ROOT 6.38 and newer) …

---

## [Not able to build root from source in ubuntu toolbx (podman container) image](https://root-forum.cern.ch/t/not-able-to-build-root-from-source-in-ubuntu-toolbx-podman-container-image/64844)

<div class="topic-metadata">

**Author:** [@coralstarfish](https://root-forum.cern.ch/u/coralstarfish)\
**Replies:** 6\
**Last updated:** [May 15, 2026, 2:32pm UTC](https://root-forum.cern.ch/t/not-able-to-build-root-from-source-in-ubuntu-toolbx-podman-container-image/64844 "2026-05-15T14:32:41Z")

</div>

ROOT Version: 6.36.12 Platform: (Ubuntu 24.04-LTS toolbx container) host fedora Compiler: gcc 13.3.0 Hi all, Does anyone have experience of building root from source in toolbx container. I have encountered a proble…

---

## [Can't built minimal ROOT 6.38.00 with X11 and asimage](https://root-forum.cern.ch/t/cant-built-minimal-root-6-38-00-with-x11-and-asimage/64532)

<div class="topic-metadata">

**Author:** [@Ako\_b](https://root-forum.cern.ch/u/Ako_b)\
**Replies:** 3\
**Last updated:** [December 15, 2025, 9:56pm UTC](https://root-forum.cern.ch/t/cant-built-minimal-root-6-38-00-with-x11-and-asimage/64532 "2025-12-15T21:56:49Z")

</div>

Describe the bug Cannot build minimal ROOT 6.38.00 with GUI on AlmaLinux 10. Build fails with ninja: error: 'graf2d/asimage/Gui', needed by '/opt/root\_build/graf2d/asimage/G\_\_ASImageGui.cxx', missing and no known rule …

---

## [Conda environment for building](https://root-forum.cern.ch/t/conda-environment-for-building/64386)

<div class="topic-metadata">

**Author:** [@KoljaFrahm](https://root-forum.cern.ch/u/KoljaFrahm)\
**Replies:** 7\
**Last updated:** [December 1, 2025, 2:27pm UTC](https://root-forum.cern.ch/t/conda-environment-for-building/64386 "2025-12-01T14:27:17Z")

</div>

Is there a conda environment in which I can build root? I tried to create one myself with mamba create -n buildroot make=4.4 cmake=3.31 gxx=15.2 gcc=15.2 python=3.13 liblzma-devel xorg-libx11 xorg-libxpm xorg-libxft xo…

---

## [Module libc not found (take 3)](https://root-forum.cern.ch/t/module-libc-not-found-take-3/63307)

<div class="topic-metadata">

**Author:** [@thrilledrelish](https://root-forum.cern.ch/u/thrilledrelish)\
**Replies:** 4\
**Last updated:** [April 7, 2025, 11:56am UTC](https://root-forum.cern.ch/t/module-libc-not-found-take-3/63307 "2025-04-07T11:56:04Z")

</div>

ROOT Version: 6.32.04 Built for linuxx8664gcc on Apr 05 2025, 09:35:33 From heads/master@tags/v6-32-04 Platform: Slackware64 15.0 Compiler: gcc (GCC) 11.2.0 I have an issue running ROOT I have just built with this…

---

## [Option 'minuit2' is no longer supported in ROOT 6.32.06 but still present in build instructions](https://root-forum.cern.ch/t/option-minuit2-is-no-longer-supported-in-root-6-32-06-but-still-present-in-build-instructions/62059)

<div class="topic-metadata">

**Author:** [@Ako\_b](https://root-forum.cern.ch/u/Ako_b)\
**Replies:** 1\
**Last updated:** [October 31, 2024, 10:46am UTC](https://root-forum.cern.ch/t/option-minuit2-is-no-longer-supported-in-root-6-32-06-but-still-present-in-build-instructions/62059 "2024-10-31T10:46:03Z")

</div>

Issue According to Building ROOT from source, option minuit2 is a valid build option. However, during actual build with option -Dminuit2=ON CMake yields following error: Option 'minuit2' is no longer supported in ROOT 6…

---

## [Built-in libraries of 6.30.06](https://root-forum.cern.ch/t/built-in-libraries-of-6-30-06/58838)

<div class="topic-metadata">

**Author:** [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Replies:** 3\
**Last updated:** [April 19, 2024, 7:51am UTC](https://root-forum.cern.ch/t/built-in-libraries-of-6-30-06/58838 "2024-04-19T07:51:39Z")

</div>

I am addressing here the post of @Wile\_E\_Coyote , also hoping to limit replies to locked news posts in the future. The strategy adopted by ROOT is to rely more and more on system packages. The motivation is at least two…

---

## [Suppress clang warnings when using ROOT as third party library with CMake](https://root-forum.cern.ch/t/suppress-clang-warnings-when-using-root-as-third-party-library-with-cmake/58905)

<div class="topic-metadata">

**Author:** [@mark1](https://root-forum.cern.ch/u/mark1)\
**Replies:** 4\
**Last updated:** [April 9, 2024, 1:21pm UTC](https://root-forum.cern.ch/t/suppress-clang-warnings-when-using-root-as-third-party-library-with-cmake/58905 "2024-04-09T13:21:58Z")

</div>

I am using ROOT as third party library in a CMake project as follows find\_package(ROOT 6.30 CONFIG REQUIRED) target\_link\_libraries(myLibrary PUBLIC ROOT::Core) target\_include\_directories(myLibrary PRIVATE ${CMAKE\_SOURC…

---

## [Root broken after removing build directory](https://root-forum.cern.ch/t/root-broken-after-removing-build-directory/58593)

<div class="topic-metadata">

**Author:** [@Y.S.Zhang](https://root-forum.cern.ch/u/Y.S.Zhang)\
**Replies:** 10\
**Last updated:** [April 4, 2024, 2:11pm UTC](https://root-forum.cern.ch/t/root-broken-after-removing-build-directory/58593 "2024-04-04T14:11:19Z")

</div>

Dear experts, I tried to build the root from scratch in a docker container. I build everything from the source and root prompt seems ok after installing it. However, root is broken after I deleted build directory. It sh…

---

## [ROOT 6.30.04 build failed on macOS 14.4 arm64 Xcode 15.3](https://root-forum.cern.ch/t/root-6-30-04-build-failed-on-macos-14-4-arm64-xcode-15-3/58415)

<div class="topic-metadata">

**Author:** [@Subhadip\_Pal](https://root-forum.cern.ch/u/Subhadip_Pal)\
**Replies:** 27\
**Last updated:** [March 26, 2024, 7:40am UTC](https://root-forum.cern.ch/t/root-6-30-04-build-failed-on-macos-14-4-arm64-xcode-15-3/58415 "2024-03-26T07:40:58Z")

</div>

Dear Experts, I was trying to build ROOT 6.30.04 on my MacOS Sonoma and it failed with the following errors. Can you please help me? \[ 75%\] Linking CXX executable src/rootcling\_stage1 \[ 75%\] Built target rootcling\_stage…

---

## [\`-Dtesting=OFF\` flag not honored](https://root-forum.cern.ch/t/dtesting-off-flag-not-honored/57135)

<div class="topic-metadata">

**Author:** [@nothingface0](https://root-forum.cern.ch/u/nothingface0)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 3:46pm UTC](https://root-forum.cern.ch/t/dtesting-off-flag-not-honored/57135 "2023-11-16T15:46:18Z")

</div>

Hello, I’m building ROOT 6.28.08 from source on a RHEL8 machine that has no access to internet resources outside CERN (the main reason is that the system’s precompiled package is for python3.6, but I need ROOT built for…

---

## [Root v6.28/06 Build Segfaults with ICC/ICPC](https://root-forum.cern.ch/t/root-v6-28-06-build-segfaults-with-icc-icpc/57009)

<div class="topic-metadata">

**Author:** [@dalel487](https://root-forum.cern.ch/u/dalel487)\
**Replies:** 2\
**Last updated:** [November 8, 2023, 10:20pm UTC](https://root-forum.cern.ch/t/root-v6-28-06-build-segfaults-with-icc-icpc/57009 "2023-11-08T22:20:03Z")

</div>

Hi all I’m trying to build v6.28/06 but the build gives a segfault error when compiling G\_\_ROOTVecOps.cxx (see below, new users can post links/upload so sorry for clunky pasting). I’ve also included the CMakeCache file …

---

## [Cling (Clang-13) compile errors on Ubuntu 22.04, using ubuntu clang++14](https://root-forum.cern.ch/t/cling-clang-13-compile-errors-on-ubuntu-22-04-using-ubuntu-clang-14/56866)

<div class="topic-metadata">

**Author:** [@marvin\_littlewood](https://root-forum.cern.ch/u/marvin_littlewood)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 10:24am UTC](https://root-forum.cern.ch/t/cling-clang-13-compile-errors-on-ubuntu-22-04-using-ubuntu-clang-14/56866 "2023-10-27T10:24:05Z")

</div>

Hello, I am using ROOT’s cling to write a textbook and was curious to see whether I could build it myself, first in Linux and then possibly using Termux. I used the script on the Cling Build Instructions page to build: …

---

## [Issues buiidng Root 6.28.04 with FFTW on Windows 11 - VS 17.5.3](https://root-forum.cern.ch/t/issues-buiidng-root-6-28-04-with-fftw-on-windows-11-vs-17-5-3/56713)

<div class="topic-metadata">

**Author:** [@luminociter](https://root-forum.cern.ch/u/luminociter)\
**Replies:** 8\
**Last updated:** [October 13, 2023, 5:11pm UTC](https://root-forum.cern.ch/t/issues-buiidng-root-6-28-04-with-fftw-on-windows-11-vs-17-5-3/56713 "2023-10-13T17:11:13Z")

</div>

Dear Rooters, I am trying to built a version of root that has the FFTW library in the built under windows 11 using VS 17.5.3 and Windows SDK 10.0.22621.0. I tried both the x64 and x86 variations using the relevant cmake…

---

## [Building ROOT v6-28-06 with cmake toolchain file](https://root-forum.cern.ch/t/building-root-v6-28-06-with-cmake-toolchain-file/56548)

<div class="topic-metadata">

**Author:** [@jade2](https://root-forum.cern.ch/u/jade2)\
**Replies:** 3\
**Last updated:** [October 10, 2023, 12:08am UTC](https://root-forum.cern.ch/t/building-root-v6-28-06-with-cmake-toolchain-file/56548 "2023-10-10T00:08:35Z")

</div>

Hi, I downloaded root source code from the root git repository with git tag v6-28-06. I initially build it with gcc version 9.4.0 (that’s the default compiler for ubuntu 20.04). When first configuring cmake against th…

---

## [Out of memory compiling cling on WSL2](https://root-forum.cern.ch/t/out-of-memory-compiling-cling-on-wsl2/55983)

<div class="topic-metadata">

**Author:** [@pundemonium](https://root-forum.cern.ch/u/pundemonium)\
**Replies:** 8\
**Last updated:** [August 14, 2023, 10:58am UTC](https://root-forum.cern.ch/t/out-of-memory-compiling-cling-on-wsl2/55983 "2023-08-14T10:58:47Z")

</div>

System is Windows 10 Home + WSL2 (Ubuntu 22.04) I followed instructions on root.cern/cling/cling\_build\_instructions/ and failed on “cmake --build .” \[ 87%\] Linking CXX executable …/…/…/…/bin/clang collect2: fatal erro…

---

## [Building ROOT 6.24 (the v6-24-00-patches branch)](https://root-forum.cern.ch/t/building-root-6-24-the-v6-24-00-patches-branch/54089)

<div class="topic-metadata">

**Author:** [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Replies:** 32\
**Last updated:** [March 21, 2023, 4:02pm UTC](https://root-forum.cern.ch/t/building-root-6-24-the-v6-24-00-patches-branch/54089 "2023-03-21T16:02:24Z")

</div>

This thread is a split of a previous topic: Error Installing ROOT-5.34.38 “The software” that you are using should already be compatible with ROOT 6 (but you will probably need ROOT binaries built with the “-std=c++11” …

---

## [Install directory is empty after building from source on Windows 11](https://root-forum.cern.ch/t/install-directory-is-empty-after-building-from-source-on-windows-11/53567)

<div class="topic-metadata">

**Author:** [@pauln](https://root-forum.cern.ch/u/pauln)\
**Replies:** 5\
**Last updated:** [February 13, 2023, 10:18am UTC](https://root-forum.cern.ch/t/install-directory-is-empty-after-building-from-source-on-windows-11/53567 "2023-02-13T10:18:39Z")

</div>

Hi all, As in the title, after following the instructions on building from source on Windows, the target install directory is empty. I am compiling from source so that I can compile a Geant4 project (using v11.0 which …

---

## [Error building ROOT 6.26/10 on Win11 with VS17](https://root-forum.cern.ch/t/error-building-root-6-26-10-on-win11-with-vs17/52941)

<div class="topic-metadata">

**Author:** [@Dor\_Miron](https://root-forum.cern.ch/u/Dor_Miron)\
**Replies:** 17\
**Last updated:** [January 15, 2023, 4:06pm UTC](https://root-forum.cern.ch/t/error-building-root-6-26-10-on-win11-with-vs17/52941 "2023-01-15T16:06:29Z")

</div>

ROOT Version: 6.26/10 Platform: Windows 11 Compiler: Visual Studio 17.4.3 Hello, I want to build ROOT for python 3.10 so I’m following the “Building ROOT from source” instructions. I have also installed and don’t k…

---

## [Problem building root on ubuntu 20.04.3 (WSL2)](https://root-forum.cern.ch/t/problem-building-root-on-ubuntu-20-04-3-wsl2/52806)

<div class="topic-metadata">

**Author:** [@iraklic1981](https://root-forum.cern.ch/u/iraklic1981)\
**Replies:** 3\
**Last updated:** [December 20, 2022, 12:03am UTC](https://root-forum.cern.ch/t/problem-building-root-on-ubuntu-20-04-3-wsl2/52806 "2022-12-20T00:03:21Z")

</div>

Trying to build root and getting the following errors: \[ 79%\] Built target RSQLite /usr/bin/ld: cannot find -lXROOTD\_XrdNet\_LIBRARY-NOTFOUND /usr/bin/ld: cannot find -lXROOTD\_XrdOuc\_LIBRARY-NOTFOUND /usr/bin/ld: cann…

---

## [Problem compiling root 5.34.38 in Ubuntu 22.04](https://root-forum.cern.ch/t/problem-compiling-root-5-34-38-in-ubuntu-22-04/52522)

<div class="topic-metadata">

**Author:** [@rpelayo](https://root-forum.cern.ch/u/rpelayo)\
**Replies:** 2\
**Last updated:** [November 29, 2022, 9:39pm UTC](https://root-forum.cern.ch/t/problem-compiling-root-5-34-38-in-ubuntu-22-04/52522 "2022-11-29T21:39:44Z")

</div>

I am trying to compile root 5.34.38 in Ubuntu 22.04, because I need it for Corsika and the Auger Offline. The last lines of the compilation: checking for long long... yes checking whether time.h and sys/time.h may both …

---

## [Number 5 is Alive!](https://root-forum.cern.ch/t/number-5-is-alive/52310)

<div class="topic-metadata">

**Author:** [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Replies:** 1\
**Last updated:** [November 14, 2022, 11:29am UTC](https://root-forum.cern.ch/t/number-5-is-alive/52310 "2022-11-14T11:29:55Z")

</div>

For Halloween, I decided to dig the good old ROOT 5 up out of its grave. Guess what? It resurrected! Spooky, no? This is Ubuntu 22.04 LTS / x86\_64 / GCC 11.3 here. Below you can find some notes on how to easily build …

---

## [Build ROOT 6.26.04 module Core and std problem (ubuntu 22.04)](https://root-forum.cern.ch/t/build-root-6-26-04-module-core-and-std-problem-ubuntu-22-04/50742)

<div class="topic-metadata">

**Author:** [@lukroz](https://root-forum.cern.ch/u/lukroz)\
**Replies:** 15\
**Last updated:** [November 11, 2022, 12:57pm UTC](https://root-forum.cern.ch/t/build-root-6-26-04-module-core-and-std-problem-ubuntu-22-04/50742 "2022-11-11T12:57:10Z")

</div>

Hi. I have trouble with installing ROOT 6.26.04 on my ubuntu 22.04. I use cmake with that configurations: cmake $options Druntime\_cxxmodules=OFF -Dxrootd=0 -Dmemstat=0 -Dbuiltin\_afterimage=0 -Dbuiltin\_glew=0 -Dbuiltin\_…

---

## [WSL Build from source error: RInt.pcm is out of date \\ cannot read module signature](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564)

<div class="topic-metadata">

**Author:** [@Dragonfire3900](https://root-forum.cern.ch/u/Dragonfire3900)\
**Replies:** 45\
**Last updated:** [November 11, 2022, 11:10am UTC](https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564 "2022-11-11T11:10:37Z")

</div>

ROOT Version: v6.24.06 Platform: WSL (Ubuntu 18.04) Compiler: g++ 7.50 Hey everyone! I’m new to ROOT and I’m trying to build it from scratch on WSL using the default instructions from the main website. I’m using the …

---

## [Module libc not found (take 2)](https://root-forum.cern.ch/t/module-libc-not-found-take-2/51461)

<div class="topic-metadata">

**Author:** [@Attila\_Krasznahorkay](https://root-forum.cern.ch/u/Attila_Krasznahorkay)\
**Replies:** 6\
**Last updated:** [October 3, 2022, 7:20am UTC](https://root-forum.cern.ch/t/module-libc-not-found-take-2/51461 "2022-10-03T07:20:33Z")

</div>

This issue has been bothering me since quite a while, and apparently I’m not absolutely alone. (Module libc not found) As I remember, it started after one of the standard Ubuntu GCC 9 updates \>1 year ago. After the APT …

---

## [Macos::glew:: cmake restriction without upper limit](https://root-forum.cern.ch/t/macos-cmake-restriction-without-upper-limit/51484)

<div class="topic-metadata">

**Author:** [@adrian\_sev](https://root-forum.cern.ch/u/adrian_sev)\
**Replies:** 1\
**Last updated:** [September 7, 2022, 1:51pm UTC](https://root-forum.cern.ch/t/macos-cmake-restriction-without-upper-limit/51484 "2022-09-07T13:51:48Z")

</div>

Hi! I encountered an error message of the type: -- Looking for GLEW -- Found GLEW: /usr/local/lib/cmake/glew/glew-config.cmake CMake Error at cmake/modules/SearchInstalledSoftware.cmake:589 (message): Please enable …

---

## [ROOT build error from source](https://root-forum.cern.ch/t/root-build-error-from-source/51416)

<div class="topic-metadata">

**Author:** [@Animesh\_Sah](https://root-forum.cern.ch/u/Animesh_Sah)\
**Replies:** 4\
**Last updated:** [September 1, 2022, 7:18pm UTC](https://root-forum.cern.ch/t/root-build-error-from-source/51416 "2022-09-01T19:18:51Z")

</div>

\_ROOT Version:6.26.06 \_Platform:Fedora Linux 36 Hi I m trying to build ROOT from source in my fedora , but I am getting an error after cmake --build . --target install command. The error I get is \[ 1%\] Performin…

---

## [Building/cmake stuck with XRootD XRDCL\_ONLY mode](https://root-forum.cern.ch/t/building-cmake-stuck-with-xrootd-xrdcl-only-mode/51064)

<div class="topic-metadata">

**Author:** [@adrian\_sev](https://root-forum.cern.ch/u/adrian_sev)\
**Replies:** 5\
**Last updated:** [August 10, 2022, 8:59am UTC](https://root-forum.cern.ch/t/building-cmake-stuck-with-xrootd-xrdcl-only-mode/51064 "2022-08-10T08:59:38Z")

</div>

Hi! So, on a ubuntu 20.04, building 6.26.04, the building process seems to get stuck if the XRootD is build with XRDCL\_ONLY option (i have this log from the reporter) It does not seem to be problems on centos 7 or maco…

---

## [New error on build](https://root-forum.cern.ch/t/new-error-on-build/51117)

<div class="topic-metadata">

**Author:** [@chromafunk](https://root-forum.cern.ch/u/chromafunk)\
**Replies:** 6\
**Last updated:** [August 9, 2022, 1:37pm UTC](https://root-forum.cern.ch/t/new-error-on-build/51117 "2022-08-09T13:37:46Z")

</div>

so I’m running an automated root build ( clones latest master ) and I’m getting this error on build this last time I tested it : CMake Error at XROOTD-stamp/download-XROOTD.cmake:170 (message): Each download failed! …

[Next page](https://root-forum.cern.ch/tag/build/20.md?match_all_tags=true&page=1&tags%5B%5D=build)
