Changes between Version 43 and Version 44 of WikiStart
- Timestamp:
- Oct 31, 2006 2:32:02 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v43 v44 3 3 The information behind these webpages tells you how to obtain most of the packages available on COIN-OR. 4 4 5 If you want to obtain precompiled binaries (executables and libraries), please go to the [https://projects.coin-or.org/CoinBinary COIN binaries page].5 If you want to obtain '''precompiled binaries''' (executables and libraries), please go to the [https://projects.coin-or.org/CoinBinary COIN binaries page] (only available for some packages). 6 6 7 Below you find straight-forward instructions for downloading and compiling the code. More detailed information is available [wiki:pm-detailed]. 7 Below you find straight-forward instructions for '''downloading and compiling the source code''' if you are using a UNIX-like system (inclkuding Linux, Cygwin, MSys). More detailed information is available [wiki:pm-detailed here]. 8 9 The [http://projects.coin-or.org/MSVisualStudio MSVisualStudio] project describes how several COIN-OR projects can be built with Microsoft Visual Studio. 10 11 ----------------------------------- 8 12 9 13 == Minimal Download and Installation Instructions == … … 11 15 '''NOTE: Please check the [wiki:current-issues current issues page] before trying to configure and compile the code.''' 12 16 13 The '''very short version of the download and installation instructions''' for UNIX-like system (including Linux and Cygwin) is this: 14 15 1. Get the code for the desired package {{{Pkg}}} (where {{{Pkg}}} needs to be replaced by the name of the COIN package you want to install) and for a releases {{{x.y.z}}} (again, {{{x.y.z}}} is to be replaced by the version number string, such as {{{2.4.1}}}): 16 * ''As tarball'': Download the tarball {{{Pgk-x.y.z.tgz}}} from the [http://www.coin-or.org/Tarballs/ COIN Tarballs site] and extract it, for example with 17 The '''very short version of the download and installation instructions''' for UNIX-like system (including Linux and Cygwin) are as follows. Assume that you want to compile the package {{{Pkg}}} (where {{{Pkg}}} needs to be replaced below by the name of the COIN package you want to install). 18 19 1. Find out what version of the code you would like to obtain. 20 * '''If you only want to download and compile the code only once''', we recommend that you get the source code archive from the [http://www.coin-or.org/download/source COIN source site]. For each package, you find a subdirectory there that with several archives. Usually, you would choose the one with the latest release number, such as {{{Pgk.x.y.z.tgz}}}. 21 * '''If you want to stay up to date with bug-fixes and improvements''', we recommand that you use [wiki:user-download#ObtainingtheCodeUsingSubversion subversion] to get the latest '''stable branch'''. In this way, you can get updates of the source code very easily at a later point, without having to having to redo all the installation steps. You will need to know the number of the stable branch you want to obtain (see the projects' home page). Below, we denote this number with {{{x.y}}}. 22 1. Get the code for the desired package {{{Pkg}}}: 23 * ''As archive'': Download the archive {{{Pgk-x.y.z.tgz}}} from the [http://www.coin-or.org/download/source COIN source archive site] and extract it, for example with 17 24 {{{ 18 25 gunzip Pgk-x.y.z.tgz … … 21 28 * ''Via subversion'': Go into the directory where you want to have a subdirectory with the downloaded source code and type 22 29 {{{ 23 svn co https://projects.coin-or.org/svn/Pkg/ releases/x.y.z Pkg-x.y.z30 svn co https://projects.coin-or.org/svn/Pkg/stable/x.y Pkg-x.y 24 31 }}} 32 The COIN-OR FAQ page has a brief explanation of [http://www.coin-or.org/faqs.html#WindowsSvnCheckout how to use a Windows subversion client] to download the code. 25 33 1. Go into the downloaded directory, create a subdirectory for the compiled code, and run the configuration script 26 34 {{{ 27 cd Pkg-x.y.z 35 cd Pkg-x.y.z (or cd Pkg-x.y) 28 36 mkdir build 29 37 cd build 30 38 ../configure 31 39 }}} 32 Make sure the last line of output says that the configuration was successful. 40 Make sure the last line of output says that the configuration was successful. The {{{configure}}} script has many customization features. To learn more about them, go to the [wiki:user-configure Preparing the compilation page]. 33 41 1. Compile the code 34 42 {{{ … … 45 53 This will create subdirectories {{{bin}}}, {{{lib}}}, and {{{include}}} in the download directory with the product of the compilation. 46 54 47 The {{{configure}}} script has many customization features. To learn more about them, go to the [wiki:user-configure Preparing the compilation page].48 49 The COIN-OR FAQ page has a brief explanation of [http://www.coin-or.org/faqs.html#WindowsSvnCheckout how to use a Windows subversion client] to download the code.50 The [http://projects.coin-or.org/MSVisualStudio MSVisualStudio] project describes how several COIN-OR projects can be built with Microsoft Visual Studio.51 52 55 If these simple instructions don't work for you, please check for [wiki:pm-detailed more detailed information], and visit the 53 56 [wiki:user-troubleshooting Troubleshooting page].