# CIP develop branch build failure on windows and ubuntu(CIP, slicer)

**URL:** <https://discourse.slicer.org/t/cip-develop-branch-build-failure-on-windows-and-ubuntu-cip-slicer/13810>\
**Category:** Development\
**Tags:** build, cip, vtk, github\
**Created:** [October 2, 2020, 1:07am UTC](https://discourse.slicer.org/t/cip-develop-branch-build-failure-on-windows-and-ubuntu-cip-slicer/13810 "2020-10-02T01:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay\_pillai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/akshay_pillai/32/8301_2.png) [@akshay\_pillai](https://discourse.slicer.org/u/akshay_pillai)\
**Post date:** [October 2, 2020, 1:07am UTC](https://discourse.slicer.org/t/cip-develop-branch-build-failure-on-windows-and-ubuntu-cip-slicer/13810/1 "2020-10-02T01:07:55Z")

</div>

Hello,

I have been trying to build CIP on my windows computer with the develop branch. I have tried different versions of cmake including 3.5.2, 3.5, 3.15, and also tried different versions of gcc such as gcc 5.4, 7.4, 8.1. But I have not been able to successfully build it. I have also tried using the ubuntu WSL with ubuntu 18.04, 16.04 also with different cmake and gcc versions. It always keeps erroring out. Please let me know what I can do to solve this. Here is the error that I get:

HEAD is now at 31dc6a08b8 BUG: Ensure VTK\_PYTHON\_SITE\_PACKAGES\_SUFFIX is set in vtkInitializeWrapPython  
Submodule ‘VTK-m’ ([https://gitlab.kitware.com/vtk/vtk-m.git](https://gitlab.kitware.com/vtk/vtk-m.git)) registered for path ‘ThirdParty/vtkm/vtk-m’  
Cloning into ‘C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/vtkm/vtk-m’…  
Updating files: 100% (8/8), done.  
Already on ‘master’  
process\_begin: CreateProcess(NULL, CIPPython-install\Scripts\conda install --yes -c conda-forge nipype==0.12.1, …) failed.  
make (e=2): The system cannot find the file specified.  
make[2]: \*\*\* [CIPPython-prefix/src/CIPPython-stamp/CIPPython-installnipype] Error 2  
make[1]: \*\*\* [CMakeFiles/CIPPython.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
In file included from C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/lzma/vtklzma/src/liblzma/common/common.h:19:0,  
from C:\Users\pilht4\Desktop\CIP\ChestImagingPlatform-build\VTKv8\ThirdParty\lzma\vtklzma\src\liblzma\check\check.h:16,  
from C:\Users\pilht4\Desktop\CIP\ChestImagingPlatform-build\VTKv8\ThirdParty\lzma\vtklzma\src\liblzma\check\check.c:13:  
C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/lzma/vtklzma/src/common/mythread.h:138:33: error: unknown type name ‘sigset\_t’  
mythread\_sigmask(int how, const sigset\_t \*restrict set,  
^  
C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/lzma/vtklzma/src/common/mythread.h:139:3: error: unknown type name ‘sigset\_t’  
sigset\_t \*restrict oset)  
^  
C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/lzma/vtklzma/src/common/mythread.h: In function ‘mythread\_create’:  
C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/lzma/vtklzma/src/common/mythread.h:158:2: error: unknown type name ‘sigset\_t’  
sigset\_t old;  
^  
C:/Users/pilht4/Desktop/CIP/ChestImagingPlatform-build/VTKv8/ThirdParty/lzma/vtklzma/src/common/mythread.h:159:2: error: unknown type name ‘sigset\_t’  
sigset\_t all;  
^  
make[5]: \*\*\* [ThirdParty/lzma/vtklzma/CMakeFiles/vtklzma.dir/src/liblzma/check/check.c.obj] Error 1  
make[4]: \*\*\* [ThirdParty/lzma/vtklzma/CMakeFiles/vtklzma.dir/all] Error 2  
make[4]: \*\*\* Waiting for unfinished jobs…  
CMakeFiles\vtkglew.dir/objects.a(glew.c.obj):glew.c:(.text+0x16ea0): multiple definition of `DllMainCRTStartup’  
C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/…/lib/gcc/x86\_64-w64-mingw32/5.4.0/…/…/…/…/x86\_64-w64-mingw32/lib/…/lib/dllcrt2.o:crtdll.c:(.text+0x3e0): first defined here  
collect2.exe: error: ld returned 1 exit status  
make[5]: \*\*\* [bin/libvtkglew-8.2.dll] Error 1  
make[4]: \*\*\* [ThirdParty/glew/vtkglew/CMakeFiles/vtkglew.dir/all] Error 2  
make[3]: \*\*\* [all] Error 2  
make[2]: \*\*\* [VTKv8-prefix/src/VTKv8-stamp/VTKv8-build] Error 2  
make[1]: \*\*\* [CMakeFiles/VTKv8.dir/all] Error 2  
make: \*\*\* [all] Error 2

Also attached is the cmakeOutputLog.  
[cmakeoutput file](https://github.com/acil-bwh/ChestImagingPlatform/files/5313175/CMakeOutput.log)

Please let me know if there are any solutions to this issue. Any help is appreciated. If anyone has built on windows please let me know what steps to follow. Thank you.

---

<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:** [October 2, 2020, 11:52pm UTC](https://discourse.slicer.org/t/cip-develop-branch-build-failure-on-windows-and-ubuntu-cip-slicer/13810/2 "2020-10-02T23:52:18Z")

</div>

We are switching to a new VTK version and build errors are expected on the master. You can either wait a few days until we resolve the issues or you build master from a few days ago (Sep 29 or so should work).
