# Build & Install

**URL:** https://discourse.kitware.com/c/smtk/build-install/13.md

[Latest](https://discourse.kitware.com/latest.md) · [Categories](https://discourse.kitware.com/categories.md)

---

## [About the Build & Install category](https://discourse.kitware.com/t/about-the-build-install-category/476)

<div class="topic-metadata">

**Author:** [@kitware-sysadmin](https://discourse.kitware.com/u/kitware-sysadmin)\
**Replies:** 0

</div>

This category is for discussion and questions on building and installing SMTK for use by external applications or for packaging for platform distribution (i.e., distributing SMTK with an operating system or with an exter…

---

## [building cmb on debian with cmake and ninja](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507)

<div class="topic-metadata">

**Author:** [@yedigei](https://discourse.kitware.com/u/yedigei)\
**Replies:** 1\
**Last updated:** [June 4, 2025, 10:58am UTC](https://discourse.kitware.com/t/building-cmb-on-debian-with-cmake-and-ninja/1507 "2025-06-04T10:58:43Z")

</div>

I used to follow the instructions in https://gitlab.kitware.com/cmb/cmb-superbuild but both ccmake and make-gui fall on configuration with errors. Here’s the output of ccmake Building projects: cmb, cmbusersguide, py…

---

## [Building Debug on Window](https://discourse.kitware.com/t/building-debug-on-window/770)

<div class="topic-metadata">

**Author:** [@Stan\_Hammon](https://discourse.kitware.com/u/Stan_Hammon)\
**Replies:** 3\
**Last updated:** [February 16, 2022, 5:56pm UTC](https://discourse.kitware.com/t/building-debug-on-window/770 "2022-02-16T17:56:38Z")

</div>

General Setting My goal is to build smtk (and later, cmb) in Debug. The problem is that cmb-superbuild does not allow Debug builds. To work around this limitation, I want to build cmb-superbuild in RelWithDebugInfo, wh…

---

## [Building on Windows](https://discourse.kitware.com/t/building-on-windows/748)

<div class="topic-metadata">

**Author:** [@Stan\_Hammon](https://discourse.kitware.com/u/Stan_Hammon)\
**Replies:** 2\
**Last updated:** [December 27, 2021, 9:15pm UTC](https://discourse.kitware.com/t/building-on-windows/748 "2021-12-27T21:15:14Z")

</div>

This is intended to be a guide for building the sequence of cmb-superbuild, smtk, and cmb on Windows. In Windows, you are limited to build Release or RelWithDebInfo (Release with Debug Info). CMake will not configure e…

---

## [sbt file changes and rebuild?](https://discourse.kitware.com/t/sbt-file-changes-and-rebuild/415)

<div class="topic-metadata">

**Author:** [@aron.helser](https://discourse.kitware.com/u/aron.helser)\
**Replies:** 10\
**Last updated:** [March 9, 2020, 8:35pm UTC](https://discourse.kitware.com/t/sbt-file-changes-and-rebuild/415 "2020-03-09T20:35:46Z")

</div>

I’m adding an operation to aeva-session, and I’m changing the associated .sbt file. If I just rebuild with ninja, the changes are not picked up - I have to explicitly run cmake . for my changes to the .sbt to be included…

---

## [CMB PostProcessing plugin changed?](https://discourse.kitware.com/t/cmb-postprocessing-plugin-changed/408)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 4\
**Last updated:** [March 4, 2020, 7:54pm UTC](https://discourse.kitware.com/t/cmb-postprocessing-plugin-changed/408 "2020-03-04T19:54:19Z")

</div>

Did something change in the last week affecting this plugin? CMB on linux (Ubuntu) now builds a static library at lib/cmbPostProcessingModePlugin.a instead of the shared object under lib/cmb-6.3 I don’t see any changes …

---

## [Windows/Docker build errors with cmb-superbuild:master](https://discourse.kitware.com/t/windows-docker-build-errors-with-cmb-superbuild-master/361)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 44\
**Last updated:** [January 13, 2020, 10:43pm UTC](https://discourse.kitware.com/t/windows-docker-build-errors-with-cmb-superbuild-master/361 "2020-01-13T22:43:23Z")

</div>

I have switched my windows/master build to using docker in order to have a consistent development environment. I will paste my full Dockerfile below, but the basic setup is: Using the kitware/cmb:ci-superbuild-windows1…

---

## [Windows build error with cmb-superbuild:release VS2017](https://discourse.kitware.com/t/windows-build-error-with-cmb-superbuild-release-vs2017/359)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 14\
**Last updated:** [January 10, 2020, 9:16pm UTC](https://discourse.kitware.com/t/windows-build-error-with-cmb-superbuild-release-vs2017/359 "2020-01-10T21:16:28Z")

</div>

Using: current release branch (b6f35848 Thu 05-Dec-2019) default cmake values except USE\_SYSTEM\_qt5, which is set to qt.io 5.12.6 binaries There are 2 separate errors in the configure-remus step. 1. Unable to find t…

---

## [Windows build errors with cmb-superbuild:master VS2019](https://discourse.kitware.com/t/windows-build-errors-with-cmb-superbuild-master-vs2019/358)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 7\
**Last updated:** [December 11, 2019, 5:33pm UTC](https://discourse.kitware.com/t/windows-build-errors-with-cmb-superbuild-master-vs2019/358 "2019-12-11T17:33:15Z")

</div>

There was a recent change to the common superbuild that deleted a file qt.package.cmake, however that file is included by qt5.system.cmake. I’ll paste the console messages below showing the configure error. Can the incl…

---

## [ParaView (vtkm) build issue with windows/vs2017](https://discourse.kitware.com/t/paraview-vtkm-build-issue-with-windows-vs2017/352)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 5\
**Last updated:** [December 5, 2019, 10:23pm UTC](https://discourse.kitware.com/t/paraview-vtkm-build-issue-with-windows-vs2017/352 "2019-12-05T22:23:09Z")

</div>

Using cmb-superbuild:master, a strange error occurred building a third-partly lib, taotuple, under vtkm. The message is that the std::swap function does not take 1 argument. @ben.boeckel can you advise on this? cl : Com…

---

## [Boost issues on windows/VS2017](https://discourse.kitware.com/t/boost-issues-on-windows-vs2017/350)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 3\
**Last updated:** [November 20, 2019, 9:53pm UTC](https://discourse.kitware.com/t/boost-issues-on-windows-vs2017/350 "2019-11-20T21:53:10Z")

</div>

This is an FYI. In addition to requiring the NO\_LZMA option (link), I also had to add a “toolset” option to the boost build command: toolset=msvc-14.1 Otherwise, VS2017 builds the boost the “vc142” version of the boost…

---

## [Boost issue on mac osx with cmb-superbuild master](https://discourse.kitware.com/t/boost-issue-on-mac-osx-with-cmb-superbuild-master/349)

<div class="topic-metadata">

**Author:** [@Haocheng\_Liu](https://discourse.kitware.com/u/Haocheng_Liu)\
**Replies:** 2\
**Last updated:** [November 18, 2019, 8:25pm UTC](https://discourse.kitware.com/t/boost-issue-on-mac-osx-with-cmb-superbuild-master/349 "2019-11-18T20:25:13Z")

</div>

Hi smtk developers， Recently talsoiv - a smtk dashboard osx machine has boost building errors related to lzma library. link I’m experiencing the same issue on my own osx developer machine. Has anyone encounter this pro…

---

## [smtk master build](https://discourse.kitware.com/t/smtk-master-build/340)

<div class="topic-metadata">

**Author:** [@aron.helser](https://discourse.kitware.com/u/aron.helser)\
**Replies:** 7\
**Last updated:** [November 7, 2019, 3:44pm UTC](https://discourse.kitware.com/t/smtk-master-build/340 "2019-11-07T15:44:39Z")

</div>

There is an issue building smtk master this morning: /home/aron.helser/projects/cmb/smtk/src/smtk/extension/paraview/appcomponents/pqSMTKAttributePanel.cxx:34:40: fatal error: vtkSMGlobalPropertiesProxy.h: No such file …

---

## [QFontMetrics change, min now 5.11](https://discourse.kitware.com/t/qfontmetrics-change-min-now-5-11/328)

<div class="topic-metadata">

**Author:** [@aron.helser](https://discourse.kitware.com/u/aron.helser)\
**Replies:** 4\
**Last updated:** [October 23, 2019, 2:08pm UTC](https://discourse.kitware.com/t/qfontmetrics-change-min-now-5-11/328 "2019-10-23T14:08:18Z")

</div>

Just a heads up, probably - the new use QFontMetrics::horizontalAdvance in qtUIManager means the minimum QT version is now 5.11. I bumped into this and thought it was a good FYI… -Aron

---

## [Windows Modelbuilder startup problem, python init](https://discourse.kitware.com/t/windows-modelbuilder-startup-problem-python-init/327)

<div class="topic-metadata">

**Author:** [@aron.helser](https://discourse.kitware.com/u/aron.helser)\
**Replies:** 1\
**Last updated:** [October 3, 2019, 2:27pm UTC](https://discourse.kitware.com/t/windows-modelbuilder-startup-problem-python-init/327 "2019-10-03T14:27:34Z")

</div>

Wondering if anyone has seen this before. I’m building with VS2019, which I don’t think has been done before. I’m seeing a heap-corruption crash in Paths.cxx: std::string Paths::pathToLibraryContainingFunction(void (\*f…

---

## [SMTK and Qt 5.12.0](https://discourse.kitware.com/t/smtk-and-qt-5-12-0/198)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 9\
**Last updated:** [December 11, 2018, 7:33pm UTC](https://discourse.kitware.com/t/smtk-and-qt-5-12-0/198 "2018-12-11T19:33:50Z")

</div>

I have been able to build CMB+SMTK linked to Qt 5.12 on macos 10.14 (mojave) using the Qt binaries from homebrew (i.e., a bottled build). I have not done extensive testing. Dark mode seems to work. However, I did ha…

---

## [SMTK Master cannot find vtkPVClientServer / vtkPVServerManager](https://discourse.kitware.com/t/smtk-master-cannot-find-vtkpvclientserver-vtkpvservermanager/139)

<div class="topic-metadata">

**Author:** [@chart3388](https://discourse.kitware.com/u/chart3388)\
**Replies:** 6\
**Last updated:** [December 4, 2018, 8:37pm UTC](https://discourse.kitware.com/t/smtk-master-cannot-find-vtkpvclientserver-vtkpvservermanager/139 "2018-12-04T20:37:42Z")

</div>

Hi, The latest SMTK master branch fails to build with the following error when compiling against ParaView 5.5 and greater. /usr/bin/ld: cannot find -lvtkPVClientServer /usr/bin/ld: cannot find -lvtkPVServerManager coll…

---

## [SMTK Master - Missing headers](https://discourse.kitware.com/t/smtk-master-missing-headers/145)

<div class="topic-metadata">

**Author:** [@chart3388](https://discourse.kitware.com/u/chart3388)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 5:21pm UTC](https://discourse.kitware.com/t/smtk-master-missing-headers/145 "2018-08-20T17:21:19Z")

</div>

Hey Guys, Latest SMTK Master is missing copying over some headers in their respective CMakeLists.txt. smtk/attribute/Tag.h smtk/attribute/Definition.h smtk/operation/SpecificationOps.h smtk/common/Singleton.h Thank…

---

## [Homebrew on macos](https://discourse.kitware.com/t/homebrew-on-macos/75)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 6\
**Last updated:** [April 16, 2018, 1:00pm UTC](https://discourse.kitware.com/t/homebrew-on-macos/75 "2018-04-16T13:00:04Z")

</div>

It’s come up that homebrew now only provides python3. Unless you have a previous homebrew python 2.7, there’s no way to build SMTK without building your own python. (The macos-provided python will not work due to securit…
