The Macally iceKEY is an ultra slim USB keyboard. It features enhanced Scissor-Key-Switches for thin keycaps with sensitive and responsive touch. It has built-in USB ports on both sides. And it has an ice white finish to complement your Mac.
The prerequisites listed below are required to be able to configure/build/package/test Slicer.
qtscript
and qtwebengine
components.CMAKE_OSX_DEPLOYMENT_TARGET
CMake variable specifies the minimum macOS version a generated installer may target. So it should be equal to or less than the version of SDK you are building on. Note that the SDK version is set using CMAKE_OSX_SYSROOT
CMake variable automatically initialized during CMake configuration.Notes:
sourcedirectory
and the builddirectory
./opt/s
has been confirmed to work on macOS.Check out the code using git
:
The Slicer
directory is automatically created after cloning Slicer.
CMAKE_BUILD_TYPE
is set to Debug
(replace /path/to/Qt
with the real path on your machine where QtSDK is located):usingQtfromthesystem
, do not forget to add the following CMake variable to your configuration command line: -DSlicer_USE_SYSTEM_QT:BOOL=ON
cmake
, you can use ccmake
or cmake-gui
to visually inspect and edit configure options./opt/sr
for Release or /opt/s
for Debug is recommended. If /opt
does not exist on your machine you need to use sudo for mkdir
and chown
in /opt
.Two projects are generated by either cmake
, ccmake
or cmake-gui
. One of them is in the top-level bin directory /opt/s
and the other one is in the subdirectory Slicer-build
:
/opt/s
manages all the external dependencies of Slicer (VTK, ITK, Python, …). To build Slicer for the first time, run make
in /opt/s
, which will update and build the external libraries and if successful will then build the subproject Slicer-build
./opt/s/Slicer-build
is the “traditional” build directory of Slicer. After local changes in Slicer (or after an git update on the source directory of Slicer), only running make
in /opt/s/Slicer-build
is necessary (the external libraries are considered built and up to date).Warning: An significant amount of disk space is required to compile Slicer in Debug mode (>20GB)
Warning: Some firewalls will block the git protocol. See more information and solution here.
After configuration, start the build process in the /opt/s
directory
sysctl-nhw.ncpu
):Start a terminal and type the following:
After building, run the tests in the /opt/s/Slicer-build
directory.
Start a terminal and type the following (you can replace 4 by the number of processor cores in the computer):
Warning: Slicer will only create a valid package that will run on machines other than it’s built on if Qt was built from source.
Start a terminal and type the following:
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. To debug the error you can pipe the output of the make command to an external log file like this:
In some cases when the build fails without explicitly stating what went wrong it’s useful to look at error logs created during building of individual packages bundled with Slicer. Running the following command in the /opt/s
folder
will list such error logs in ordered by the time of latest access. The log that was accessed the last will be the lowest one in the list.
If the XCode command line tools are not properly set up on macOS, PCRE could fail to build in the Superbuild process with the errors like below:
To install XCode command line tools, use the following command from the terminal:
Path the build folder is too long. For example building Slicer in /User/somebody/projects/something/dev/slicer/slicer-qt5-rel
may fail with malformed mach-o error, while it succeeds in /opt/s
folder. To resolve this error, move the build folder to a location with shorter full path and restart the build from scratch (the build tree is not relocatable).
If an error like
is present during packaging - doublecheck that Slicer was built with Qt that was built from source and not Qt that was installed from a web-installer or homebrew.
If a packaged Slicer is launched on another mac and it crashes with the error log saying that
It means that libarchive
has has found homebrew versions of some of it’s requirements, rather than local ones. For the packaged version of Slicer to run on other machines none of the prerequisites should be installed via homebrew. For example lz4
and zstd
are bundled with subversion
and rsync
so if you have these two application installed via homebrew, libarchive
will grab them from /usr/local/opt/
and the packaged Slicer will not run on other machines. The solution is either to remove them from from homebrew with brewremovelz4
and brewremovezsdt
or to change the $PATH
so that the local build folder goes before /usr/local/opt/
. After doing this Slicer should be rebuilt and repackaged.See Relevant issue that’s tracking this error
See list of issues common to all operating systems on Common errors page.
Is your Mac up to date with the latest version of the Mac operating system? Is it using the version required by a product that you want to use with your Mac? Which versions are earlier (older) or later (newer, more recent)? To find out, learn which version is installed now.
If your macOS isn't up to date, you may be able to update to a later version.
From the Apple menu in the corner of your screen, choose About This Mac. You should see the macOS name, such as macOS Big Sur, followed by its version number. If you need to know the build number as well, click the version number to see it.
These are all Mac operating systems, starting with the most recent. When a major new macOS is released, it gets a new name, such as macOS Big Sur. As updates that change the macOS version number become available, this article is updated to show the latest version of that macOS.
If your Mac is using an earlier version of any Mac operating system, you should install the latest Apple software updates, which can include important security updates and updates for the apps that are installed by macOS, such as Safari, Books, Messages, Mail, Music, Calendar, and Photos.
macOS | Latest version |
---|---|
macOS Big Sur | 11.3 |
macOS Catalina | 10.15.7 |
macOS Mojave | 10.14.6 |
macOS High Sierra | 10.13.6 |
macOS Sierra | 10.12.6 |
OS X El Capitan | 10.11.6 |
OS X Yosemite | 10.10.5 |
OS X Mavericks | 10.9.5 |
OS X Mountain Lion | 10.8.5 |
OS X Lion | 10.7.5 |
Mac OS X Snow Leopard | 10.6.8 |
Mac OS X Leopard | 10.5.8 |
Mac OS X Tiger | 10.4.11 |
Mac OS X Panther | 10.3.9 |
Mac OS X Jaguar | 10.2.8 |
Mac OS X Puma | 10.1.5 |
Mac OS X Cheetah | 10.0.4 |