-
Notifications
You must be signed in to change notification settings - Fork 13
/
INSTALL
100 lines (63 loc) · 3.17 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
These instructions are for UNIX-like systems (including Linux, Cygwin
and MSys) only.
**********************************************************************
*** DOWNLOAD ***
**********************************************************************
You can obtain the source code for the Bcp package in two ways:
1. Obtain the source directly from the COIN-OR subversion repository
(recommended). For this you needs the program 'svn' installed on
your machine, and output of "svn --version" must contain
"handles 'https' scheme".
Assuming that you want to download the 'trunk' (where the
development happens) version of the code into a subdirectory
named "Bcp", you type
svn co https://projects.coin-or.org/svn/Bcp/trunk Bcp
To download stable/1.2 you would type:
svn co https://projects.coin-or.org/svn/Bcp/stable/1.2 Bcp
etc.
2. Download the tarball from http://www.coin-or.org/download/source/Bcp
and extract it. For example, for the release 1.2.1 you type
gunzip Bcp-1.2.1.tgz
tar xvf Bcp-1.2.1.tar
More detailed download instructions can be found at
https://projects.coin-or.org/BuildTools/wiki/user-download
**********************************************************************
*** CONFIGURATION ***
**********************************************************************
Go into the directory that you just downloaded or extracted (e.g.,
Bcp or Bcp-1.2.1). Then create a build directory and
configure the package by typing
mkdir build
cd build
../configure
Note that you might have to specify additional options, in case you
don't want to use the default choices that configure makes (e.g.,
compilers). Please visit
https://projects.coin-or.org/BuildTools/wiki/user-configure
and the Bcp Trac page
https://projects.coin-or.org/Bcp
for more information.
If everything went fine, you will see at the end of the output
"Main configuration of Bcp successful"
**********************************************************************
*** COMPILATION AND INSTALLATION ***
**********************************************************************
In the directory where you ran the configure script:
1. Compile the code by typing
make
2. To test if the code works, you can type
make test
3. To install the code, you type
make install
After this, you will find the executables, libraries and header
files in the "bin", "lib" and "include" subdirectory, respectively.
More information on the compilation and installation can be found at
https://projects.coin-or.org/BuildTools/wiki/user-compile
**********************************************************************
*** USING THE LIBRARIES ***
**********************************************************************
Now you can link your own code with the installed libraries. There are
a few very easy to understand examples in Bcp/examples/ and a few more
complex applications in the Applications subdirectory.
See also the information at
https://projects.coin-or.org/BuildTools/wiki/user-examples