summaryrefslogtreecommitdiff
path: root/Master/source/asymptote/asymptote.README
blob: cf2b04655ac04a1ce103d2f76ffbf96bff48b8d9 (plain)
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
(This file public domain.)

The basic Asymptote (home page: http://asymptote.sf.net) sources are
included in the TL sources.  We also include a number of Windows dll's
for Asymptote (and nothing else).

Sources for cygwin1.dll:
http://cygwin.com/snapshots/x86/cygwin-src-20150430.tar.xz

Sources for freeglut.dll:
http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0-rc1.tar.gz

Sources for glu32.dll:
ftp://ftp.freedesktop.org/pub/mesa/7.6/MesaLib-7.6.tar.bz2
  patched as detailed here:
http://old.nabble.com/Error-building-MesaLib-7.6-onto-Win32-with-Microsoft-Visual-Studio-2005-and-2008-td25990977.html

Here are explicit instructions from John for compiling freeglut:

#!/bin/sh -x
#Be sure to install header files in /usr/include/w32api/GL/
#and remove /usr/include/GL
#
ln -sf /usr/bin/cyggcc_s-1.dll /usr/lib/libgcc_s.a
wget http://prdownloads.sourceforge.net/freeglut/freeglut-2.6.0.tar.gz
tar -zxf freeglut-2.6.0.tar.gz
cd freeglut-2.6.0
./configure --prefix=/usr --without-x
make -k
cd src
gcc -s -static -shared -o freeglut.dll *.o -Wl,--out-implib=libfreeglut.a -lglu32 -lopengl32 -lgdi32 -lwinmm
cp freeglut.dll /lib
gcc -s -shared -o freeglut.dll *.o -Wl,--out-implib=libfreeglut.a -lglu32 -lopengl32 -lgdi32 -lwinmm
cp libfreeglut.a /lib