source: releases/0.9.10/INSTALL

Last change on this file was 448, checked in by tkr, 7 years ago

Changing dependencies

File size: 3.6 KB
Line 
1These are quick install instructions mainly intended for UNIX-like systems
2(including Linux, OS X, AIX, Cygwin and MSys). Additional details for building
3this and other COIN projects are available at
4
5  https://projects.coin-or.org/BuildTools
6
7You can find instructions for building with Microsoft Visual Studio under
8Windows at
9
10  https://projects.coin-or.org/MSVisualStudio
11
12**********************************************************************
13***                         DOWNLOAD                               ***
14**********************************************************************
15
16Pre-built binaries are available for some versions of Dip on some platforms.
17They can be downloaded at
18
19  http://www.coin-or.org/download/binary/Dip
20
21If you would like to build from source, you can obtain the source code for the
22Dip package in two ways:
23
241. Obtain the source directly from the COIN-OR subversion repository
25   (recommended). For this you needs the program 'svn' installed on your
26   machine, and output of "svn --version" must contain "handles 'https'
27   scheme". On Windows, it is recommended to get the source with the SVN
28   client TortoiseSVN (http://tortoisesvn.net).
29
30   Assuming that you want to download a release version 0.82.0, as an example,
31   you would execute the command
32
33   svn co https://projects.coin-or.org/svn/Cbc/releases/0.82.0 Cbc-0.82.0
34
35   You can similarly get source for the latest stable version or the trunk
36   (development) version.
37
382. Download the tarball from http://www.coin-or.org/download/source/Cbc
39   and extract it. For example, for the release 0.82.0 you type
40
41   gunzip Dip-0.82.0.tgz
42   tar xvf Dip-0.82.0.tar
43
44   More detailed download instructions can be found at
45
46**********************************************************************
47***                        CONFIGURATION                           ***
48**********************************************************************
49
50Go into the directory that you just downloaded or extracted (e.g., Cbc-2.7.0).
51Then create a build directory and configure the package by typing
52
53   mkdir build
54   cd build
55   ../configure
56
57Note that you might have to specify additional options, in case you
58don't want to use the default choices that configure makes (e.g.,
59compilers).  Please visit
60
61   https://projects.coin-or.org/BuildTools/
62
63and the Cbc Trac page
64
65   https://projects.coin-or.org/Dip
66
67for more information.
68
69If everything went fine, you will see at the end of the output
70
71   "Main configuration of Dip successful"
72
73**********************************************************************
74***                COMPILATION AND INSTALLATION                    ***
75**********************************************************************
76
77In the directory where you ran the configure script:
78
791. Compile the code by typing
80
81   make
82
832. To test if the code works, you can type
84
85   make test
86
873. To install the code, you type
88
89   make install
90
91   After this, you will find the executables, libraries and header
92   files in the "bin", "lib" and "include" subdirectory, respectively.
93
94More information on the compilation and installation can be found at
95
96   https://projects.coin-or.org/BuildTools/
97
98**********************************************************************
99***                  DIP EXAMPLES                                  ***
100**********************************************************************
101
102To get an idea of how DIP is used, take a look at the examples in the
103directory Dip/examples/. To build a given application, change to the
104appropriate subdirectory and type "make". For example, to build SmallIP, do
105
106  cd Dip/examples/SmallIP
107  make
108
109For more information, please see
110
111  http://projects.coin-or.org/Dip
Note: See TracBrowser for help on using the repository browser.