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

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

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 :wink:
help me please someone who know this error… thank you !

Oh, the other libs are successfully constructed without slicer lib

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

1 Like