-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathINSTALL.html
117 lines (75 loc) · 3.34 KB
/
INSTALL.html
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link type="text/css" rel="stylesheet" href="style0.css"/>
</head>
<body>
<h1 id="versorcompilationandinstallationinstructions">VERSOR COMPILATION and INSTALLATION Instructions</h1>
<hr />
<p><strong>NOTE:</strong>
<em>VERSOR</em> is in active development! <code>git pull</code> frequently for updates! And GMAIL me (wolftype)
or the list (versor@mat.ucsb.edu) with questions or problems. </p>
<p>You can sign up for the list <a href="#http://lists.create.ucsb.edu/mailman/listinfo/versor">here</a>.</p>
<p>There is also a local list for my GA seminar <a href="#http://lists.create.ucsb.edu/mailman/listinfo/spinor">here</a></p>
<h2 id="build">BUILD</h2>
<h3 id="version2.0">Version 2.0</h3>
<pre><code>git clone git://github.com/wolftype/vsr2.0.git
cd vsr2.0
git submodule init
git submodule update
</code></pre>
<p>This grabs Versor (vsr), a Graphics Library (gfx) submodule and GLV (a user-interface submodule). </p>
<h3 id="version1.0">Version 1.0</h3>
<pre><code>git clone git://github.com/wolftype/vsr.git
cd vsr
git submodule init
git submodule update
make vsr
make examples/basics/xMeet.cpp
</code></pre>
<p>Please email me (wolftype at gmail) or the <a href="#">list</a> if you have any issues!</p>
<hr />
<p>If the above fails, make sure you have OpenGL, Glu, Glut, and GLEW installed. If not, see Getting GLU / GLUT / GLEW section below.
Or, email the <a href="#http://lists.create.ucsb.edu/mailman/listinfo/versor">list</a>. </p>
<p>To use the built-in interface, gui, mouse and keyboard, etc, requires an input control listener set-up.
Bindings exist to two cross-platform windowing systems, <a href="mat.ucsb.edu/glv/">GLV</a> and <a href="">AlloCore</a>, both made by my colleagues in the MAT program.
It should be easy to make a binding to Open Frameworks ofxgui, for instance (also an MAT-Alum project) </p>
<p>The easiest way to get started to is to use GLV. GLV is great for quick and easy OpenGL-based interfaces. </p>
<p><code>libvsr.a</code> can also built in isolation with no dependencies except the standard library. </p>
<pre><code>make vsr GFX=0
</code></pre>
<p>Most likely, however, you will want to be able to draw the elements to screen.</p>
<p>For a list of make options:</p>
<pre><code>make help
</code></pre>
<p>To start over:</p>
<pre><code>make clean
</code></pre>
<p>Feel free email me at wolftype@gmail.com with questions</p>
<h2 id="gettinggluglutglewunixosx:">Getting GLU / GLUT / GLEW UNIX / OSX:</h2>
<h3 id="linuxubuntu">Linux (Ubuntu)</h3>
<p>If you do not have glut and glew installed:</p>
<p>A) install glut:*
sudo apt-get install freeglut3 freeglut3-dev</p>
<p>*note on newer versions of ubuntu (11.10 and greater) you may also have to do:
sudo apt-get install binutils-gold</p>
<p>B) install glew:</p>
<p>On ubuntu, first do:</p>
<pre><code>sudo apt-get install libxmu-dev libxi-dev
</code></pre>
<p>Download tar or zip from http://glew.sourceforge.net/.<br/>
cd into glew folder:</p>
<pre><code>cd glew
sudo make install
</code></pre>
<p>or clone from current repos:</p>
<pre><code>git clone git://glew.git.sourceforge.net/gitroot/glew/glew
cd glew
make extensions
sudo make install
</code></pre>
<h2 id="otheroptions">Other Options</h2>
<p>Email me with requests for ports, or to beg me to provide Windows support etc. </p>
</body>
</html>