# Unable to build from source on Ubuntu 18.04

**URL:** <https://discourse.slicer.org/t/unable-to-build-from-source-on-ubuntu-18-04/9470>\
**Category:** Development\
**Created:** [December 11, 2019, 3:41am UTC](https://discourse.slicer.org/t/unable-to-build-from-source-on-ubuntu-18-04/9470 "2019-12-11T03:41:51Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![aamesAtTanzle](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aamesattanzle/32/5415_2.png) [@aamesAtTanzle](https://discourse.slicer.org/u/aamesAtTanzle)\
**Post date:** [December 11, 2019, 6:36pm UTC](https://discourse.slicer.org/t/unable-to-build-from-source-on-ubuntu-18-04/9470/7 "2019-12-11T18:36:05Z")

</div>

That appears to be the case. I can find all of the VTK libs here:

`Slicer/.build/VTK-build/lib/libvtk ****** `

I loosely followed these instructions: [https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627](https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627)

In summary:

```
sudo apt install qtcreator qtdeclarative5-dev qtmultimedia5-dev qtbase5-private-dev libqt5xmlpatterns5-dev libqt5svg5-dev libqt5webenginewidgets5 qtwebengine5-dev qtscript5-dev qttools5-dev libxt-dev libqt5x11extras5-dev
sudo apt install git cmake
git clone --recursive https://github.com/Slicer/Slicer.git
cd Slicer
mkdir .build
cd .build
cmake -DQt5_DIR=/usr/lib/qt5 -DCMAKE_BUILD_TYPE:STRING=Debug -DSlicer_USE_PYTHONQT_WITH_TCL:BOOL=OFF -DSlicer_USE_SimpleITK:BOOL=OFF -DSlicer_USE_QtTesting:BOOL=OFF -DSlicer_BUILD_DataStore:BOOL=OFF -DSlicer_USE_SYSTEM_QT:BOOL=1 …/
make

```

I also applied the workaround at the bottom of that thread for fixing the system curl and OpenSSL.

Thank you so much for your time.

---

_[View the full topic](https://discourse.slicer.org/t/unable-to-build-from-source-on-ubuntu-18-04/9470)._
