Build Error: Custom Module Appears in App but Build Exits with Code 1 (Slicer.rule and .rule Files)

software
Thu, 19 Jun 2025 13:50:05 +0000
Support

After integrating the custom modules into my Slicer-based application, I’m now getting the following error during the build process:

Custom build for ‘E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-mkdir.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-download.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-update.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-patch.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-configure.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-build.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-forceconfigure.rule;E:\Safe\build\CMakeFiles\467e983c5e5c61d75f97be2c5e12c91e\Slicer-install.rule;E:\Safe\build\CMakeFiles\a4776f2d8ebb7610c206d34e471bef41\Slicer-complete.rule;E:\Safe\build\CMakeFiles\aa031ac59c12a6e617a2dfdd12069198\Slicer.rule;E:\Safe\build\slicersources-src\CMakeLists.txt’ exited with code 1.

The custom module does appear correctly in the application after build, but this error shows up every time. Could you please suggest what might be causing this or how I can debug it?

Thank you!

1 post - 1 participant