-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
41 lines (25 loc) · 878 Bytes
/
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
Installing LibAmpl
Requirements: - The bash shell,
- A C compiler,
- Autoconf+Automake+Libtool
I. Installation:
# sh autogen.sh
# ./configure
# make
# make install
II. Testing:
A simple way to test your installation of libampl is to try out the `miniampl`
driver. You can download it using:
git clone git://github.com/dpo/miniampl.git
III. Contributions, bug fixes, suggestions
Github !
IV. Troubleshooting
If compiling on Leopard, you may receive the error message
undefined symbol: _strtod_ASL
The solution is to add the flag
-mmacosx-version-min=10.4
to the compiler options.
Depending on your local architecture, you may also need to add one or more
`-arch` flags to `CXX_FLAGS`. For instance, `-arch x86_64` to build a pure 64
bit library, or `-arch i386 -arch x86_64` to build both the 32 and 64 bit
versions.