# Building Salome from github on top of Paraview 5.11.2

**URL:** https://discourse.paraview.org/t/building-salome-from-github-on-top-of-paraview-5-11-2/15652
**Category:** Development
**Created:** [October 29, 2024, 7:43am UTC](https://discourse.paraview.org/t/building-salome-from-github-on-top-of-paraview-5-11-2/15652 "2024-10-29T07:43:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Trophime](https://discourse.paraview.org/user_avatar/discourse.paraview.org/trophime/32/966_2.png) [@Trophime](https://discourse.paraview.org/u/Trophime)
#### Post date: [October 29, 2024, 7:43am UTC](https://discourse.paraview.org/t/building-salome-from-github-on-top-of-paraview-5-11-2/15652/1 "2024-10-29T07:43:49Z")

</div>

Hi, trying to rebuild Salome from scratch on Debian/Trixie I run into an issue with cmake when configuring GUI module:

```auto
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/TBB/TBBTargets.cmake:42 (message):
  Some (but not all) targets in this export set were already defined.

  Targets Defined: TBB::tbb, TBB::tbbmalloc, TBB::tbbmalloc_proxy

  Targets not yet defined: TBB::tbbbind_2_5

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/TBB/TBBConfig.cmake:1 (include)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/vtk/FindTBB.cmake:87 (find_package)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/vtk/VTK-vtk-module-find-packages.cmake:961 (find_package)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/vtk/vtk-config.cmake:152 (include)
  /home/feelpp/salome/SALOME-master-native-DBn/a/INSTALL/ParaView/lib/cmake/paraview-5.11/paraview-config.cmake:66 (find_package)
  /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:435 (FIND_PACKAGE)
  /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/CONFIGURATION/cmake/SalomeMacros.cmake:543 (SALOME_FIND_PACKAGE)
  /home/feelpp/salome/SALOME-master-native-DBn/a/SOURCES/CONFIGURATION/cmake/FindSalomeParaView.cmake:31 (SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS)
  CMakeLists.txt:195 (FIND_PACKAGE)

```

It seems like a known issue but I cannot find the patches to apply to fix this.  
Could you point me to the paraview version that fixes this or to the patches I have to apply?

Best,  
C

NB: with gcc 14, I had to add cstdint header in the following files to get Catalyst and Paraview to compile:

- catalyst/src/tools/replay/catalyst\_replay.cpp
- ParaView/VTK/ThirdParty/libproj/vtklibproj/src/proj\_json\_streaming\_writer.hpp

---

<div class="post-metadata">

### Author: ![fredp](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/8c91f0/32.png) [@fredp](https://discourse.paraview.org/u/fredp)
#### Post date: [November 22, 2024, 4:48pm UTC](https://discourse.paraview.org/t/building-salome-from-github-on-top-of-paraview-5-11-2/15652/2 "2024-11-22T16:48:09Z")

</div>

Hello,  
You can try the following [patch](https://github.com/SalomePlatform/sat_salome/blob/2b244f1e2223c7daf273f41f2c8fade935f792f3/products/patches/paraview-5.11.0.p012-skip-FindTBB.patch) to build ParaView  
To build SALOME’s GUI you may also need a similar patch for [rkCommon](https://github.com/SalomePlatform/sat_salome/blob/2b244f1e2223c7daf273f41f2c8fade935f792f3/products/patches/rkCommon-1.5.1-skip-FindTBB.patch)

---

<div class="post-metadata">

### Author: ![nabilG](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/n/22d042/32.png) [@nabilG](https://discourse.paraview.org/u/nabilG)
#### Post date: [March 14, 2025, 10:53am UTC](https://discourse.paraview.org/t/building-salome-from-github-on-top-of-paraview-5-11-2/15652/3 "2025-03-14T10:53:29Z")

</div>

Hi Christophe,

we will be happy to integrate any patch for SALOME that you could provide for Debian Trixie.

Regards.
