# I have a trouble with building error MSB8066 , can you help me please?

**URL:** https://discourse.slicer.org/t/i-have-a-trouble-with-building-error-msb8066-can-you-help-me-please/25432
**Category:** Support
**Tags:** build
**Created:** [September 26, 2022, 3:47am UTC](https://discourse.slicer.org/t/i-have-a-trouble-with-building-error-msb8066-can-you-help-me-please/25432 "2022-09-26T03:47:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![clackch](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/clackch/32/16705_2.png) [@clackch](https://discourse.slicer.org/u/clackch)
#### Post date: [September 26, 2022, 3:47am UTC](https://discourse.slicer.org/t/i-have-a-trouble-with-building-error-msb8066-can-you-help-me-please/25432/1 "2022-09-26T03:47:25Z")

</div>

VS : 2022 17  
Cmake : 3.23.3  
3d slicer : lastest (26.09.2022 at github)  
Qt : 5.15.2  
Release

```auto
MSB8065	"C:\D\S4R\Slicer_BUILD\CTK-build\CMakeFiles\2f17416e874ad1f2a4f8e7019ffe3132\CTK-configure.rule" 항목에 대한 사용자 지정 빌드에 성공했지만 지정한 출력 "c:\d\s4r\slicer_build\ctk-build\ctk-prefix\src\ctk-stamp\release\ctk-configure"is not created. Incremental Build could not work correctly from this error

[C:\D\S4R\Slicer_BUILD\CTK-build\CTK.vcxproj]	CTK	C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets	247	
경고	MSB8064	"C:\D\S4R\Slicer_BUILD\CTK-build\CMakeFiles\2f17416e874ad1f2a4f8e7019ffe3132\CTK-build.rule" 항목에 대한 사용자 지정 빌드에 성공했지만 지정한 종속성 "c:\d\s4r\slicer_build\ctk-build\ctk-prefix\src\ctk-stamp\release\ctk-configure"is not exist. Incremental Build could not work correctly from this error

[C:\D\S4R\Slicer_BUILD\CTK-build\CTK.vcxproj]	CTK	C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets	247	
경고 sphinx-build not found: Python documentation will not be created	Slicer	C:\D\S4R\Slicer_BUILD\CUSTOMBUILD	1	

above all Warnings, 

next one is erorr 
-> error MSB8066
'C:\D\S4R\Slicer_BUILD\CMakeFiles\7dc31b6ab96d1080ca2b4d8d149cb3e8\Slicer-configure.rule;C:\D\S4R\Slicer_BUILD\CMakeFiles\7dc31b6ab96d1080ca2b4d8d149cb3e8\Slicer-build.rule;C:\D\S4R\Slicer_BUILD\CMakeFiles\7dc31b6ab96d1080ca2b4d8d149cb3e8\Slicer-forceconfigure.rule;C:\D\S4R\Slicer_BUILD\CMakeFiles\7dc31b6ab96d1080ca2b4d8d149cb3e8\Slicer-install.rule;C:\D\S4R\Slicer_BUILD\CMakeFiles\e75765485e92c28d4a09b8bb403d6889\Slicer-complete.rule;C:\D\S4R\Slicer_BUILD\CMakeFiles\97d39e23b0fa6e15cfd5c11e8080f82e\Slicer.rule;C:\D\S4\Slicer_SOURCE\CMakeLists.txt' the build is quited (code 1).	Slicer	C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets	247	

```

I have searched this error with someone who has same error in 3d slicer forum, but I cannot solve this problem 😉  
help me please someone who know this error… thank you !

Oh, the other libs are successfully constructed without slicer lib

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/7/57471ddaa164dfa670c77b587794e7a009abb16b.png)

---

<div class="post-metadata">

### Author: ![clackch](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/clackch/32/16705_2.png) [@clackch](https://discourse.slicer.org/u/clackch)
#### Post date: [September 28, 2022, 5:41am UTC](https://discourse.slicer.org/t/i-have-a-trouble-with-building-error-msb8066-can-you-help-me-please/25432/2 "2022-09-28T05:41:59Z")

</div>

3d slicer patched after 28 SEP 2022, the problem is solved.
