Slicer is compiled through the tools cmake, VS2022 on the Win10 platform, and the compiled project can be directly developed on other Windows 10 platforms? If so, how do you need to configure it?

Operating system:window10.
Slicer version:The most recent version of slicer.
Expected behavior:The slicer compiled by the tool can be developed on the Win10 platform.
Actual behavior:The slicer compiled by the tool has a path problem and cannot be developed on other platforms.

What was the path problem you observed?

Here are the build instructions including the recommended source and build directory paths to avoid errors:

https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/windows.html#set-up-source-and-build-folders

1 Like

Thank you very much for your reply, I believe it will be of great help in the next compilation process.