# Slicer FTBFS Debian testing

**URL:** https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058
**Category:** Development
**Created:** [February 10, 2018, 5:38am UTC](https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058 "2018-02-10T05:38:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [February 10, 2018, 5:38am UTC](https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058/1 "2018-02-10T05:38:18Z")

</div>

Hello slicers,  
Slicer FTBFS debian testing with default options. Default settings need updating?  
Thanks!  
Greg

[46%] Performing build step for ‘DCMTK’  
[0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd.dir/ofchrenc.cc.o  
In file included from /usr/include/c++/7/cstdint:35:0,  
from /home/gsharp/build/slicer-4/Slicer-build/DCMTK/ofstd/include/dcmtk/ofstd/ofstdinc.h:279,  
from /home/gsharp/build/slicer-4/Slicer-build/DCMTK/ofstd/include/dcmtk/ofstd/oftypes.h:74,  
from /home/gsharp/build/slicer-4/Slicer-build/DCMTK/ofstd/include/dcmtk/ofstd/ofcond.h:28,  
from /home/gsharp/build/slicer-4/Slicer-build/DCMTK/ofstd/include/dcmtk/ofstd/ofchrenc.h:28,  
from /home/gsharp/build/slicer-4/Slicer-build/DCMTK/ofstd/libsrc/ofchrenc.cc:25:  
/usr/include/c++/7/bits/c++0x\_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.  
#error This file requires compiler and library support   
^ ~~~~

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [February 10, 2018, 5:40am UTC](https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058/2 "2018-02-10T05:40:26Z")

</div>

PS: This is the double-edged sword of requiring slicer-specific versions instead of using debian-supplied. FWIW.

---

<div class="post-metadata">

### Author: ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)
#### Post date: [February 10, 2018, 11:56am UTC](https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058/3 "2018-02-10T11:56:29Z")

</div>

The [defaults](https://github.com/Slicer/Slicer/blob/master/CMakeLists.txt#L8-L17) have not been changed yet, so you probably still need to pass `Qt5_DIR` to get the C++11 build configuration. See:

[https://www.slicer.org/wiki/Documentation/Labs/Qt5-and-VTK8#Status](https://www.slicer.org/wiki/Documentation/Labs/Qt5-and-VTK8#Status)

---

<div class="post-metadata">

### Author: ![gcsharp](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gcsharp/32/863_2.png) [@gcsharp](https://discourse.slicer.org/u/gcsharp)
#### Post date: [February 11, 2018, 3:53am UTC](https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058/4 "2018-02-11T03:53:52Z")

</div>

As always Isaiah, you are correct. Thanks!!

Please forgive my grumpiness; but I am passionate that packages should build from source without setting options.

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [February 11, 2018, 6:38am UTC](https://discourse.slicer.org/t/slicer-ftbfs-debian-testing/2058/5 "2018-02-11T06:38:40Z")

</div>

> [@gcsharp](#):
>
> should build from source without setting options

That will be the case in few days 🙂
