source: trunk/INSTALL @ 112

Last change on this file since 112 was 112, checked in by bjarni, 11 years ago

Updated text for stable 1.1

File size: 4.0 KB
Line 
1**********************************************************************
2***                         DOWNLOAD                               ***
3**********************************************************************
4
5You can obtain the source code for the CoinMP package in two ways:
6
71. Obtain the source directly from the COIN-OR subversion repository
8   (recommended).  For this you needs the program 'svn' installed on
9   your machine, and output of "svn --version" must contain
10   "handles 'https' scheme".
11
12   Assuming that you want to download the code into a subdirectory
13   "COIN-CoinMP", you type
14
15   svn co https://projects.coin-or.org/svn/CoinMP/stable/1.1 Coin-CoinMP
16
172. Download the tarball from http://www.coin-or.org/download/source/CoinMP
18   extract it, for example, with
19
20   gunzip CoinMP-1.1.0.tgz
21   tar xvf CoinMP-1.1.0.tar
22
23   (Here "-1.1.0" is of course replaced by the actual release string
24    in the tarball you downloaded.)
25
26   More detailed download instructions can be found at
27
28   https://projects.coin-or.org/BuildTools/wiki/user-download
29
30
31**********************************************************************
32**********************************************************************
33***   MS Visual Studio Build                                       ***
34**********************************************************************
35**********************************************************************
36
37To build the 'CoinMP.dll', start MS Visual Studio 8 (2005) or 9 (2008),
38open the solution file 'CoinMP.sln' in the CoinMP\MSVisualStudio\v8
39folder and select 'Build Solution' from the 'Build' menu.
40
41
42**********************************************************************
43**********************************************************************
44***   Unix Build                                                   ***
45**********************************************************************
46**********************************************************************
47These instructions are for UNIX-like systems (including Linux, Cygwin
48and MSys).
49
50**********************************************************************
51***               Unix CONFIGURATION                               ***
52**********************************************************************
53
54Go into the directory that you just downloaded or extracted (e.g.,
55Coin-CoinMP or CoinMP_2006Jun07).  Then you type
56
57   ./configure
58
59Note that you might have to specify additional options, in case you
60don't want to use the default choices that configure makes (e.g.,
61compilers).  Please visit
62
63   https://projects.coin-or.org/BuildTools/wiki/user-configure
64
65and the CoinMP Trac page
66
67   https://projects.coin-or.org/CoinMP
68
69for more information.
70
71If everything went fine, you will see at the end of the output
72
73   "Main configuration of CoinMP successful"
74
75**********************************************************************
76***           Unix     COMPILATION AND INSTALLATION                ***
77**********************************************************************
78
79In the directory where you ran the configure script:
80
811. Compile the code by typing
82
83   make
84
852. To test if the code works, you can type
86
87   make test
88
893. To install the code, you type
90
91   make install
92
93   After this, you will find the executables, libraries and header
94   files in the "bin", "lib" and "include" subdirectory, respectively.
95
96More information on the compilation and installation can be found at
97
98   https://projects.coin-or.org/BuildTools/wiki/user-compile
99
100**********************************************************************
101***                UNIX: USING THE LIBRARIES                       ***
102**********************************************************************
103
104Now you can link your own code with the installed libraries.  You can
105find examples in the
106
107   CoinMP/examples/
108
109subdirectory, see also the information at
110
111   https://projects.coin-or.org/BuildTools/wiki/user-examples
112
113
114
115>>>>>>> .r50
Note: See TracBrowser for help on using the repository browser.