# Build error with ubuntu1804 with slicer code on master branch

**URL:** <https://discourse.slicer.org/t/build-error-with-ubuntu1804-with-slicer-code-on-master-branch/8085>\
**Category:** Support\
**Tags:** build\
**Created:** [August 19, 2019, 7:31am UTC](https://discourse.slicer.org/t/build-error-with-ubuntu1804-with-slicer-code-on-master-branch/8085 "2019-08-19T07:31:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenray844](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@chenray844](https://discourse.slicer.org/u/chenray844)\
**Post date:** [August 19, 2019, 7:31am UTC](https://discourse.slicer.org/t/build-error-with-ubuntu1804-with-slicer-code-on-master-branch/8085/1 "2019-08-19T07:31:32Z")

</div>

In file included from /home/chenrf/Projects/medical/slicer/build/ITK-build/Modules/ThirdParty/HDF5/src/itkhdf5/shared/H5Tinit.c:82:0:  
/home/chenrf/Projects/medical/slicer/build/ITK/Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Tpkg.h:23:2: error: #error “Do not include this file outside the H5T package!”  
#error “Do not include this file outside the H5T package!”  
^ ~~~~  
Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-shared.dir/build.make:3944: recipe for target 'Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-shared.dir/**/shared/H5Tinit.c.o’ failed  
make[5]: \*\*\* [Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-shared.dir/**/shared/H5Tinit.c.o] Error 1  
CMakeFiles/Makefile2:6965: recipe for target ‘Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-shared.dir/all’ failed  
make[4]: \*\*\* [Modules/ThirdParty/HDF5/src/itkhdf5/src/CMakeFiles/hdf5-shared.dir/all] Error 2  
make[4]: \*\*\* Waiting for unfinished jobs…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/2/02c88470e7a55ba6fedea6b89022c9e8230e48f9.png)

@all

What can I do to fit this build ITK error?

---

<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:** [August 23, 2019, 6:24pm UTC](https://discourse.slicer.org/t/build-error-with-ubuntu1804-with-slicer-code-on-master-branch/8085/2 "2019-08-23T18:24:35Z")

</div>

A post was merged into an existing topic: [Build error with itk on ubuntu1804](https://discourse.slicer.org/t/build-error-with-itk-on-ubuntu1804/8107)

---

<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:** [August 23, 2019, 6:24pm UTC](https://discourse.slicer.org/t/build-error-with-ubuntu1804-with-slicer-code-on-master-branch/8085/3 "2019-08-23T18:24:36Z")

</div>


