Debian Codegraph @

INSTALL

raw
1 **********************************************************************
2 *** DOWNLOAD ***
3 **********************************************************************
4
5 You can obtain the source code for the CoinMP package in two ways:
6
7 1. 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.2 Coin-CoinMP
16
17 2. Download the tarball from http://www.coin-or.org/download/source/CoinMP
18 extract it, for example, with
19
20 gunzip CoinMP-1.2.0.tgz
21 tar xvf CoinMP-1.2.0.tar
22
23 (Here "-1.2.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
37 To build the 'CoinMP.dll', start MS Visual Studio 8 (2005) or 9 (2008),
38 open the solution file 'CoinMP.sln' in the CoinMP\MSVisualStudio\v8
39 folder and select 'Build Solution' from the 'Build' menu.
40
41
42 **********************************************************************
43 **********************************************************************
44 *** Unix Build ***
45 **********************************************************************
46 **********************************************************************
47 These instructions are for UNIX-like systems (including Linux, Cygwin
48 and MSys).
49
50 **********************************************************************
51 *** Unix CONFIGURATION ***
52 **********************************************************************
53
54 Go into the directory that you just downloaded or extracted (e.g.,
55 Coin-CoinMP or CoinMP_2006Jun07). Then you type
56
57 ./configure
58
59 Note that you might have to specify additional options, in case you
60 don't want to use the default choices that configure makes (e.g.,
61 compilers). Please visit
62
63 https://projects.coin-or.org/BuildTools/wiki/user-configure
64
65 and the CoinMP Trac page
66
67 https://projects.coin-or.org/CoinMP
68
69 for more information.
70
71 If 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
79 In the directory where you ran the configure script:
80
81 1. Compile the code by typing
82
83 make
84
85 2. To test if the code works, you can type
86
87 make test
88
89 3. 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
96 More 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
104 Now you can link your own code with the installed libraries. You can
105 find examples in the
106
107 CoinMP/examples/
108
109 subdirectory, see also the information at
110
111 https://projects.coin-or.org/BuildTools/wiki/user-examples
112
113
114
115 >>>>>>> .r50