source: branches/heur/INSTALL @ 1001

Last change on this file since 1001 was 852, checked in by ladanyi, 12 years ago

updated/added README, INSTALL, LICENSE, and AUTHORS files

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