Documentation/Nightly/Developers/Build Instructions/Compile
For the latest Slicer documentation, visit the read-the-docs. |
BUILD Slicer
After configuration, start the build process in the Slicer-SuperBuild
directory
Linux or MacOSX (Makefile) | Windows (Visual Studio) |
---|---|
Start a terminal. $ cd ~/Projects/Slicer-SuperBuild $ make -j<NUMBEROFCORES> In case of file download hash mismatch error, you need to acquire the latest wget, and build cmake with OpenSSL turned on. For more information, see here and here When using the -j option, the build will continue past the source of the first error. If the build fails and you don't see what failed, rebuild without the -j option. Or, to speed up this process build first with the -j and -k options and then run plain make. The -k option will make the build keep going so that any code that can be compiled independent of the error will be completed and the second make will reach the error condition more efficiently. |
Start Windows Explorer. Need help?
If you make local changes to Slicer, open the solution file located in the directory |