You can download the precompiled binaries here and skip to the next section, however such a version may be not optimized for your machine.
Conversely, if you want a version of GURLS++ and bGURLS++ optimized for your machine, follow the steps described in the rest of the section.
GURLS++ and bGURLS++ are part of the same project, called gurls. Users may choose what libraries will be built during project configuration (See section Configuring GURLS++/bGURLS++ for details).In the following we assume that the directory where 'gurls++' and 'bgurls++' directories reside is named GURLSROOT.
Below we describe how to build and install GURLS++ on Ubuntu (tested on Ubuntu 12.04). For other distributions, the same packages must be installed with the distribution-specific method.
1. Install the cmake build system (www.cmake.org/)
2. To link against some Blas and Lapack implementations you may need a fortran compiler e.g. for gfortran:
If your workflow involves working with InDesign libraries (.indl) files stored on a network or in a shared location, InDesign crashes on launch. The Library folder is hidden by default. To open the Library folder, click the desktop to make sure you are in the Finder, hold down the Option key, then. Mar 10, 2019 While there are options to keep your Mac from running out of space, like optimizing your photo storage if you use iCloud Photo Library, it comes at a cost: Without a fully-stored Photos library, you won't be able to create secondary backups of your images and video. (And as good as iCloud has become, your photos and video are precious enough. Jul 01, 2013 Depending on the choice you make, CMake will try to find the libraries in standard locations in the system. Normally this process should run fine, however, in case the libraries have been installed in some non-standard directory, you may have to manually specify their location. Where are the photos I imported into Photos on my Mac? By default, the photos and videos you import into Photos are stored in the Photos library in the Pictures folder on your Mac. When you first use Photos, you create a new library or select the library that you want to use. This library automatically becomes your System Photo Library. AppleScript Libraries are installed and made available for use by AppleScript scripts, by placing their files within a folder titled: “Script Libraries”. A Script Libraries folder can reside in a variety of locations, depending on how you want to define their availability on the computer.
3. Create a build directory (e.g. 'build') for GURLS++
4. Run cmake into the build directory
The last command will show the CMake interface, which must be used to set the values of some variables used for building and installing GURLS++. See the section Configuring GURLS++/bGURLS++ below for more information on these variables and how to set them to appropriate values.
5. Start building
6. Install the library(ies) to the path defined at configuration time
The command wil also install to the same path all the dependencies that user chose tobuild automatically.
Below we describe how to build and install GURLS++ on Windows with Visual Studio (tested with VS Express 2010 and VS Express 2008).
CMAKE_INSTALL_PREFIX
. If this is not the case, change such a variable to a folder to which you have writing rights and press 'configure'. Now you have to set the values of some variables used for building and installing the libraries according to your preferences. See the section Configuring GURLS++/bGURLS++ below for more information on these variables and how to set them to appropriate values. After having configured the build options, press the generate button to create the solution file.The configuration step is carried out using CMake.In the following we describe the configuration process using the GUI of CMake, e.g. under Windows or Mac.A similar process shall be followed when using the command-line interface.
CMAKE_INSTALL_PREFIX
The path where the library will be installed to;GURLS_BUILD_GURLSPP (ON)
: Build GURLS++.If set to ON CMake also evaluates the variablesGURLSPP_BUILD_DEMO (ON)
: Enable the building of the GURLS++demo programs;GURLSPP_BUILD_DOC (OFF)
: Enable the building of the GURLS++documentation using doxygen;GURLS_BUILD_BGURLSPP (ON)
: Build bGURLS++. If set to ON
CMake also evaluates the variablesBGURLSPP_BUILD_DEMO (OFF)
: Enable the building of the BGURLS++demo programs;BGURLSPP_BUILD_DOC (OFF)
: Enable the building of the BGURLS++documentation using doxygen;GURLS_USE_BINARY_ARCHIVES (ON)
: If set to ON
, all data structures are stored in binary (rather than text) files, saving storage space and time;GURLS_USE_EXTERNALS (ON)
: Enable automatic building of external dependencies. ON
CMake also evaluates the variablesGURLS_USE_EXTERNAL_BLAS_LAPACK (ON)
: Enable automatic building of blas and lapack, using OpenBLAS (LINUX-ONLY).GURLS_USE_EXTERNAL_BOOST (ON)
: Enable automatic building of boost. If set to OFF
, press 'advanced' to visualize the variables related to the BOOST library, typically you have to specify only the variable BOOST_INCLUDE_DIR
;GURLS_USE_EXTERNAL_HDF5 (OFF)
: Enable automatic building of libHDF5 and its dependencies(MPICH and zlib). Used only if GURLS_BUILD_BGURLSPP
is set to ON
.OFF
, you must specify the path to the corresponding library. GURLS_USE_EXTERNALS
is set to OFF
you have to manually specify the path to all of the above libraries. 4. In the main screen you may change a number of variables. Most of them can be left unchanged, but some must be set to appropriate values. The following are the variables whose values should be checked:
BLAS_LAPACK_IMPLEMENTATION
. Allows user to specify an implementation of the Blas/Lapack routines. Available choices are: ACML, ATLAS, MKL, NETLIB, OPENBLAS
(under linux). Depending on the choice you make, CMake will try to find the libraries in standard locations in the system. Normally this process should run fine, however, in case the libraries have been installed in some non-standard directory, you may have to manually specify their location.6. When the settings are correct, the option ’generate’ will appear. Press 'generate'. CMake will generate the files and exit.
After the build files (e.g. the Makefile under Linux) have been generated, you can proceed as explained above.
Apple's photo management software for the Mac, Photos, has grown to be a fairly competent all-purpose storage locker. But as your photo and video library grows — and especially if you've taken advantage of iCloud Photo Library — you may find that your Photos library strains to fit on your Mac's hard drive.
While there are options to keep your Mac from running out of space, like optimizing your photo storage if you use iCloud Photo Library, it comes at a cost: Without a fully-stored Photos library, you won't be able to create secondary backups of your images and video. (And as good as iCloud has become, your photos and video are precious enough that they're worth keeping backed up in multiple places.)
There is an alternative: Moving your Photos library to an external drive (or creating an entirely separate library and syncing it with iCloud). Here's how to do it, and some reasons why you should — and shouldn't! — consider it for your needs.
There are a number of reasons why an external drive might make sense when you're working with Photos for Mac:
That said, there are some downsides, too. Here are some reasons you might not want to use an external drive:
Okay, so you've decided to move your Photos library over to an external drive. What next? If you already have an external drive, you can always use it for storing your Photos library (and save on cash). But if you're considering getting a new drive for this endeavor, here's what I suggest:
Want some recommendations for specific external hard drives? We've got those, too.
As with creating a new library, moving your library to your external drive is a multi-step process. Here's how to go about it.
Open a new Finder window. Don't close your previous window (open to your external drive), as you'll need it shortly.
Drag it to your external drive in the other Finder window.
Your library will begin to copy over to your external drive. Depending on the size of your library and speed of your drive, this can take anywhere from a few minutes to several hours, so be patient. Don't unplug your drive or turn off your computer during this process.
Before you open your copied Photos library on the external drive, you have to disassociate the library on your Mac from iCloud. (If you don't use iCloud Photo Library, you can skip these steps.)
Uncheck iCloud Photo Library.
Quit Photos.
Now, it's time to make your newly-copied Photos library your system default.
Click Use as System Photo Library.
Your external library is now set up to be your system default, but it's not currently connected to iCloud. If you use iCloud Photo Library and want to keep that connection active so that you can continually download items you've stored, read on. (Otherwise, you can skip this step.)
Click on the iCloud tab.
Once your library has fully synced and downloaded images, you can disconnect your drive; whenever you want to use your Photos library, you now need to connect your drive to your Mac.
A personal plea: Please, please, please make sure your library is fully copied and working on your external drive before you follow the steps below — once you've thrown away your original library, it's gone!
Select your old library.
Rename the alias to remove the 'alias' part of its name.
Now you have a direct link to your copied Photos library from the Pictures folder: This prevents your computer from accidentally creating multiple Photos libraries in case you forget to launch Photos with your external drive connected.
Note: If you're worried about accidentally creating libraries, you can always launch Photos by option-clicking on its icon in the Dock or Applications folder; this will give you the option of picking which library you'd like to launch.
Creating a new library on your external drive is a multi-step process. Here's how to go about it.
Before you create a new Photos library, you have to disassociate your current library as your system default. (If you don't use iCloud Photo Library, you can skip these steps.)
Click on the iCloud tab.
Quit Photos.
Once you've done this, it's time to create a new library.
Name your library.
You'll now have an empty library on your external drive. Next up: Making it your system library.
Click Use as System Photo Library.
Your external library has now been set up from scratch. If you use iCloud Photo Library and want to download all the items you've stored there to have an external backup, read on. (Otherwise, you can skip this step.)
Click on the iCloud tab.
Once your library has fully synced and downloaded images, you can disconnect your drive; whenever you want to use your Photos library, you now need to connect your drive to your Mac.
A personal plea: Please, please, please make sure your new library is live and working on your external drive before you follow the steps below — once you've thrown away your original library, it's gone!
Select your old library.
Select Make Alias.
Now you have a direct link to your Photos library from the Pictures folder: This prevents your computer from accidentally creating multiple Photos libraries in case you forget to launch Photos with your external drive connected.
Note: If you're worried about accidentally creating libraries, you can always launch Photos by option-clicking on its icon in the Dock or Applications folder; this will give you the option of picking which library you'd like to launch.
Let us know in the comments.
Dec 12, 2016 From the Finder of Mac OS, pull down the “Go” menu and hold down the SHIFT key Choose “Library” from the drop down list You can also hit Command+Shift+L from the MacOS Finder to immediately jump to the /Library directory of the active user account. Mac os x download.
Updated March 2019: Updated for macOS Mojave.
Serenity Caldwell contributed to an earlier version of this post.
Apple's latest YouTube video knows just how to tug at the heartstrings.