7
7
8
8
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
9
9
10
- < title > Have Pip build from source — Raylib Python documentation</ title >
10
+ < title > Building from source — Raylib Python documentation</ title >
11
11
12
12
13
13
41
41
42
42
43
43
< link rel ="index " title ="Index " href ="genindex.html " />
44
- < link rel ="search " title ="Search " href ="search.html " />
44
+ < link rel ="search " title ="Search " href ="search.html " />
45
+ < link rel ="prev " title ="raylib.dynamic " href ="dynamic.html " />
45
46
</ head >
46
47
47
48
< body class ="wy-body-for-nav ">
87
88
88
89
89
90
< p class ="caption " role ="heading "> < span class ="caption-text "> Contents:</ span > </ p >
90
- < ul >
91
+ < ul class =" current " >
91
92
< li class ="toctree-l1 "> < a class ="reference internal " href ="README.html "> Python Bindings for Raylib 3.7</ a > </ li >
92
93
< li class ="toctree-l1 "> < a class ="reference internal " href ="README.html#install "> Install</ a > </ li >
93
94
< li class ="toctree-l1 "> < a class ="reference internal " href ="README.html#how-to-use "> How to use</ a > </ li >
99
100
< li class ="toctree-l1 "> < a class ="reference internal " href ="pyray.html "> raylib.pyray</ a > </ li >
100
101
< li class ="toctree-l1 "> < a class ="reference internal " href ="raylib.html "> raylib.static</ a > </ li >
101
102
< li class ="toctree-l1 "> < a class ="reference internal " href ="dynamic.html "> raylib.dynamic</ a > </ li >
103
+ < li class ="toctree-l1 current "> < a class ="current reference internal " href ="# "> Building from source</ a > < ul >
104
+ < li class ="toctree-l2 "> < a class ="reference internal " href ="#have-pip-build-from-source "> Have Pip build from source</ a > </ li >
105
+ < li class ="toctree-l2 "> < a class ="reference internal " href ="#build-from-source-manually "> Build from source manually</ a > < ul >
106
+ < li class ="toctree-l3 "> < a class ="reference internal " href ="#windows-manual-build "> Windows manual build</ a > </ li >
107
+ < li class ="toctree-l3 "> < a class ="reference internal " href ="#linux-etc-manual-build "> Linux etc manual build</ a > </ li >
108
+ < li class ="toctree-l3 "> < a class ="reference internal " href ="#raspberry-pi "> Raspberry Pi</ a > </ li >
109
+ </ ul >
110
+ </ li >
111
+ </ ul >
112
+ </ li >
102
113
</ ul >
103
114
104
115
147
158
148
159
< li > < a href ="index.html " class ="icon icon-home "> </ a > »</ li >
149
160
150
- < li > Have Pip build from source</ li >
161
+ < li > Building from source</ li >
151
162
152
163
153
164
< li class ="wy-breadcrumbs-aside ">
166
177
< div role ="main " class ="document " itemscope ="itemscope " itemtype ="http://schema.org/Article ">
167
178
< div itemprop ="articleBody ">
168
179
169
- < div class ="section " id ="have-pip-build-from-source ">
170
- < h1 > Have Pip build from source< a class ="headerlink " href ="#have-pip-build-from-source " title ="Permalink to this headline "> ¶</ a > </ h1 >
180
+ < div class ="tex2jax_ignore mathjax_ignore section " id ="building-from-source ">
181
+ < h1 > Building from source< a class ="headerlink " href ="#building-from-source " title ="Permalink to this headline "> ¶</ a > </ h1 >
182
+ < div class ="section " id ="have-pip-build-from-source ">
183
+ < h2 > Have Pip build from source< a class ="headerlink " href ="#have-pip-build-from-source " title ="Permalink to this headline "> ¶</ a > </ h2 >
171
184
< p > Useful if the binaries don’t work on your system.</ p >
172
185
< p > Make sure Raylib is installed and then:</ p >
173
186
< div class ="highlight-none notranslate "> < div class ="highlight "> < pre > < span > </ span > pip3 install --no-binary raylib --upgrade --force-reinstall raylib
174
187
</ pre > </ div >
175
188
</ div >
176
189
</ div >
177
190
< div class ="section " id ="build-from-source-manually ">
178
- < h1 > Build from source manually< a class ="headerlink " href ="#build-from-source-manually " title ="Permalink to this headline "> ¶</ a > </ h1 >
191
+ < h2 > Build from source manually< a class ="headerlink " href ="#build-from-source-manually " title ="Permalink to this headline "> ¶</ a > </ h2 >
179
192
< p > Useful if the Pip build doesn’t work, or you want to contribute to the project, or you want to skip building the
180
193
static lib and just < em > use the dynamic binding with your own dll</ em > .</ p >
181
194
< p > If you do build on a new platform please
182
195
submit your binaries as a PR.</ p >
183
196
< div class ="section " id ="windows-manual-build ">
184
- < h2 > Windows manual build< a class ="headerlink " href ="#windows-manual-build " title ="Permalink to this headline "> ¶</ a > </ h2 >
197
+ < h3 > Windows manual build< a class ="headerlink " href ="#windows-manual-build " title ="Permalink to this headline "> ¶</ a > </ h3 >
185
198
< p > Clone this repo including submodules so you get correct version of Raylib.</ p >
186
199
< div class ="highlight-none notranslate "> < div class ="highlight "> < pre > < span > </ span > git clone --recurse-submodules https://github.com/electronstudio/raylib-python-cffi
187
200
</ pre > </ div >
@@ -218,7 +231,7 @@ <h2>Windows manual build<a class="headerlink" href="#windows-manual-build" title
218
231
< p > (Note: your wheel’s filename will probably be different than the one here.)</ p >
219
232
</ div >
220
233
< div class ="section " id ="linux-etc-manual-build ">
221
- < h2 > Linux etc manual build< a class ="headerlink " href ="#linux-etc-manual-build " title ="Permalink to this headline "> ¶</ a > </ h2 >
234
+ < h3 > Linux etc manual build< a class ="headerlink " href ="#linux-etc-manual-build " title ="Permalink to this headline "> ¶</ a > </ h3 >
222
235
< p > These instructions have been tested on Ubuntu 20.10 and 16.04. Mac should be very similar.</ p >
223
236
< p > Clone this repo including submodules so you get correct version of Raylib.</ p >
224
237
< div class ="highlight-none notranslate "> < div class ="highlight "> < pre > < span > </ span > git clone --recurse-submodules https://github.com/electronstudio/raylib-python-cffi
@@ -276,7 +289,7 @@ <h2>Linux etc manual build<a class="headerlink" href="#linux-etc-manual-build" t
276
289
< p > (TODO move the dynamic libs into a separate package rather than include them with every one.)</ p >
277
290
</ div >
278
291
< div class ="section " id ="raspberry-pi ">
279
- < h2 > Raspberry Pi< a class ="headerlink " href ="#raspberry-pi " title ="Permalink to this headline "> ¶</ a > </ h2 >
292
+ < h3 > Raspberry Pi< a class ="headerlink " href ="#raspberry-pi " title ="Permalink to this headline "> ¶</ a > </ h3 >
280
293
< p > The integrated GPU hardware in a Raspberry Pi (“VideoCore”) is rather
281
294
idiosyncratic, resulting in a complex set of software options. Probably the
282
295
most interesting two options for Raylib applications are:</ p >
@@ -298,13 +311,17 @@ <h2>Raspberry Pi<a class="headerlink" href="#raspberry-pi" title="Permalink to t
298
311
</ ul >
299
312
< p > (See < a class ="reference external " href ="https://github.com/electronstudio/raylib-python-cffi/issues/31#issuecomment-862078330 "> here</ a > for a Raspberry Pi wheel)</ p >
300
313
</ div >
314
+ </ div >
301
315
</ div >
302
316
303
317
304
318
</ div >
305
319
306
320
</ div >
307
321
< footer >
322
+ < div class ="rst-footer-buttons " role ="navigation " aria-label ="footer navigation ">
323
+ < a href ="dynamic.html " class ="btn btn-neutral float-left " title ="raylib.dynamic " accesskey ="p " rel ="prev "> < span class ="fa fa-arrow-circle-left " aria-hidden ="true "> </ span > Previous</ a >
324
+ </ div >
308
325
309
326
< hr />
310
327
0 commit comments