# Slicer build error on Ubuntu

**URL:** <https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108>\
**Category:** Development\
**Created:** [February 18, 2018, 2:03pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108 "2018-02-18T14:03:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AhmadHossam10](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ahmadhossam10/32/1246_2.png) [@AhmadHossam10](https://discourse.slicer.org/u/AhmadHossam10)\
**Post date:** [February 18, 2018, 2:03pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/1 "2018-02-18T14:03:54Z")

</div>

Operating system: Ubuntu 17.10.1  
Slicer version: latest version  
Expected behavior: build successful  
Actual behavior: build failed

I contacted you before with my problem with ubuntu 17.10 and you fixed it after I cloned your new version. I encountered this problem while building the slicer and I have no solution for it

 ![Screenshot%20from%202018-02-18%2002-20-23](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/d/1dd3beb79c60da296eaee03250bddf48637fff3d.png) ![Screenshot%20from%202018-02-18%2002-21-24](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/4/8446cb5f45d1d4ea9213341cfff49b77b77d16dd.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 18, 2018, 2:05pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/2 "2018-02-18T14:05:53Z")

</div>

This seems to be a duplicate of this post:

> [@3D Slicer Build Error with GCC 7 on Ubuntu 17.04](https://discourse.slicer.org/t/3d-slicer-build-error-with-gcc-7-on-ubuntu-17-04/2082/19):
>
> Everything is fixed except for an error in simpleITK there’s a file that’s not found. Would you please solve this issue ?

---

<div class="post-metadata">

**Author:** ![AhmadHossam10](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ahmadhossam10/32/1246_2.png) [@AhmadHossam10](https://discourse.slicer.org/u/AhmadHossam10)\
**Post date:** [February 18, 2018, 2:08pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/3 "2018-02-18T14:08:01Z")

</div>

yes i want any help because I have been trying for so many times

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 18, 2018, 2:13pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/4 "2018-02-18T14:13:15Z")

</div>

This seems to be a common error, unrelated to Slicer. Do a Google search for solutions. For example:

[https://sourceforge.net/p/pythonqt/discussion/631393/thread/69eb9ccb/](https://sourceforge.net/p/pythonqt/discussion/631393/thread/69eb9ccb/)

---

<div class="post-metadata">

**Author:** ![AhmadHossam10](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ahmadhossam10/32/1246_2.png) [@AhmadHossam10](https://discourse.slicer.org/u/AhmadHossam10)\
**Post date:** [February 18, 2018, 2:18pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/5 "2018-02-18T14:18:28Z")

</div>

okay I will try thanks

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [February 18, 2018, 2:36pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/6 "2018-02-18T14:36:54Z")

</div>

You could install qtbase5-private-dev, the missing file is part of this package.

Sidenote : you can redirect error messages to a text file and copy/paste the relevant part in blockquote, rather than uploading screenshots, it’s hard to read.

Example for an error log file with timestamp :  
make -j4 2\> $HOME/tmp/slicer\_build\_$(date +%F\_%H%M%S).log

---

<div class="post-metadata">

**Author:** ![AhmadHossam10](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ahmadhossam10/32/1246_2.png) [@AhmadHossam10](https://discourse.slicer.org/u/AhmadHossam10)\
**Post date:** [February 18, 2018, 2:55pm UTC](https://discourse.slicer.org/t/slicer-build-error-on-ubuntu/2108/7 "2018-02-18T14:55:21Z")

</div>

I will try thanks very much
