How to get MeteoIO on your computer
There are several ways to get MeteoIO:
- as binary packages for your platform;
- as source package, to recompile for your platform;
- as SVN working copy (checkout)
For each release, several packages are prepared for various operating systems (MS Windows, Mac osX, Linux RPM and Linux DEB, Linux TGZ) and distributed in the downloads section of this web site. This is the easiest way to install MeteoIO. On Windows and osX, the installer lets you choose which components you want to install (library itself, plugins, documentation, headers). It also sets up a link to the documentation directory. Please note that different versions of even the same compiler can offer different Application Binary Interfaces (ABI) and therefore a binary packages might be incompatible with your own compiled programs. For example, if you encounter segfaults when trying to run the code example, this should be the case. Then, you have to download a source package and recompile from source.
For each release, the MeteoIO team prepares a source package, distributed in the downloads section of this web site. You have to unpack the archive, enter into it and compile it (see compiling instructions below).
This is mainly for developers who want to work on MeteoIO itself. First, you need to make sure that you have an svn client on your computer. Then you can get your copy of MeteoIO.
You can use either a command line client or a graphical client. You can find graphical clients for various platforms:
- for Windows, for example QSvn or TortoiseSVN.
- for Mac, for example Versions or svnX.
- for Linux, for example Kdesvn.
Of course, you can also use a command line client ("subversion" package in Linux distributions or coming as part of the Xcode compiler on osX)
Checking out the latest version
Point your SVN client to the source repository https://models.slf.ch/svn/meteoio (this is the address to give your svn client). It is recommended to use https as the transport protocol (this goes better through firewalls). If you are allowed to commit to the SVN server or if you are accessing a private project, please use this web site's user name and your extra password (as given in your user account configuration page, see this help).
For example for a command line client, this is done by typing
svn co https://models.slf.ch/svn/meteoio/trunk meteoio in a terminal where you want to perform your checkout.
Getting the svn checkout for a specific stable release
This is usually not of any interest, but if you want to do this for any reason, please point to TAGS instead of HEAD and select which release you want (the commits messages give the matching stable release).
Getting the latest updates for your version
By getting your version of MeteoIO through an SVN checkout, you can later very simply bring your local copy up to date with the version on the server: in a terminal, go to your MeteoIO directory (trunk) and then enter the command
svn update. Another alternative is to perform the update through your graphical svn client.